commit | cacc7b0556739bd6018252731c0237c071ba51da | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Fri Nov 11 20:05:35 2016 +0800 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Nov 21 09:51:57 2016 -0500 |
tree | 8c5cb13d6cb60a9f79616f3887318b9743202c56 | |
parent | 4f9c74c6043891d415730bcb153c579be35c352f [diff] |
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>