summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorHans Holmberg <hans.holmberg@cnexlabs.com>2019-04-10 19:56:43 +0200
committerJens Axboe <axboe@kernel.dk>2019-04-10 12:17:01 -0600
commitb2b3a70cd9984fe39ed5aaa9ce596476051ce5de (patch)
tree2b9f5049115efb26211ed7b921eda20e0905852e /block
parenteb3afb75b57c28599af0dfa03a99579d410749e9 (diff)
lightnvm: pblk: fix crash in pblk_end_partial_read due to multipage bvecs
The introduction of multipage bio vectors broke pblk's partial read logic due to it not being prepared for multipage bio vectors. Use bio vector iterators instead of direct bio vector indexing. Fixes: 07173c3ec276 ("block: enable multipage bvecs") Reported-by: Klaus Jensen <klaus.jensen@cnexlabs.com> Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Updated description. Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions