[PATCH 0/0] ipr: possible irq lock inversion dependency detected

2013-05-20 Thread wenxiong
When enable lockdep, seeing "possible irq lock inversion dependency detected" error. This patch fixes the issue. Thanks for your help! Wendy -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http:

Re: [PATCH 0/5] scsi: Allow fast io fail without waiting through timeout

2013-05-20 Thread James Smart
Ren, Based on the discussion recently held at LSF 2013, we are reworking the error recovery path to address all the issues you are mentioning. That work contradicts these patches. So for now, these should be held off. -- james s On 5/20/2013 3:14 AM, Ren Mingxin wrote: When there is a s

[PATCH 0/5] scsi: Allow fast io fail without waiting through timeout

2013-05-20 Thread Ren Mingxin
When there is a scsi command timed-out or failed, the scsi eh tries a thorugh recovery, which is necessary for non-redundant systems. However, the thorugh recovery usually takes much time, which is not acceptable for misson critical systems. To improve this latency, if we are working on a redundant

[PATCH 3/5] SAS transport: Add interface to specify fast io level for timed-out cmds

2013-05-20 Thread Ren Mingxin
This patch introduces new interfaces through sysfs for sas hosts and rphys to allow users to avoid the scsi_eh recovery actions on different levels when scsi commands timed out, e.g. /sys/devices/pci***/.../hostN/sas_host/hostN/fast_io_tmo_flags /sys/devices/pci***/.../hostN/port-X:Y/end_device

[PATCH 1/5] scsi: rename return code FAST_IO_FAIL to FAST_IO

2013-05-20 Thread Ren Mingxin
The return code FAST_IO_FAIL was introduced for fast failed io recovery. To use this code for fast timed-out io recovery as well, we'd rename it to FAST_IO. Signed-off-by: Ren Mingxin --- drivers/scsi/scsi_error.c | 18 +- drivers/scsi/scsi_transport_fc.c|4 ++

[PATCH 5/5] mptfusion: Allow fast timed-out io recovery

2013-05-20 Thread Ren Mingxin
This patch implements fast timed-out io recovery in LLDD(mptfusion) by checking the corresponding bit fields specified in the new added interface "fast_io_tmo_flags" and returning "FAST_IO" to avoid the scsi_eh recovery actions on corresponding levels. This is mainly for redundant configurations.

[PATCH 2/5] FC transport: Add interface to specify fast io level for timed-out cmds

2013-05-20 Thread Ren Mingxin
This patch introduces new interfaces through sysfs for fc hosts and rports to allow users to avoid the scsi_eh recovery actions on different levels when scsi commands timed out, e.g. /sys/devices/pci***/.../hostN/fc_host/hostN/fast_io_tmo_flags /sys/devices/pci***/.../hostN/rport-X:Y-Z/fc_remot

[PATCH 4/5] lpfc: Allow fast timed-out io recovery

2013-05-20 Thread Ren Mingxin
This patch implements fast timed-out io recovery in LLDD(lpfc) by checking the corresponding bit fields specified in the new added interface "fast_io_tmo_flags" and returning "FAST_IO" to avoid the scsi_eh recovery actions on corresponding levels. This is mainly for redundant configurations. To no