Re: [PATCH 2/5] - fusion - target reset when drive is being removed

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

 



Interesting that you took this path.  I'm working on something similar
for the FC transport. When we finally decide the device is gone, we
want to kill the outstanding i/o. First thought in my mind was to use
a TMF - but this implies that you can contact the device to do the TMF.
Are you sending this before the device has actually gone away ?  If it's
after, I assume this then is a firmware function that handles things
accordingly at the link layer (e.g. may not send the TMF, will internally
abort the outstanding io's, may note the TR request and do it when the
device is later detected.... and so on).

Can you comment ?

-- james

Moore, Eric wrote:
The issuing of the target reset used in device hot removal case so the
firmware queue is flushed out off outstanding
commands.

Signed-off-by: Eric Moore <Eric.Moore@xxxxxxxx>
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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