Variety of small usb disks reporting media absent

2013-07-08 Thread peter grne
The linux OS is used in our product with a variety of small USB drives for storing scratch information. For a range of kernels, we have found that a number of drives from various manufacturers have failed in our field product, though working in our development environment, with identical equipment

Re: [PATCH v3 07/13] scsi_transport_srp: Add transport layer error handling

2013-07-08 Thread David Dillow
On Thu, 2013-07-04 at 10:01 +0200, Bart Van Assche wrote: > On 07/03/13 20:57, David Dillow wrote: > > And I'm getting the strong sense that the answer to my question about > > fast_io_fail_tmo >= 0 when dev_loss_tmo is that we should not allow that > > combination, even if it doesn't break the ker

Re: [PATCH v3 07/13] scsi_transport_srp: Add transport layer error handling

2013-07-08 Thread Bart Van Assche
On 07/08/13 19:26, Vu Pham wrote: > After running cable pull test on two local IB links for several hrs, > I/Os got stuck. > Further commands "multipath -ll" or "fdisk -l" got stuck and never return > Here are the stack dump for srp-x kernel threads. > I'll run with #DEBUG to get more debug info o

Re: [PATCH v3 07/13] scsi_transport_srp: Add transport layer error handling

2013-07-08 Thread Vu Pham
Though, now that I've unpacked it -- I don't think it is OK for dev_loss_tmo to be off, but fast IO to be on? That drops another conditional. The combination of dev_loss_tmo off and reconnect_delay > 0 worked fine in my tests. An I/O failure was detected shortly after the cable to the

[PATCH 0/7] qla4xxx: Updates for scsi "misc" branch

2013-07-08 Thread adheer.chandravanshi
From: Adheer Chandravanshi James, Please apply the following patches to the scsi tree at your earliest convenience. Adheer Chandravanshi (7): qla4xxx: Allow removal of failed session using logout. qla4xxx: Use discovery_parent_idx instead of discovery_parent_type qla4xxx

[PATCH 1/7] qla4xxx: Allow removal of failed session using logout.

2013-07-08 Thread adheer.chandravanshi
From: Adheer Chandravanshi If logout is performed on a failed session entry then that session should be gracefully removed. Signed-off-by: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_def.h |1 + drivers/scsi/qla4xxx/ql4_os.c | 48 +++

[PATCH 3/7] qla4xxx: Set IPv6 traffic class if device type is IPv6.

2013-07-08 Thread adheer.chandravanshi
From: Adheer Chandravanshi Signed-off-by: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 9b25b8c..85762f7 100

[PATCH 4/7] qla4xxx: discovery_parent_idx can be shown without any check.

2013-07-08 Thread adheer.chandravanshi
From: Adheer Chandravanshi Signed-off-by: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 85762f7..a6e4d51 10

[PATCH 5/7] qla4xxx: Only BIOS boot target entries should be at index 0 and 1.

2013-07-08 Thread adheer.chandravanshi
From: Adheer Chandravanshi Flash target index 0 and 1 are reserved for boot target entries created with BIOS utility. Signed-off-by: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a

[PATCH 6/7] qla4xxx: Export more firmware info in sysfs

2013-07-08 Thread adheer.chandravanshi
From: Adheer Chandravanshi Signed-off-by: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_attr.c | 86 ++- drivers/scsi/qla4xxx/ql4_def.h |9 +--- drivers/scsi/qla4xxx/ql4_fw.h |2 +- drivers/scsi/qla4xxx/ql4_mbx

[PATCH 2/7] qla4xxx: Use discovery_parent_idx instead of discovery_parent_type

2013-07-08 Thread adheer.chandravanshi
From: Adheer Chandravanshi While setting the values for DDB, discovery_parent_idx needs to be used instead of discovery_parent_type. Signed-off-by: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletion

[PATCH 7/7] qla4xxx: Update driver version to 5.03.00-k11

2013-07-08 Thread adheer.chandravanshi
From: Adheer Chandravanshi Signed-off-by: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_version.h b/drivers/scsi/qla4xxx/ql4_version.h index c5edd0d.

[PATCH 1/2] ufshcd-pci: release ioremapped region during removing driver

2013-07-08 Thread Akinobu Mita
Before commit 2953f850c3b80bdca004967c83733365d8aa0aa2 ("[SCSI] ufs: use devres functions for ufshcd"), UFSHCI register was ioremapped by each glue-driver (ufshcd-pltfrm and ufshcd-pci) during probing and it was iounmapped by core-driver during removing driver. The commit converted ufshcd-pltfrm t

[PATCH 2/2] ufs: don't stop controller before scsi_remove_host()

2013-07-08 Thread Akinobu Mita
scsi_remove_host() sends SYNCHRONIZE CACHE commands for write cache enabled scsi disk devices. So stopping controller working shouldn't be done before scsi_remove_host(). Signed-off-by: Akinobu Mita Cc: Vinayak Holikatti Cc: Santosh Y Cc: "James E.J. Bottomley" Cc: linux-scsi@vger.kernel.org