[dm-devel] 2.6.3-udm3

Joe Thornber thornber at redhat.com
Wed Feb 18 11:59:09 UTC 2004


On Wed, Feb 18, 2004 at 05:50:25PM +0100, Christophe Saout wrote:
> Are you aware that the bvec array (bv_offset and bv_len) can also
> be modified by the device driver if it decides to partially complete
> a bvec?
> 
> If you don't believe me, look at drivers/block/ll_rw_blk.c
> __end_that_request_first, the last if:

damn, well spotted.  Easily fixed by doing a memcpy from the original
bio, expensive though ...

- Joe




More information about the dm-devel mailing list