[Bug 60644] MPT2SAS drops all HDDs when under high I/O

2013-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60644 --- Comment #31 from livea...@live.com --- Hi Kurk . As for the HDDs , here is the list : Hitachi_HDS5C4040ALE630 (4TB) - (4 disks) TOSHIBA_DT01ACA300 (3TB) (2 disks) WDC_WD10EARS-00Y5B1_WD-WCAV5N165986 (1TB) (1 disk) WDC_WD3200AAJS-00L7A0_WD-

[Bug 60644] MPT2SAS drops all HDDs when under high I/O

2013-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60644 Kurk changed: What|Removed |Added CC||k...@shiftmail.org --- Comment #30 from Kurk ---

[PATCH 1/6] SCSI: esas2r: smatch - Use biwise rather than logical AND for checking if any bit set

2013-08-29 Thread Bradley Grove
Signed-off-by: Bradley Grove --- drivers/scsi/esas2r/esas2r_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/esas2r/esas2r_init.c b/drivers/scsi/esas2r/esas2r_init.c index 3a798e7..78b18c1 100644 --- a/drivers/scsi/esas2r/esas2r_init.c +++ b/drivers/scsi/e

[PATCH 4/6] SCSI: esas2r: smatch - Fix overrun due to sprintf appending NULL

2013-08-29 Thread Bradley Grove
Signed-off-by: Bradley Grove --- drivers/scsi/esas2r/esas2r_vda.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/esas2r/esas2r_vda.c b/drivers/scsi/esas2r/esas2r_vda.c index f8ec6d6..fd13928 100644 --- a/drivers/scsi/esas2r/esas2r_vda.c +++ b/drivers/scsi

[PATCH 5/6] SCSI: esas2r: smatch - Remove test for impossible condition (uint8 > 255)

2013-08-29 Thread Bradley Grove
Signed-off-by: Bradley Grove --- drivers/scsi/esas2r/esas2r_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/esas2r/esas2r_ioctl.c b/drivers/scsi/esas2r/esas2r_ioctl.c index f3d0cb8..e5b0902 100644 --- a/drivers/scsi/esas2r/esas2r_ioctl.c +++ b/drivers/sc

[PATCH 0/6] SCSI: esas2r: Static check fixes

2013-08-29 Thread Bradley Grove
This series of patches fix errors detected by smatch and coccinelle. Bradley Grove (6): SCSI: esas2r: smatch - Use biwise rather than logical AND for checking if any bit set SCSI: esas2r: smatch - Fix dereference that occurs prior to check SCSI: esas2r: smatch - Fix dereference that occu

[PATCH 6/6] SCSI: esas2r: coccinelle - Replace memcpy with struct assignment

2013-08-29 Thread Bradley Grove
Signed-off-by: Bradley Grove --- drivers/scsi/esas2r/esas2r_flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/esas2r/esas2r_flash.c b/drivers/scsi/esas2r/esas2r_flash.c index 45e353f..2ec3c23 100644 --- a/drivers/scsi/esas2r/esas2r_flash.c +++ b/driver

[PATCH 2/6] SCSI: esas2r: smatch - Fix dereference that occurs prior to check

2013-08-29 Thread Bradley Grove
Signed-off-by: Bradley Grove --- drivers/scsi/esas2r/esas2r_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/esas2r/esas2r_init.c b/drivers/scsi/esas2r/esas2r_init.c index 78b18c1..9aaad0d 100644 --- a/drivers/scsi/esas2r/esas2r_init.c +++ b/drivers/scsi

[PATCH 3/6] SCSI: esas2r: smatch - Fix dereference that occurs prior to check

2013-08-29 Thread Bradley Grove
Signed-off-by: Bradley Grove --- drivers/scsi/esas2r/esas2r_flash.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/esas2r/esas2r_flash.c b/drivers/scsi/esas2r/esas2r_flash.c index 8582929..45e353f 100644 --- a/drivers/scsi/esas2r/esas2r_flash.c +++ b/driv

