[stgt] [PATCH] Add support for PREVENT/ALLOWMEDIUMREMOVAL and STARTSTOPUNIT

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Mon Jan 30 23:26:25 CET 2012


On Mon, 30 Jan 2012 23:03:28 +1100
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:

> It hangs a "prevent" field off the itl nexus.
> As long as at least one itl nexus have "prevent" set
> we will not allow startstopunit to eject the media.

The prevention of medium removal for the logical unit shall terminate
after the I_T nexus loss?

PREVENT ALLOW MEDIUM REMOVAL was removed in SPC4 so maybe we had
better just let the current patch to be merged...


> field of 01b or 11b (i.e., medium removal prevented). The prevention
> of medium removal for the logical unit shall terminate after:
> 
> a) One of the following occurs for each I_T nexus that previously had
> medium removal prevented:
>    A) Receipt of a PREVENT ALLOW MEDIUM REMOVAL command with a PREVENT
>    field of 00b or 10b;
>    B) An I_T nexus loss; or

--
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