[lkml]   [2008]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectScatter-gather list constraints
Is there any way to express the constraint that for a particular 
request queue, all members of a scatter-gather list (except the last)
must be a multiple of a particular length?

This question arises in connection with wireless USB mass-storage
devices. The controller driver requires that all DMA segments
in a transfer, other than the last one, have a multiple of 1024 bytes.
But we're sometimes getting s-g lists where an element contains an odd
number of 512-byte sectors, and of course it doesn't work.


Alan Stern

 \ /
  Last update: 2008-06-20 22:47    [W:0.082 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site