On Wed, 25 Nov 2009 13:00:51 +1100 Mark Harvey <markh794@xxxxxxxxx> wrote: > The actual fix requires quite a re-write of the ELEMENT STATUS. Yeah, I just wanted to see Albert hit this problem with the workaround patch. > It is valid for the 'application client' to allocate a very small > buffer (8 bytes minimum), and the 'device server' should return the > Element status data indicating 'number of elements available' & 'byte > count of report available'. The 'application client' can then re-issue > the READ ELEMENT STATUS with an appropriate sized buffer. It's true for REPORT LUN, INQUIRY, etc. I think that it's always true for commands that return variable length data. I'll fix this if Albert actually hits this. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html