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 <nidhimittal19@xxxxxxxxx> 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