commit | 306eb6b4ad4f2d51c989b9e3d3a9271c44408431 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Mon Aug 14 15:04:57 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Aug 23 08:54:08 2017 -0600 |
tree | 149473e4af24728a64174e2ed3469ec1241643fc | |
parent | 5bcd0e0c79b513261172d1348f93d1bf00dffbdf [diff] |
nullb: support discard discard makes sense for memory backed disk. And also it's useful to test if upper layer supports dicard correctly. User configures 'discard' attribute to enable/disable dicard support. Based on original patch from Kyungchan Koh Signed-off-by: Kyungchan Koh <kkc6196@fb.com> Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>