diff options
author | Ming Lei <tom.leiming@gmail.com> | 2016-11-11 20:05:35 +0800 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-11-21 09:51:57 -0500 |
commit | cacc7b0556739bd6018252731c0237c071ba51da (patch) | |
tree | 8c5cb13d6cb60a9f79616f3887318b9743202c56 /drivers/md/dm-crypt.c | |
parent | 4f9c74c6043891d415730bcb153c579be35c352f (diff) | |
download | linux-rpi-cacc7b0556739bd6018252731c0237c071ba51da.tar.gz linux-rpi-cacc7b0556739bd6018252731c0237c071ba51da.tar.bz2 linux-rpi-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-crypt.c')
0 files changed, 0 insertions, 0 deletions