Olaf Kirch f97380bcad 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>
2007-05-09 12:30:46 -07:00
..
2005-09-17 11:49:58 -07:00
2006-01-01 22:21:50 +01:00
2007-05-08 11:15:04 -07:00
2005-04-16 15:20:36 -07:00
2007-05-09 12:30:46 -07:00
2006-10-03 08:04:14 -07:00
2006-10-03 08:04:16 -07:00
2006-12-08 08:29:09 -08:00
2006-12-10 10:18:57 -08:00
2006-12-07 08:39:25 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-17 11:49:58 -07:00
2005-09-17 11:49:58 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00