diff options
author | Olaf Kirch <olaf.kirch@oracle.com> | 2007-05-09 02:32:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 12:30:46 -0700 |
commit | f97380bcadd6bd2e368727de4061aaba4989c426 (patch) | |
tree | 179db9e733545aa1e796a22f670fc86963059492 /Documentation/kernel-doc-nano-HOWTO.txt | |
parent | 2f9941b6c55d70103c1bc3f2c7676acd9f20bf8a (diff) | |
download | linux-f97380bcadd6bd2e368727de4061aaba4989c426.tar.gz linux-f97380bcadd6bd2e368727de4061aaba4989c426.tar.bz2 linux-f97380bcadd6bd2e368727de4061aaba4989c426.zip |
dm crypt: use smaller bvecs in clones
Allocate smaller clones
With the previous dm-crypt fixes, there is no need for the clone bios to have
the same bvec size as the original - we just need to make them big enough for
the remaining number of pages. The only requirement is that we clear the
"out" index in convert_context, so that crypt_convert starts storing data at
the right position within the clone bio.
Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/kernel-doc-nano-HOWTO.txt')
0 files changed, 0 insertions, 0 deletions