Re: the question about raid0_make_request

2006-06-20 Thread liu yang
I understand what you mean now. Valid layerout is not always the 'right' layerout. Thanks for you help. Regards. YangLiu - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: the question about raid0_make_request

2006-06-19 Thread Neil Brown
On Monday June 19, [EMAIL PROTECTED] wrote: We can imagine that there is a raid0 array whose layerout is drawn in the attachment. Take this for example. There are 3 zones totally, and their zone-nb_dev is 5,4,3 respectively. In the raid0_make_request function, the var block is the offset of

the question about raid0_make_request

2006-06-18 Thread liu yang
When I read the code of raid0_make_request,I meet some questions. 1\ block = bio-bi_sector 1,it's the device offset in kilotytes. so why do we use block substract zone-zone_offset? The zone-zone_offset is the zone offset relative the mddev in sectors. 2\ the codes below: x = block

Re: the question about raid0_make_request

2006-06-18 Thread Neil Brown
On Monday June 19, [EMAIL PROTECTED] wrote: When I read the code of raid0_make_request,I meet some questions. 1\ block = bio-bi_sector 1,it's the device offset in kilotytes. so why do we use block substract zone-zone_offset? The zone-zone_offset is the zone offset relative the mddev in