]> git.baikalelectronics.ru Git - kernel.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)
commit9cd919c62b8a75a8ce8d2d205e8c511bcd22b9b7
tree024ee1cc37ae90328dac4627daa160972691543b
parent1a313f1a9887709e6936acfaf885c0f5a788c372
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