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-
https://bugzilla.kernel.org/show_bug.cgi?id=60644
Kurk changed:
What|Removed |Added
CC||k...@shiftmail.org
--- Comment #30 from Kurk ---
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
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
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
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
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
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
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
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
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
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
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
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
>
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
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
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(-)
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
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:
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
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
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-
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
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
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
>
> +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;
> +
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 (%%
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
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
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
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
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
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
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
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
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_
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
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
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
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
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
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
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
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
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
@@
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
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
61 matches
Mail list logo