diff options
| author | Olaf Kirch <[email protected]> | 2007-05-09 02:32:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-09 12:30:46 -0700 |
| commit | f97380bcadd6bd2e368727de4061aaba4989c426 (patch) | |
| tree | 179db9e733545aa1e796a22f670fc86963059492 /include | |
| parent | 2f9941b6c55d70103c1bc3f2c7676acd9f20bf8a (diff) | |
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 <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions