diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-05 20:21:21 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-08 20:25:38 +0300 |
commit | 0dbed96a3cc9786bc4814dab98a7218753bde934 (patch) | |
tree | 8f6f673be536243457eb8ba5ce4cc271be7a3b2c /include/linux/device-mapper.h | |
parent | 71027e97d796d1e9b210a2f64bf2cc25e225a4c0 (diff) | |
download | linux-0dbed96a3cc9786bc4814dab98a7218753bde934.tar.xz |
drbd: make intelligent use of blkdev_issue_zeroout
drbd always wants its discard wire operations to zero the blocks, so
use blkdev_issue_zeroout with the BLKDEV_ZERO_UNMAP flag instead of
reinventing it poorly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/device-mapper.h')
0 files changed, 0 insertions, 0 deletions