Re: virtio-scsi spec (was Re: [PATCH] Add virtio-scsi to the virtiospec)

From: Paolo Bonzini
Date: Thu Dec 01 2011 - 03:49:25 EST


On 12/01/2011 10:52 AM, Hannes Reinecke wrote:

I would like to have the other request_queue limitations exposed
here, too.
Most notably we're missing the maximum size of an individual segment
and the maximum size of the overall I/O request.

The virtio transport does not put any limit, as far as I know.

Virtio doesn't, but the underlying device/driver might.
And if we don't expose these values we cannot format the request correctly.

These limits should be per target/LUN, so it seems like material for another controlq command when the need arises. For now, I'd really prefer to have the spec match the implementation (plus a few SAM bogosities).

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/