]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit5d1429fead5beacce6df052c31b28a97a11e250b
tree7943caaa11a09692a59c9285a6d6763e39981caf
parent274243f5457ab60eef8a9493684cb4c4c846425e
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