On 11/16/09 19:53, Paul Brook wrote:
Capping the amount of memory required for a transfer *is* implemented, in both LSI and virtio-blk. The exception being SCSI passthrough where the kernel API makes it impossible.
Well. Figured while doing more testing: The allowed request size is limited by the kernel, so scsi-generic requests larger than (currently) 128k fail.
Now, how to handle *that*? Is there some way to signal to the guest that the request was to big?
At least for known commands such as READ+WRITE which are likely to be big we could split the request internally into two (or more) if needed.
cheers, Gerd