[PATCH]scsi disk: disk offline prematurely from medium access timeout

2013-08-29 Thread David Jeffery
There is an error with the medium access timeout feature of the sd driver. The sdkp->medium_access_timed_out value is set to zero in sd_done() in the wrong place. It is set to zero only if a command returns sense data. If an I/O command times out, error handling succeeds, and the I/O command comp

[Bug 60644] MPT2SAS drops all HDDs when under high I/O

2013-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60644 --- Comment #29 from livea...@live.com --- Hi . I created a BTRFS RAID0 using a leafsize of 64k . Copying some files to the RAID results in some strange output in dmesg : [107991.481826] sd 8:0:10:0: [sdm] [107991.482239] Sense Key : 0x2 [curren

[patch] block: fix race between request completion and timeout handling

2013-08-29 Thread Jeff Moyer
Hi, We have several reports (against a distro kernel) of panics in blk_requeue_request that look like this: kernel BUG at block/blk-core.c:1045! invalid opcode: [#1] SMP last sysfs file: /sys/devices/pci:40/:40:03.0/:55:00.0/infiniband_mad/umad0/port CPU 0 Modules linked in: ipm

Re: [GIT PULL] target fixes for v3.11-rc7

2013-08-29 Thread Nicholas A. Bellinger
Hi again Linus, Ping ^2 on this PULL request for v3.11-rc7 -> v3.11 Also just got another confirmation on INQUIRY vendor + model response data fix included below, this time specifically with a MSFT multipath client setup. It's not CC'ed to stable here, but given the amount of people it effects I

Re: [RFC/PATCH 2/2] scsi: ufs: requests completion handling

2013-08-29 Thread James Bottomley
On Thu, 2013-08-29 at 20:37 +0300, Yaniv Gardi wrote: > Hi James, > > See reply inline > > Thanks, > Yaniv > > -Original Message- > From: linux-scsi-ow...@vger.kernel.org > [mailto:linux-scsi-ow...@vger.kernel.org] On Behalf Of James Bottomley > Sent: Thursday, August 29, 2013 12:28 PM >

[PATCH 5/9] fnic: Hitting BUG_ON(io_req->abts_done) in fnic_rport_exch_reset

2013-08-29 Thread Hiral Patel
Hitting BUG_ON(io_req->abts_done) in fnic_rport_exch_reset in case of timing issue and also to some extent locking issue where abts and terminate is happening around same timing. The code changes are intended to update CMD_STATE(sc) and io_req->abts_done together. Signed-off-by: Sesidhar Beddel

[PATCH 1/9] fnic: FC stat param seconds_since_last_reset not getting updated

2013-08-29 Thread Hiral Patel
Code to reset fc_host statistics. echo 1 > /sys/class/fc_host/hostX/statistics/reset_statistics clears fc_host stats, the code also issues command to fnic firmware to clear vnic stats. Signed-off-by: Narsimhulu Musini Signed-off-by: Hiral Patel --- drivers/scsi/fnic/fnic.h |5 ++ driv

[PATCH 4/9] fnic: Remove QUEUE_FULL handling code

2013-08-29 Thread Hiral Patel
Remove fnic driver QUEUE_FULL handling code instead let SCSI mid layer handle queue full and use its algorithm to ramp down/up queue Signed-off-by: Suma Ramars Signed-off-by: Hiral Patel --- drivers/scsi/fnic/fnic_scsi.c | 32 1 file changed, 32 deletions(-)

[PATCH 2/9] fnic: host reset returns nonzero value(errno) on success

2013-08-29 Thread Hiral Patel
Fixed appropriate error codes that returns -1 on failure, and 0 on success Signed-off-by: Narsimhulu Musini Signed-off-by: Hiral Patel --- drivers/scsi/fnic/fnic_scsi.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fn

[PATCH 6/9] fnic: Kernel panic while running sh/nosh with max lun cfg

2013-08-29 Thread Hiral Patel
Kernel panics due to NULL lport while executing the log message because of synchronization issues between libfc and scsi transport fc. Checking for NULL pointers at the beginning of this routine would resolve the issue from kernel panic point of view. Signed-off-by: Sesidhar Baddel Signed-off-by:

[PATCH 9/9] fnic: Incremented driver version

2013-08-29 Thread Hiral Patel
Signed-off-by: Hiral Patel --- drivers/scsi/fnic/fnic.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/fnic/fnic.h b/drivers/scsi/fnic/fnic.h index db7a950..528d43b 100644 --- a/drivers/scsi/fnic/fnic.h +++ b/drivers/scsi/fnic/fnic.h @@ -39,7 +39,7 @@ #defi

[PATCH 7/9] fnic: fnic Driver Tuneables Exposed through CLI

2013-08-29 Thread Hiral Patel
Introduced module params to provide dynamic way of configuring queue depth. Added support to get max io throttle count through UCSM to configure maximum outstanding IOs supported by fnic and push that value to scsi mid-layer. Supported IO throttle values: UCSM IO THROTTLE VALUEFNIC M

[PATCH 3/9] fnic: On system with >1.1TB RAM, VIC fails multipath after boot up

2013-08-29 Thread Hiral Patel
Issue was seen when SCSI buffer address is more than 40 bits in system with more than 1.1TB RAM. When SCSI buffer is passed to VIC, it is failing to map to correct buffer address, as DMA mask is set to 40 bits in driver initialization. Corrected DMA_MASK from 40-bits to 64-bits to avoid masking 41-

Re: [PATCH -next] ufs: fix source address of the read descriptor

2013-08-29 Thread Santosh Y
On Wed, Aug 28, 2013 at 8:30 PM, Akinobu Mita wrote: > When the query request with read descriptor opcode is completed, the > descriptor is copied from response UPIU to the buffer that the caller > has specified. Unfortunately the source address of the descriptor is > broken due to the unnecessar

Re: [PATCH V2 2/3] scsi: ufs: Add regulator enable support

2013-08-29 Thread Santosh Y
On Tue, Aug 27, 2013 at 9:48 AM, Sujit Reddy Thumma wrote: > UFS devices are powered by at most three external power supplies - > - VCC - The flash memory core power supply, 2.7V to 3.6V or 1.70V to 1.95V > - VCCQ - The controller and I/O power supply, 1.1V to 1.3V > - VCCQ2 - Secondary controller

RE: [RFC/PATCH 2/2] scsi: ufs: requests completion handling

2013-08-29 Thread Yaniv Gardi
Hi James, See reply inline Thanks, Yaniv -Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-ow...@vger.kernel.org] On Behalf Of James Bottomley Sent: Thursday, August 29, 2013 12:28 PM To: Raviv Shvili Cc: scsi-m...@vger.kernel.org; linux-arm-...@vger.kernel.org

