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

mmc 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/mmc/core/queue.c