Re: to understand the logic of raid0_make_request

2006-06-16 Thread liu yang
Neil,thanks for you help.Your explanation is helpful really. I went through the code of raid0_make_request again this evening, and I still had 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

Re: to understand the logic of raid0_make_request

2006-06-15 Thread liu yang
2006/6/13, Neil Brown [EMAIL PROTECTED]: On Tuesday June 13, [EMAIL PROTECTED] wrote: hello,everyone. I am studying the code of raid0.But I find that the logic of raid0_make_request is a little difficult to understand. Who can tell me what the function of raid0_make_request will do

Re: to understand the logic of raid0_make_request

2006-06-15 Thread Neil Brown
On Friday June 16, [EMAIL PROTECTED] wrote: Thanks a lot.I went through the code again following your guide.But I still can't understand how the bio-bi_sector and bio-bi_dev are computed.I don't know what the var 'block' stands for. Could you explain them to me ? 'block' is simply

Re: to understand the logic of raid0_make_request

2006-06-13 Thread Bill Davidsen
Neil Brown wrote: On Tuesday June 13, [EMAIL PROTECTED] wrote: hello,everyone. I am studying the code of raid0.But I find that the logic of raid0_make_request is a little difficult to understand. Who can tell me what the function of raid0_make_request will do eventually? One of two

to understand the logic of raid0_make_request

2006-06-12 Thread liu yang
hello,everyone. I am studying the code of raid0.But I find that the logic of raid0_make_request is a little difficult to understand. Who can tell me what the function of raid0_make_request will do eventually? Regards. Thanks!

Re: to understand the logic of raid0_make_request

2006-06-12 Thread Neil Brown
On Tuesday June 13, [EMAIL PROTECTED] wrote: hello,everyone. I am studying the code of raid0.But I find that the logic of raid0_make_request is a little difficult to understand. Who can tell me what the function of raid0_make_request will do eventually? One of two possibilities. Most often