commit | cb365b9675fda026caba4cb5df83292cb7c0811a | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Apr 05 19:21:10 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Sat Apr 08 11:25:38 2017 -0600 |
tree | fbb1e83537ed759ae63b5e1dc93f741acb30d552 | |
parent | d928be9f853b9755692d7e9aed402c1809a88e56 [diff] |
block: add a new BLKDEV_ZERO_NOFALLBACK flag This avoids fallbacks to explicit zeroing in (__)blkdev_issue_zeroout if the caller doesn't want them. Also clean up the convoluted check for the return condition that this new flag is added to. 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>