]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
loop: implement REQ_OP_WRITE_ZEROES
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:21:15 +0000 (19:21 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 8 Apr 2017 17:25:38 +0000 (11:25 -0600)
commit19372e2769179ddd154a0d6fbbdb719eb5d0af12
tree024ee1cc37ae90328dac4627daa160972691543b
parent31edeacd77b3b0bfe0d1b38db15cdd687cb89e34
loop: implement REQ_OP_WRITE_ZEROES

It's identical to discard as hole punches will always leave us with
zeroes on reads.

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/loop.c