Re: [PATCH V2 1/3] scsi: ufs: Allow vendor specific initialization

2013-08-29 Thread Santosh Y
> > +static int ufshcd_variant_hba_init(struct ufs_hba *hba) > +{ > + int err = 0; > + > + if (!hba->vops) > + goto out; > + > + if (hba->vops->init) { > + err = hba->vops->init(hba); > + if (err) > + goto out; > +

RE: [RFC/PATCH 1/3] scsi: ufs: query descriptor API

2013-08-29 Thread Yaniv Gardi
Tested-by: Yaniv Gardi QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation = > -Original Message- = > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- = > ow...@vger.kernel.org] On Behalf Of Yaniv Gard

RE: [RFC/PATCH 2/3] scsi: ufs: device query status and size check

2013-08-29 Thread Yaniv Gardi
Tested-by: Yaniv Gardi QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation = > -Original Message- = > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- = > ow...@vger.kernel.org] On Behalf Of Yaniv Gard

RE: [RFC/PATCH 3/3] scsi: ufs: Logical Unit (LU) command queue depth

2013-08-29 Thread Yaniv Gardi
Tested-by: Yaniv Gardi QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation = > -Original Message- = > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- = > ow...@vger.kernel.org] On Behalf Of Yaniv Gard

