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

rsxx 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/rsxx/dev.c