request structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 
 

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux