]> 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)
commit43b9f1046ff06e9c4a0c2aa8e8ff08cbce37866e
treeaa2908329c3e67a6946a16f74f497198870abc5e
parent3e1c3b29d0e2791a1af7e7f519e66b3ec16cabf9
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