current_nr_sectors is the number of sectors yet to be transferred in the whole request
whereas hard_cur_sectors is number of sectors in the current segment of the current bio yet to be transferred while processing the particular request. --Yogesh On Fri, Mar 13, 2009 at 12:01 PM, nidhi mittal <[email protected]>wrote: > request structure in kernel 2.6.28.7 > > /* no. of sectors left to submit in the current segment */ > unsigned int current_nr_sectors; > > /* no. of sectors left to complete in the current segment */ > unsigned int hard_cur_sectors; > > Are these two fields different in it ...they seem to fulfil the same > purpose > then why two different fields ? > pl reply > > > -- > Thanks & Regards > Nidhi >