RE: [RFC/PATCH 3/3] scsi: ufs: Logical Unit (LU) command queue depth

2013-08-29 Thread Yaniv Gardi
Looks good to me. Reviewed-by: Yaniv Gardi QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation = > -Original Message- = > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- = > ow...@vger.kernel.org] On

RE: [RFC/PATCH 1/3] scsi: ufs: query descriptor API

2013-08-29 Thread Yaniv Gardi
Looks good to me. Reviewed-by: Yaniv Gardi QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation = > -Original Message- = > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- = > ow...@vger.kernel.org] On

RE: [RFC/PATCH 2/3] scsi: ufs: device query status and size check

2013-08-29 Thread Yaniv Gardi
Looks good to me. Reviewed-by: Yaniv Gardi QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation = > -Original Message- = > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- = > ow...@vger.kernel.org] On

[RFC/PATCH 3/3] scsi: ufs: Logical Unit (LU) command queue depth

2013-08-29 Thread Raviv Shvili
Some of the UFS devices may support different number of commands that can be queued per LU. At the current implementation, SW configure each of the UFS devices LU's according to the controller capability. In this patch we read the queue depth available per LU and update the LU's SW structure. Sig

[RFC/PATCH 2/3] scsi: ufs: device query status and size check

2013-08-29 Thread Raviv Shvili
Check query response status before copying the response. Add descriptor query response size check, before copying it to buffer. Signed-off-by: Raviv Shvili diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 6da0d41..d0cad34 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drive

[RFC/PATCH 1/3] scsi: ufs: query descriptor API

2013-08-29 Thread Raviv Shvili
Introduces the API for sending queries with descriptors. A descriptor is a block or page of parameters that describe the device. The descriptors are classified into types and can range in size from 2 bytes through 255 bytes. All descriptors have a length value as their first element, and a type ide

[RFC/PATCH 0/3] infrastructure and support for LU command queue depth

2013-08-29 Thread Raviv Shvili
The following patch set implements read and write descriptor API.The device descriptor is aquired by the query command sent to the device. Also, configuring the LU command queue depth, according to the LU unit descriptor. The following patches depends on [PATCH -next] ufs: fix source address of

[RFC/PATCH 3/3] scsi: ufs: Logical Unit (LU) command queue depth

2013-08-29 Thread Raviv Shvili
Some of the UFS devices may support different number of commands that can be queued per LU. At the current implementation, SW configure each of the UFS devices LU's according to the controller capability. In this patch we read the queue depth available per LU and update the LU's SW structure. Sig

[RFC/PATCH 1/3] scsi: ufs: query descriptor API

2013-08-29 Thread Raviv Shvili
Introduces the API for sending queries with descriptors. A descriptor is a block or page of parameters that describe the device. The descriptors are classified into types and can range in size from 2 bytes through 255 bytes. All descriptors have a length value as their first element, and a type ide

[RFC/PATCH 2/3] scsi: ufs: device query status and size check

2013-08-29 Thread Raviv Shvili
Check query response status before copying the response. Add descriptor query response size check, before copying it to buffer. Signed-off-by: Raviv Shvili diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 6da0d41..d0cad34 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drive

Re: [PATCH v1.2 1/1] arcmsr: Support Areca new SATA Raid Adapter ARC1214/1224/1264/1284

2013-08-29 Thread Joe Perches
On Thu, 2013-08-29 at 11:47 +0800, Ching wrote: > From: Ching > > Support Areca new SATA Raid Adapter ARC1214/1224/1264/1284 > Modify maximum outstanding command number. > Notify command complete with auto request sense data. > Fix bug of updating adapter firmware through ioctl(ARCHTTP) interface

