Hi,


I was going through the request descriptor data structure (strcut request)
in the Oreilly book.



I am not able to understand the meaning / usage of following members:



unsigned long nr_sectors : Number of sectors yet to be transferred in the
whole request



unsigned int current_nr_sectors : Number of sectors in the current segment
of the current bio yet to be transferred



unsigned long hard_nr_sectors : Number of sectors yet to be transferred in
the whole request (updated by the generic block layer)



unsigned int hard_cur_sectors : Number of sectors in the current segment of
the current bio yet to be transferred (updated by the generic block layer)



Can anyone please elaborate it further with examples and differentiate in
between these two pairs.


Thanks & Regards,
Adil Mujeeb

Reply via email to