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)
commit885fa13f655940c73787b7fcd4c78813943ece8a
treeeb61bdafcea7368813ecde3315ad456a8bf61d34
parent1d62ac13634840e02f9b20df9d8e21204f9ab8b8
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