Re: [PATCH 0/3] libfc state machine fixes

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

 



Hannes,

> here are some patches for PRLI issues in libfc we've come across
> recently.  The libfc ones are pretty straightforward, but the scsi
> state machine one probably warrants some discussion.  What happened
> was that in some fabrics the RSCN might get lost or incompletely
> reseived. This will then cause SCSI EH to be triggered for the lost
> rports, setting the devices to offline.  But later on we do get an
> RSCN, which would reinstate the rports, but unfortunately the devices
> will remain in OFFLINE as we cannot transition back to running.  The
> solution I've came up with was to allow transitions from OFFLINE to
> BLOCKED, as during RSCN processing the devices will be set to blocked,
> and so I found it only reasonable to allow this transition.

I queued this up for now since I think it is the lesser of two evils.

However, I do think we'll have to have the ability to distinguish
between offlined-by-user-action, offlined-by-device-error, and
offlined-by-transport-event as Ewan pointed out.

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