summaryrefslogtreecommitdiff
path: root/block/blk.h
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2017-06-29 21:31:15 +0300
committerJens Axboe <axboe@kernel.dk>2017-07-04 01:56:29 +0300
commit63573e359d052e506d305c263576499f06355985 (patch)
treed7aa2bcea3e447cce87ab40611e2055a4d628622 /block/blk.h
parentf9df1cd99ebd82f05e8f5e0aa7e38cb8d3c791d7 (diff)
downloadlinux-63573e359d052e506d305c263576499f06355985.tar.xz
bio-integrity: Restore original iterator on verify stage
Currently ->verify_fn not woks at all because at the moment it is called bio->bi_iter.bi_size == 0, so we do not iterate integrity bvecs at all. In order to perform verification we need to know original data vector, with new bvec rewind API this is trivial. testcase: https://github.com/dmonakhov/xfstests/commit/3c6509eaa83b9c17cd0bc95d73fcdd76e1c54a85 Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> [hch: adopted for new status values] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions