[stgt] 0.9.11 released

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Nov 25 03:11:26 CET 2009


On Wed, 25 Nov 2009 13:00:51 +1100
Mark Harvey <markh794 at gmail.com> 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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list