Re: [PATCH v2 1/2] scsi: Avoid that .queuecommand() gets called for a quiesced SCSI device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bart,

>> (1) Accept that some error handling steps are skipped if a user sets the
>>     device state to "blocked".
>> (2) Prevent users to change the device state to "blocked".

We can't really remove an exposed interface. So at the very least the
string "blocked" would have to trigger something semantically
close. Quiesce, maybe?

>> (3) Split SDEV_BLOCK into SDEV_BLOCKED_BY_USER and
>> SDEV_BLOCKED_BY_TRANSPORT and only skip sending EH commands to the
>> device in state SDEV_BLOCKED_BY_TRANSPORT.

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux