summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-05 19:21:22 +0200
committerJens Axboe <axboe@fb.com>2017-04-08 19:25:38 +0200
commit45c21793a6601b29926d67f7a07fe4077a45072e (patch)
treee4ece67aa634a002b696697d904f5340b13fe970 /block/blk-sysfs.c
parentdrbd: make intelligent use of blkdev_issue_zeroout (diff)
downloadlinux-45c21793a6601b29926d67f7a07fe4077a45072e.tar.xz
linux-45c21793a6601b29926d67f7a07fe4077a45072e.zip
drbd: implement REQ_OP_WRITE_ZEROES
It seems like DRBD assumes its on the wire TRIM request always zeroes data. Use that fact to implement REQ_OP_WRITE_ZEROES. 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 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions