[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] 2.6.3-udm3



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]