Re: [PATCH] [TRIVIAL] Remove braces in drivers/scsi/in2000.h to fix build for clang. No functional change otherwise.

2013-08-29 Thread Jan-Simon Möller
Ping. @Christoph do you take care of removing then ? Or can we merge this patch as-is now. Best, JS On Wednesday 21 August 2013 15:11:33 Jan-Simon Möller wrote: > On Wednesday 21 August 2013 09:26:14 Jan-Simon Möller wrote: > > > > Description: > > > > Clang chokes on the notation "insw (%%

[PATCH 5/9] libsas: Enable new EH timeout handler

2013-08-29 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/scsi/libsas/sas_scsi_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index da3aee1..6eb2f0c 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drive

[PATCH 3/9] scsi: improved eh timeout handler

2013-08-29 Thread Hannes Reinecke
When a command runs into a timeout we need to send an 'ABORT TASK' TMF. This is typically done by the 'eh_abort_handler' LLDD callback. Conceptually, however, this function is a normal SCSI command, so there is no need to enter the error handler. This patch implements a new scsi_abort_command() f

[PATCH 6/9] mptsas: Enable new EH timeout handler

2013-08-29 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/message/fusion/mptsas.c | 3 ++- drivers/message/fusion/mptscsih.c | 7 +++ drivers/message/fusion/mptscsih.h | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c in

[PATCH 2/9] blk-timeout: add BLK_EH_SCHEDULED return code

2013-08-29 Thread Hannes Reinecke
Add a 'BLK_EH_SCHEDULED' return code for blk-timeout to indicate that a delayed error recovery has been initiated. Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi_error.c | 4 include/linux/blkdev.h| 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/scsi/scsi_error.c b/dr

[PATCHv4 0/9] New EH command timeout handler

2013-08-29 Thread Hannes Reinecke
his patchset implements a new SCSI EH command timeout handler which will be sending command aborts inline without actually engaging SCSI EH. SCSI EH will only be invoked if command abort fails. In addition the commands will be returned directly if the command abort succeeded, cutting down recovery

[PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-08-29 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/scsi/virtio_scsi.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index 74b88ef..d34b195 100644 --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.c @@ -630,6 +630,12 @@ st

[PATCH 8/9] mpt3sas: Enable new EH timeout handler

2013-08-29 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index a961fe1..c407d8b 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/driv

[PATCH 7/9] mpt2sas: Enable new EH timeout handler

2013-08-29 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 389d792..066e36c 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_s

[PATCH 9/9] scsi_transport_fc: Enable new EH timeout handler

2013-08-29 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi_transport_fc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c index 4628fd5..012c801 100644 --- a/drivers/scsi/scsi_transport_fc.c +++ b/drivers/scsi/scsi_

[PATCH 1/9] scsi: Fix erratic device offline during EH

2013-08-29 Thread Hannes Reinecke
Commit 18a4d0a22ed6c54b67af7718c305cd010f09ddf8 (Handle disk devices which can not process medium access commands) was introduced to offline any device which cannot process medium access commands. However, commit 3eef6257de48ff84a5d98ca533685df8a3beaeb8 (Reduce error recovery time by reducing use o

Re: [PATCHv2 0/7] Limit overall SCSI EH runtime

2013-08-29 Thread Hannes Reinecke
Hi James, On 08/07/2013 08:43 AM, Ren Mingxin wrote: > Hi, James: > > On 07/11/2013 04:35 AM, Ewan Milne wrote: >> Looks good. We have been testing this extensively. >> >> Acked-by: Ewan D. Milne > > Do you think this patchset can be applied? If so, When? Perhaps you > are waiting for someone's

Re: [SCSI] arcmsr: Support Areca new SATA Raid Adapter ARC1214/1224/1264/1284

2013-08-29 Thread Dan Carpenter
One tool for breaking patches up is "git citool" highlight what you want to add to the patch and then right click and select "stage lines for commit". So for example let's go through the changes to drivers/scsi/arcmsr/arcmsr.h. These should be broken up into multiple patches with the easiest whit

Re: [PATCH 1/1 v1.1] arcmsr: Support Areca new SATA Raid Adapter ARC1214/1224/1264/1284 (Resend renew)

2013-08-29 Thread James Bottomley
On Thu, 2013-08-29 at 12:55 +0800, 黃清隆 wrote: > Update the patch code. > > From: Ching > > Support Areca new SATA Raid Adapter ARC1214/1224/1264/1284. > Modify maximum outstanding command number. > Notify command complete with auto request sense. > Fix bug of updating adapter firmware through ioc

[Bug 60644] MPT2SAS drops all HDDs when under high I/O

2013-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60644 --- Comment #28 from livea...@live.com --- PS . : To summerize what I have in my server : 1 - BTRFS RAID1 (5 disks) : FAILS 2 - BTRFS Single Data Profile (2 disks) : FAILS 3 - BTRFS Single disk FS (No RAID) : FAILS (But recovers without reboot

Re: [RFC/PATCH 2/2] scsi: ufs: requests completion handling

2013-08-29 Thread James Bottomley
On Thu, 2013-08-29 at 11:54 +0300, Raviv Shvili wrote: > The patch solves the request completion report order. At the current > implementation, when multiple requests end at the same interrupt call, > the requests reported as completed according to a bitmap scan from the > lowest tags to the highes

[RESEND/PATCH 1/2] scsi: ufs: fix the setting interrupt aggregation counter

2013-08-29 Thread Raviv Shvili
IACTH(Interrupt aggregation counter threshold) value is allowed up to 0x1F and current setting value is the maximum. This value is related with NUTRS(max:0x20) of HCI's capability. Considering HCI controller doesn't support the maximum, IACTH setting should be adjusted with possible value. For that

[RFC/PATCH 2/2] scsi: ufs: requests completion handling

2013-08-29 Thread Raviv Shvili
The patch solves the request completion report order. At the current implementation, when multiple requests end at the same interrupt call, the requests reported as completed according to a bitmap scan from the lowest tags to the highest, regardless the requests priority. That cause to a priority u

[patch] [SCSI] esas2r: bitwise vs logical AND typo

2013-08-29 Thread Dan Carpenter
The intent was to test if any bits were set but it used a logical AND. Signed-off-by: Dan Carpenter diff --git a/drivers/scsi/esas2r/esas2r_init.c b/drivers/scsi/esas2r/esas2r_init.c index 3a798e7..78b18c1 100644 --- a/drivers/scsi/esas2r/esas2r_init.c +++ b/drivers/scsi/esas2r/esas2r_init.c @@

re: [SCSI] esas2r: ATTO Technology ExpressSAS 6G SAS/SATA RAID Adapter Driver

2013-08-29 Thread Dan Carpenter
Hello Bradley Grove, The patch 17adeb6dabbe: "[SCSI] esas2r: ATTO Technology ExpressSAS 6G SAS/SATA RAID Adapter Driver" from Aug 23, 2013, leads to the following Smatch warning: "drivers/scsi/esas2r/esas2r_vda.c:312 esas2r_complete_vda_ioctl() error: format string overflow. buf_size: 4 l

re: [SCSI] esas2r: ATTO Technology ExpressSAS 6G SAS/SATA RAID Adapter Driver

2013-08-29 Thread Dan Carpenter
Hello Bradley Grove, This is a semi-automatic email about new static checker warnings. The patch 17adeb6dabbe: "[SCSI] esas2r: ATTO Technology ExpressSAS 6G SAS/SATA RAID Adapter Driver" from Aug 23, 2013, leads to the following Smatch complaint: drivers/scsi/esas2r/esas2r_init.c:671 esas2r_cl