Artem Kachitchkine wrote:
>> http://opensolaris.org/os/project/sdcard-drivers/blk2scsa-spec/
>>
>
>
>> B2S_CMD_RESERVE
>> B2S_CMD_RELEASE
>>
>> These commands are used to place or release a SCSI-2 reservation. The
>> intended purpose is to prevent a B2S_CMD_FORMAT from being issued against
>> a device that has a reservation in place. These commands should always
>> succeed if the media is present, ready, and not being formatted. The
>> most recent operation determines whether the target is reserved or not.
>>
>
> Potential confusion lurking here. IIRC the intended purpose of SCSI-2
> RESERVE/RELEASE is to avoid contention in multi-initiator
> configurations, e.g. SANs and clustering, where the same device can be
> used by multiple hosts. I think your description will be confusing for
> those been using this SCSI terminology for 20 years. Perhaps some
> additional clarification or different command names should be used.
>
Yes, but it also is true that the particular behavior in SCSI-2
reservations prevents excludes FORMAT. Its this particular need in
SCSI-2, that causes RESERVE and RELEASE to be exposed to blk2scsa
dependent drivers.
These commands are are issued by blk2scsa in response to the
corresponding reserve and release commands in the SCSI-2 protocol.
- -Garrett
> -Artem
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris.org
>