diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-05 19:21:10 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-08 19:25:38 +0200 |
commit | cb365b9675fda026caba4cb5df83292cb7c0811a (patch) | |
tree | fbb1e83537ed759ae63b5e1dc93f741acb30d552 /net/kcm | |
parent | block: add a REQ_NOUNMAP flag for REQ_OP_WRITE_ZEROES (diff) | |
download | linux-cb365b9675fda026caba4cb5df83292cb7c0811a.tar.xz linux-cb365b9675fda026caba4cb5df83292cb7c0811a.zip |
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>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions