]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] dm: bio split bvec fix
authorAlasdair G Kergon <agk@redhat.com>
Wed, 22 Mar 2006 08:07:42 +0000 (00:07 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Mar 2006 06:47:31 +0000 (22:47 -0800)
commit0f73ea05d9c95cdf483c3f51f65979a8a752744e
tree965dda92217f609626916fa414085295c945b96b
parente699844c7b6621f8307ac088735becc3d827ca24
[PATCH] dm: bio split bvec fix

The code that handles bios that span table target boundaries by breaking
them up into smaller bios will not split an individual struct bio_vec into
more than two pieces.  Sometimes more than that are required.

This patch adds a loop to break the second piece up into as many pieces as
are necessary.

Cc: "Abhishek Gupta" <abhishekgupt@gmail.com>
Cc: Dan Smith <danms@us.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm.c