public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] scsi: Allow fast io fail without waiting through timeout
@ 2013-05-20  7:14 Ren Mingxin
  2013-05-20  7:14 ` [PATCH 1/5] scsi: rename return code FAST_IO_FAIL to FAST_IO Ren Mingxin
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Ren Mingxin @ 2013-05-20  7:14 UTC (permalink / raw)
  To: James.Bottomley, james.smart, Nagalakshmi.Nandigama,
	Sreekanth.Reddy, michaelc
  Cc: robert.w.love, dgilbert, hare, bprakash, agk, neilb, gregkh,
	axboe, tj, linux-kernel, linux-scsi

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 system, we should
avoid the scsi eh for its long time failing recovery, and quick
failover to another path.

This set of patches is trying to implement above.

NOTE: the userland tools need to eusure the environment
restriction, which will be implemented later.

Thanks,
Ren

Ren Mingxin (5):
  scsi: rename return code FAST_IO_FAIL to FAST_IO
  FC transport: Add interface to specify fast io level for timed-out cmds
  SAS transport: Add interface to specify fast io level for timed-out cmds
  lpfc: Allow fast timed-out io recovery
  mptfusion: Allow fast timed-out io recovery

 drivers/message/fusion/mptscsih.c   |   29 ++++++++-
 drivers/scsi/lpfc/lpfc_scsi.c       |   34 ++++++++++
 drivers/scsi/scsi_error.c           |   18 ++---
 drivers/scsi/scsi_sas_internal.h    |    4 -
 drivers/scsi/scsi_transport_fc.c    |  112 ++++++++++++++++++++++++++++++++++--
 drivers/scsi/scsi_transport_iscsi.c |    6 -
 drivers/scsi/scsi_transport_sas.c   |  103 ++++++++++++++++++++++++++++++++-
 include/scsi/scsi.h                 |    2 
 include/scsi/scsi_transport_fc.h    |   11 +++
 include/scsi/scsi_transport_sas.h   |    8 ++
 10 files changed, 303 insertions(+), 24 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-05-22 18:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-20  7:14 [PATCH 0/5] scsi: Allow fast io fail without waiting through timeout Ren Mingxin
2013-05-20  7:14 ` [PATCH 1/5] scsi: rename return code FAST_IO_FAIL to FAST_IO Ren Mingxin
2013-05-20  7:15 ` [PATCH 2/5] FC transport: Add interface to specify fast io level for timed-out cmds Ren Mingxin
2013-05-20  7:15 ` [PATCH 3/5] SAS " Ren Mingxin
2013-05-20  7:15 ` [PATCH 4/5] lpfc: Allow fast timed-out io recovery Ren Mingxin
2013-05-20  7:15 ` [PATCH 5/5] mptfusion: " Ren Mingxin
2013-05-20 15:53 ` [PATCH 0/5] scsi: Allow fast io fail without waiting through timeout James Smart
2013-05-22  7:12   ` Ren Mingxin
2013-05-22 18:04     ` James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox