Skip to contentSkip to conversation

Virtual Block Device: frame_and_sects in blkif_request_t

DISCUSSION Ivan Kelly 1 participant 1 message Mar 28, 2006

lore
Share & tools
lore

Ivan Kelly

author
#0 lore raw

Could someone explain the frame_and_sects field of blkif_request_t(on 2.0.7) for me. From what I make out from the bsd and linux drivers, these entries specify a machine frame and the section of the machine frame to write from/copy to. Where I'm confused is the definition of the size of these sections. Are they each 512 bytes in size? Then there is the sector_number field. Are all requests written within this sector, with the second entry in frames_and_sects being written directly after the first entry which is written at the very start of the segment, etc?
Regards
Ivan Kelly