[PATCH 5/7] dc395: Move 'last_reset' into internal host structure

2013-06-30 Thread Hannes Reinecke
'last_reset' is only used internally, so move it into the internal host structure. Signed-off-by: Hannes Reinecke --- drivers/scsi/dc395x.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index 694e13c..

[PATCH 6/7] scsi: remove check for 'resetting'

2013-06-30 Thread Hannes Reinecke
Field is now unused, so this is dead code. Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi.c | 28 1 file changed, 28 deletions(-) diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 2c0d0ec..ebe3b0a 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/

[PATCH 7/7] scsi: Add 'eh_deadline' to limit SCSI EH runtime

2013-06-30 Thread Hannes Reinecke
This patchs adds an 'eh_deadline' sysfs attribute to the scsi host which limits the overall runtime of the SCSI EH. The 'eh_deadline' value is stored in the now obsolete field 'resetting'. When a command is failed the start time of the EH is stored in 'last_reset'. If the overall runtime of the SCS

[PATCH 2/7] dpt_i2o: return SCSI_MLQUEUE_HOST_BUSY when in reset

2013-06-30 Thread Hannes Reinecke
When the HBA is in reset we should be returning 'busy' and not rely on the obscure 'last_reset' feature. Signed-off-by: Hannes Reinecke --- drivers/scsi/dpt_i2o.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index 106f

[PATCH 4/7] tmscsim: Move 'last_reset' into host structure

2013-06-30 Thread Hannes Reinecke
The 'last_reset' value is only used internally, so move it into the internal host structure. Signed-off-by: Hannes Reinecke --- drivers/scsi/tmscsim.c | 14 +++--- drivers/scsi/tmscsim.h | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/tmscsim.c b/drive

[PATCH 3/7] advansys: Remove 'last_reset' references

2013-06-30 Thread Hannes Reinecke
Serves no purpose whatsoever. Signed-off-by: Hannes Reinecke --- drivers/scsi/advansys.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index c67e401..d814588 100644 --- a/drivers/scsi/advansys.c +++ b/drivers/scsi/ad

[PATCHv2 0/7] Limit overall SCSI EH runtime

2013-06-30 Thread Hannes Reinecke
This patchset implements a new 'eh_deadline' attribute to the SCSI host. It will limit the overall SCSI EH runtime by a given timeout. If the timeout is reached all intermediate EH steps will be skipped and host reset will be scheduled immediately. For this patch I've re-used the existing 'last_re

[PATCH 1/7] dpt_i2o: Remove DPTI_STATE_IOCTL

2013-06-30 Thread Hannes Reinecke
scsi_block_host/scsi_unlock_host provides the required functionality. Signed-off-by: Hannes Reinecke --- drivers/scsi/dpt_i2o.c | 30 -- drivers/scsi/dpti.h| 1 - 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/drivers/scsi/dpt_i2o.c b/drivers/sc

Linux boot Support for 4KB sector drives ?

2013-06-30 Thread Mahesh Rajashekhara
Hello, Does any of the Linux OS flavors support booting from the 4K sector (advanced format) drive in legacy BIOS mode (MBR partitioning scheme) ? Thanks & Regards, Mahesh -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel

Re: [PATCH v2 12/15] IB/srp: Fail SCSI commands silently

2013-06-30 Thread David Dillow
On Fri, 2013-06-28 at 14:56 +0200, Bart Van Assche wrote: > From: Sebastian Riemer > > Avoid that path failover in a multipath setup causes the SCSI layer > to generate kernel messages about SCSI command failures. This patch > speeds up SRP initiator operation significantly when monitoring > kern

Re: [PATCH v2 06/15] IB/srp: Maintain a single connection per I_T nexus

2013-06-30 Thread David Dillow
On Fri, 2013-06-28 at 14:51 +0200, Bart Van Assche wrote: > An SRP target is required to maintain a single connection between > initiator and target. This means that if the 'add_target' attribute > is used to create a second connection to a target that the first > connection will be logged out and

Re: [PATCH v2 08/15] scsi_transport_srp: Add transport layer error handling

2013-06-30 Thread David Dillow
On Fri, 2013-06-28 at 14:53 +0200, Bart Van Assche wrote: > Add the necessary functions in the SRP transport module to allow > an SRP initiator driver to implement transport layer error handling > similar to the functionality already provided by the FC transport > layer. This includes: > - Support

Re: [PATCH v2 07/15] IB/srp: Keep rport as long as the IB transport layer

2013-06-30 Thread David Dillow
On Fri, 2013-06-28 at 14:52 +0200, Bart Van Assche wrote: > Keep the rport data structure around after srp_remove_host() has > finished until cleanup of the IB transport layer has finished > completely. This is necessary because later patches use the rport > pointer inside the queuecommand callback