On 11/26/09 16:50, Hannes Reinecke wrote:
So indeed, this approach would only work if we signal some sense code back to the host. I, OTOH, don't have any qualms with returning HARDWARE_ERROR, 0x26/0x08(TOO MANY SEGMENT DESCRIPTORS) resp 0x26h/0x0B (INLINE DATA LENGTH EXCEEDED). Feels only fair to notify the guest it has done something wrong.
Also set the info field which linux uses to figure how many sectors it actually got.
Now I really need some more uptodate scsi specs. Unfortunaly t10.org doesn't allow public access to the drafts any more. Seems to be a recent change, and googeling found me tons of references to t10.org but not the documents itself.
Anyone has a source for me? cheers, Gerd