]> git.baikalelectronics.ru Git - kernel.git/commit
block: implement splitting of REQ_OP_WRITE_ZEROES bios
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:21:01 +0000 (19:21 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 8 Apr 2017 17:25:38 +0000 (11:25 -0600)
commit29c2a004228b1671b6701ceb7bd78424575807d9
treeeb61bdafcea7368813ecde3315ad456a8bf61d34
parent048419dbaf0d2152168512fb591b983a4a7f17f0
block: implement splitting of REQ_OP_WRITE_ZEROES bios

Copy and past the REQ_OP_WRITE_SAME code to prepare to implementations
that limit the write zeroes size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-merge.c