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

Re: [dm-devel] Multipath target does not shift block offset?



On Thu, Feb 10, 2005 at 04:02:28PM +1100, Tim Burgess wrote:
> However, dm appears to be trying 
> to map the range 286749488-573498975 of the dm device to the same 
> offsets in the sde/sdm device.
 
> Is this what was intended?
 
No.

In dm-mpath.c try adding to multipath_map() at the top of the function:

  bio->bi_sector = (bio->bi_sector - ti->begin);

Alasdair
-- 
agk redhat com


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