summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-rq.h
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2016-11-11 13:05:35 +0100
committerMike Snitzer <snitzer@redhat.com>2016-11-21 15:51:57 +0100
commitcacc7b0556739bd6018252731c0237c071ba51da (patch)
tree8c5cb13d6cb60a9f79616f3887318b9743202c56 /drivers/md/dm-rq.h
parentdm rq: replace 'bio->bi_vcnt == 1' with !bio_multiple_segments (diff)
downloadlinux-cacc7b0556739bd6018252731c0237c071ba51da.tar.xz
linux-cacc7b0556739bd6018252731c0237c071ba51da.zip
dm io: use bvec iterator helpers to implement .get_page and .next_page
Firstly we have mature bvec/bio iterator helper for iterate each page in one bio, not necessary to reinvent a wheel to do that. Secondly the coming multipage bvecs requires this patch. Also add comments about the direct access to bvec table. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-rq.h')
0 files changed, 0 insertions, 0 deletions