]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: remove the discard_zeroes_data flag
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:21:17 +0000 (19:21 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 8 Apr 2017 17:25:38 +0000 (11:25 -0600)
commit7fbab7063583b3c176033a49df35deea46faccac
treeaa2908329c3e67a6946a16f74f497198870abc5e
parent5b403db5a53eae37e18d9327186ef0319a0d6e99
rbd: remove the discard_zeroes_data flag

rbd only supports discarding on large alignments, so the zeroing code
would always fall back to explicit writings of zeroes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/rbd.c