Skip to contentSkip to conversation

sector size, scsi_malloc(), sglist and queuecommand()?

DISCUSSION Luben Tuikov 1 participant 1 message Jun 14, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

scsi_malloc() allocates with granularity of 512 bytes.

What happens when the device sector size is larger than 512? i.e.
What is the size of a single scatterlist->length before it is passed to queuecommand()?
I suppose a mutiple of the device sector size, which in turn should be a mutiple of 512...

What happens when the request size is _not_ a multiple of 512.

Thanks,

Signature · 1 line
Luben