[PATCH] scsi_dh_alua: handle RTPG sense code correctly during state transitions

2019-10-07 Thread Hannes Reinecke
From: Hannes Reinecke Some arrays are not capable of returning RTPG data during state transitioning, but rather return an 'LUN not accessible, asymmetric access state transition' sense code. In these cases we can set the state to 'transitioning' directly and don't need to evaluate the RTPG data (

Re: [PATCH] scsi_dh_alua: handle RTPG sense code correctly during state transitions

2019-10-07 Thread Laurence Oberman
On Mon, 2019-10-07 at 15:57 +0200, Hannes Reinecke wrote: > From: Hannes Reinecke > > Some arrays are not capable of returning RTPG data during state > transitioning, but rather return an 'LUN not accessible, asymmetric > access state transition' sense code. In these cases we > can set the state

Re: [PATCH] scsi_dh_alua: handle RTPG sense code correctly during state transitions

2019-10-07 Thread Ewan D. Milne
See below. On Mon, 2019-10-07 at 15:57 +0200, Hannes Reinecke wrote: > From: Hannes Reinecke > > Some arrays are not capable of returning RTPG data during state > transitioning, but rather return an 'LUN not accessible, asymmetric > access state transition' sense code. In these cases we > can se

RE:PERSONAL LETTER FROM MRS RASHIA AMIRA

2019-10-07 Thread Mr Barrister Hans Erich
Greetings My name is Barrister Hans Erich. I have a client who is interested to invest in your country, she is a well known politician in her country and deserve a lucrative investment partnership with you outside her country without any delay Please can you manage such investment please Kin

[PATCH 00/10] smartpqi updates

2019-10-07 Thread Don Brace
These patches are based on Linus's tree The changes are: smartpqi-fix-controller-lockup-observed-during-force-reboot - correct issue with reboot -f smartpqi-fix-call-trace-in-device-discovery - correct tear down of sas transport devices. smartpqi-add-inquiry-timeouts - add support for timeout i

[PATCH 07/10] smartpqi: fix problem with unique ID for physical device

2019-10-07 Thread Don Brace
From: Kevin Barnett - obtain the unique IDs from the RLL and RPL instead of VPD page 83h. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |1 drivers/scsi/smartpqi/smartpqi_init.c | 99

[PATCH 04/10] smartpqi: fix LUN reset when fw bkgnd thread is hung

2019-10-07 Thread Don Brace
From: Murthy Bhat - add support for a timeout on LUN resets. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Murthy Bhat Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |5 - drivers/scsi/smartpqi/smartpqi_init.c | 21

[PATCH 01/10] smartpqi: fix controller lockup observed during force reboot

2019-10-07 Thread Don Brace
From: Kevin Barnett Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |9 ++ drivers/scsi/smartpqi/smartpqi_init.c | 126 - 2 files changed, 115 insertions(+),

[PATCH 06/10] smartpqi: correct syntax issue

2019-10-07 Thread Don Brace
From: Kevin Barnett Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/s

[PATCH 05/10] smartpqi: change TMF timeout from 60 to 30 seconds

2019-10-07 Thread Don Brace
From: Kevin Barnett Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/s

[PATCH 02/10] smartpqi: fix call trace in device discovery

2019-10-07 Thread Don Brace
From: Murthy Bhat - use sas_phy_delete rather than sas_phy_free which according to comments, should not be called for PHYs that have been set up successfully. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Murthy Bhat Signed-off-by: Don Brace

[PATCH 03/10] smartpqi: add inquiry timeouts

2019-10-07 Thread Don Brace
From: koshyaji - add timeout field in RAID IU Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: koshyaji Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |6 +- drivers/scsi/smartpqi/smartpqi_init.c | 34

[PATCH 09/10] smartpqi-align-driver-syntax-with-oob

2019-10-07 Thread Don Brace
From: Kevin Barnett - a lot of formatting changes - no functional changes. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 60 - drivers/scsi/smartpqi/smartpqi_init.c

[PATCH 10/10] smartpqi: bump version

2019-10-07 Thread Don Brace
Reviewed-by: Scott Benesh Reviewed-by: Gerry Morong Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c index f179a745946d..

[PATCH 08/10] smartpqi: remove unused manifest constants

2019-10-07 Thread Don Brace
From: Kevin Barnett - removed some unused manifest constants Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |4 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/smartpqi/smartpqi.

Re: [PATCH V2] scsi: core: avoid host-wide host_busy counter for scsi_mq

2019-10-07 Thread Bart Van Assche
On 2019-10-06 00:44, Ming Lei wrote: > +struct scsi_host_mq_in_flight { > + int cnt; > +}; Is this structure useful? Have you considered to use the 'int' datatype directly and to leave out struct scsi_host_mq_in_flight? > /** > * scsi_host_busy - Return the host busy counter > * @shost:

Re: [PATCH V2] scsi: core: avoid host-wide host_busy counter for scsi_mq

2019-10-07 Thread Ming Lei
On Mon, Oct 07, 2019 at 08:20:20PM -0700, Bart Van Assche wrote: > On 2019-10-06 00:44, Ming Lei wrote: > > +struct scsi_host_mq_in_flight { > > + int cnt; > > +}; > > Is this structure useful? Have you considered to use the 'int' datatype > directly and to leave out struct scsi_host_mq_in_fligh

Re: [PATCH] scsi_dh_alua: handle RTPG sense code correctly during state transitions

2019-10-07 Thread Hannes Reinecke
On 10/7/19 10:45 PM, Ewan D. Milne wrote: > See below. > > On Mon, 2019-10-07 at 15:57 +0200, Hannes Reinecke wrote: >> From: Hannes Reinecke >> >> Some arrays are not capable of returning RTPG data during state >> transitioning, but rather return an 'LUN not accessible, asymmetric >> access stat