]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit93c1defedcae701512957c279b850659d1dae78f
treeaa2908329c3e67a6946a16f74f497198870abc5e
parentf09a06a193d942a12c1a33c153388b3962222006
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