block: stop using blkdev_issue_write_same for zeroing
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:21:07 +0000 (19:21 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 8 Apr 2017 17:25:38 +0000 (11:25 -0600)
commitc20cfc27a47307e811346f85959cf3cc07ae42f9
tree839935e669730a0c1d5f4a770e49d9b8c137cfc8
parent615ec946abd9080224b1a5c1f80a575c8dc043f7
block: stop using blkdev_issue_write_same for zeroing

We'll always use the WRITE ZEROES code for zeroing now.

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-lib.c