From: Stephen M. Cameron scame...@beardog.cce.hp.com
Don't loop through all the devices even after
finding the one we're looking for
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Robert Elliott elli...@hp.com
---
drivers/scsi/scsi_error.c |2 ++
1 files changed
Nothing very big here, just a few small updates for now.
I still have a giant ball of patches waiting in the wings, but it
is unfortunately not quite ready yet.
---
Robert Elliott (1):
hpsa: do not unconditionally copy sense data
Stephen M. Cameron (4):
hpsa: remove online devices
From: Stephen M. Cameron scame...@beardog.cce.hp.com
When devices come on line, they should be removed from the list of
offline devices that are monitored.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Scott Teel scott.t...@hp.com
Reviewed-by: Joe Handzik
From: Stephen M. Cameron scame...@beardog.cce.hp.com
When copy_from_user fails, return -EFAULT, not -ENOMEM
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reported-by: Robert Elliott elli...@hp.com
Reviewed-by: Joe Handzik joseph.t.hand...@hp.com
Reviewed-by: Scott Teel scott.t
From: Stephen M. Cameron scame...@beardog.cce.hp.com
a 6-byte READ/WRITE CDB with a 0 block data transfer really
means a 256 block data transfer. The RAID mapping code failed
to handle this case. For 10/12/16 byte READ/WRITEs, 0 just means
no data should be transferred, and should not trigger
From: Robert Elliott elli...@hp.com
Signed-off-by: Robert Elliott elli...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 16
1 files changed, 8 insertions(+), 8
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Joe Handzik joseph.t.hand...@hp.com
---
drivers/scsi/hpsa.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers
From: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Signed-off-by: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Cc: sta...@vger.kernel.org
Not a lot of extensive changes in this set, some new PCI IDs,
some small bug fixes, quieting some noisy messages, allowing
more reply queues, setting irq affinity hints, and some minor
locking improvments.
Two patches are slightly changed since they were first sent due
to reviewer comments and
From: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Signed-off-by: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Cc: sta...@vger.kernel.org
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Now that we can allocate more than 4 reply queues (up to 64)
we shouldn't try to make them share the same allocation but
should allocate them separately.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Mike Miller
From: Stephen M. Cameron scame...@beardog.cce.hp.com
No sense having 8 or 16 reply queues if you only have 4 cpus,
and likewise no sense limiting to 8 reply queues if you have
many more cpus.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Mike Miller michael.mil
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Joe Handzik joseph.t.hand...@hp.com
---
drivers/scsi/hpsa.c | 24
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/drivers
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Webb Scales webb.sca...@hp.com
---
drivers/scsi/hpsa.c |3 ---
drivers/scsi/hpsa_cmd.h | 33 ++---
2 files changed, 6 insertions
From: Stephen M. Cameron scame...@beardog.cce.hp.com
There's nothing the user can or should do about these messages,
the commands are retried down the normal RAID path, and the
messages just flood the logs and sap performance.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
From: Stephen M. Cameron scame...@beardog.cce.hp.com
The fields major, max_outstanding, and usage_count
of struct ctlr_info were not used for anything.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Mike Miller michael.mil...@canonical.com
Reviewed-by: Webb Scales
...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 1df9a8a..2220b32 100644
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Mike Miller michael.mil...@canonical.com
Reviewed-by: Scott Teel scott.t...@hp.com
---
drivers/scsi/hpsa.c | 17 -
1 files changed, 16 insertions
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Treat the the data direction bits as a bit mask allowing both
READ and WRITE at the same time instead of testing for equality
to see if it's a exclusively a READ or a WRITE.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
From: Stephen M. Cameron scame...@beardog.cce.hp.com
They are annoying and do not help anyone.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Justin Lindley justin.lind...@hp.com
Reviewed-by: Mike Miller michael.mil...@hp.com
---
drivers/scsi/hpsa.c | 12
From: Joe Handzik joseph.t.hand...@hp.com
And while we're at it fix a magic number
Signed-off-by: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |7
From: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |8 +---
1 files changed, 5 insertions(+), 3
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Joe Handzik joseph.t.hand...@hp.com
---
drivers/scsi/hpsa.c | 21 -
drivers/scsi/hpsa_cmd.h | 12 +++-
2 files changed, 19
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Make return value an int instead of an unsigned char so that
we do not lose negative error return values.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Webb Scales webb.sca...@hp.com
Reported-by: Dan Carpenter
From: Stephen M. Cameron scame...@beardog.cce.hp.com
It shouldn't happen that we get a check condition with no sense data, but if it
does, we shouldn't just drop the check condition on the floor.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Justin Lindley
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reported-by: Dan Carpenter dan.carpen...@oracle.com
Reviewed-by: Mike Miller michael.mil...@canonical.com
---
drivers/scsi/hpsa.c |2 +-
1 files changed, 1 insertions(+), 1
From: Stephen M. Cameron scame...@beardog.cce.hp.com
CTLR_STATE_CHANGE_EVENT and CTLR_STATE_CHANGE_EVENT_REDUNDANT_CNTRL
do not require rescans to be initiated. Current firmware filters out
these events already, but some out of date firmware doesn't, so the
driver needs to filter them out too
M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reported-by: Dan Carpenter dan.carpen...@oracle.com
---
drivers/scsi/hpsa.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index
From: Stephen M. Cameron scame...@beardog.cce.hp.com
for controllers which support either of the ioaccel transport methods.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reviewed-by: Mike Miller michael.mil...@canonical.com
Reviewed-by: Joe Handzik joseph.t.hand...@hp.com
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reported-by: Dan Carpenter dan.carpen...@oracle.com
---
drivers/scsi/hpsa.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers
M. Cameron scame...@beardog.cce.hp.com
Reported-by: Dan Carpenter dan.carpen...@oracle.com
---
drivers/scsi/hpsa.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 654e341..c5b24e6 100644
--- a/drivers/scsi/hpsa.c
+++ b
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Make return value an int instead of an unsigned char so that
we do not lose negative error return values.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Reported-by: Dan Carpenter dan.carpen...@oracle.com
---
drivers/scsi
From: Joe Handzik joseph.t.hand...@hp.com
And while we're at it fix a magic number
Signed-off-by: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |7 ++-
drivers/scsi/hpsa.h |1 +
2 files changed, 7 insertions
From: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi
From: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Signed-off-by: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Cc: sta...@vger.kernel.org
---
drivers/scsi/hpsa.c | 12
1 files changed, 12
From: root r...@rhel6u2e-s1.ldev.net
for controllers which support either of the ioaccel transport methods.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |7 +++
drivers/scsi/hpsa.h | 15 ++-
2 files changed, 21 insertions(+), 1
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Avoid excessive locking by using per-cpu variable for lockup_detected
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 80 ++-
drivers/scsi/hpsa.h |2
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 21 -
drivers/scsi/hpsa_cmd.h | 12 +++-
2 files changed, 19 insertions(+), 14 deletions(-)
diff --git a/drivers/scsi
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Now that we can allocate more than 4 reply queues (up to 64)
we shouldn't try to make them share the same allocation but
should allocate them separately.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c
From: Stephen M. Cameron scame...@beardog.cce.hp.com
CTLR_STATE_CHANGE_EVENT and CTLR_STATE_CHANGE_EVENT_REDUNDANT_CNTRL
do not require rescans to be initiated. Current firmware filters out
these events already, but some out of date firmware doesn't, so the
driver needs to filter them out too
From: Stephen M. Cameron scame...@beardog.cce.hp.com
There's nothing the user can or should do about these messages,
the commands are retried down the normal RAID path, and the
messages just flood the logs and sap performance.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 17 -
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 9c44f26..e8090e2
From: Stephen M. Cameron scame...@beardog.cce.hp.com
It shouldn't happen that we get a check condition with no sense data, but if it
does, we shouldn't just drop the check condition on the floor.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |7
Not a lot of extensive changes in this set, some new PCI IDs,
some small bug fixes, quieting some noisy messages, allowing
more reply queues, setting irq affinity hints, and some minor
locking improvments.
drivers/scsi/hpsa.c | 266 +--
From: Stephen M. Cameron scame...@beardog.cce.hp.com
They are not completely free of cost when disabled and
when enabled emitting debug output for every command
submitted produces far too much output to be useful.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 8359884..9d4a0bd 100644
From: Stephen M. Cameron scame...@beardog.cce.hp.com
No sense having 8 or 16 reply queues if you only have 4 cpus,
and likewise no sense limiting to 8 reply queues if you have
many more cpus.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |2
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Treat the the data direction bits as a bit mask allowing both
READ and WRITE at the same time instead of testing for equality
to see if it's a exclusively a READ or a WRITE.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |3 ---
drivers/scsi/hpsa_cmd.h | 33 ++---
2 files changed, 6 insertions(+), 30 deletions(-)
diff --git a/drivers
From: Stephen M. Cameron scame...@beardog.cce.hp.com
They are annoying and do not help anyone.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 12 +++-
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Depending on whether we use extended or normal
CISS_REPORT_LUNS command, the returned data is either
8 or 24 bytes per LUN, and the code needs to take this
into account instead of just always assuming 24 bytes
per LUN. This would cause
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index eb9af2f..9a6e4a2 100644
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa_cmd.h |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h
index 8026d2e..50388f1
From: Tomas Henzl the...@redhat.com
rc is set in the loop, and it isn't set back to zero anywhere
this patch fixes it
Signed-off-by: Tomas Henzl the...@redhat.com
---
drivers/scsi/hpsa.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c
From: Matt Gates matthew.ga...@hp.com
For certain i/o's to certain devices (unmasked physical disks) we
can bypass the RAID stack firmware and do the i/o to the device
directly and it will be faster.
Signed-off-by: Matt Gates matthew.ga...@hp.com
Signed-off-by: Stephen M. Cameron scame
hpsa: retry certain ioaccel error cases on the RAID path
hpsa: update source file copyrights
hpsa: add controller base data-at-rest encryption compatibility ioaccel2
Stephen M. Cameron (17):
hpsa: only allow REQ_TYPE_FS to use fast path
hpsa: add ioaccell mode 1 RAID
From: Stephen M. Cameron scame...@beardog.cce.hp.com
When commands sent down the fast path fail, they must be re-tried down the
normal RAID path. We do this by kicking i/o's back to the scsi mid layer with
a DID_SOFT_ERROR status, which causes them to be retried. This won't work for
SG_IO's
From: Matt Gates matt.ga...@hp.com
This is normally optional, but for SSD Smart Path support (in
subsequent patches) it is required.
Signed-off-by: Matt Gates matthew.ga...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |8
drivers/scsi
From: Stephen M. Cameron scame...@beardog.cce.hp.com
When rescanning for logical drives, store information about whather
raid offload is enabled for each logical drive, and update the driver's
internal record of this.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers
michael.mil...@canonical.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 27 +--
1 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index f1ebb8c..0377692 100644
--- a/drivers
From: Scott Teel scott.t...@hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi
-by: Mike Miller michael.mil...@canonical.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 166 ++-
drivers/scsi/hpsa_cmd.h |7 +-
2 files changed, 167 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/hpsa.c
i/o's by bypassing the RAID stack
code in the controller firmware.
Signed-off-by: Matt Gates matthew.ga...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 13 -
drivers/scsi/hpsa_cmd.h |1 +
2 files changed, 9 insertions(+), 5
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Mike Miller michael.mil...@canonical.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 50 ++
drivers/scsi/hpsa.h |3 +++
2 files changed
From: Mike Miller mi...@beardog.cce.hp.com
Signed-off-by: Mike Miller michael.mil...@canonical.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 22 ++
drivers/scsi/hpsa.h |8
drivers/scsi/hpsa_cmd.h | 99
From: Stephen M. Cameron scame...@beardog.cce.hp.com
* Do not check event bits on locked up controllers to
see if they need to be rescanned.
* Do not initiate any device rescans on controllers
which are known to be locked up.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
From: Scott Teel scott.t...@hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 31ce73f
From: Scott Teel scott.t...@hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Signed-off-by: Joe Handzik joseph.t.hand...@hp.com
Signed-off-by: Mike Miller michael.mil...@canonical.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 325
From: Stephen M. Cameron scame...@beardog.cce.hp.com
This enables sending i/o's destined for RAID logical drives
which can be serviced by a single physical disk down a different,
faster i/o path directly to physical drives for certain logical
volumes on SSDs bypassing the Smart Array RAID stack
From: Stephen M. Cameron scame...@beardog.cce.hp.com
For shared SAS configurations, hosts need to poll Smart Arrays
periodically in order to be able to detect configuration changes
such as logical drives being added or removed from remote hosts.
A register on the controller indicates when
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Otherwise we could wind up using incorrect raid map data, and
then very bad things would likely happen.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |3 +++
1 files changed, 3 insertions(+), 0
From: Scott Teel scott.t...@hp.com
Load balance across members of a N-way mirror set, and
handle the meta-RAID levels: R10, R50, R60.
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 174
will not duplicate on the standard path,
so the driver could get stuck in non-ioaccel mode.
To avoid that, we allow driver to request a rescan during the next run of the
rescan thread.
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c
From: Scott Teel scott.t...@hp.com
Change the handling of HP SSD Smart Path errors with status:
0x02 CHECK CONDITION
0x08 BUSY
0x18 RESERVATION CONFLICT
0x40 TASK ABORTED
So that they get retried on the RAID Path.
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
---
drivers/scsi/hpsa.c | 111 ---
drivers/scsi/hpsa.h |1
drivers/scsi
From: Mike MIller mi...@beardog.cce.hp.com
Signed-off-by: Mike MIller michael.mil...@canonical.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 64 +++
drivers/scsi/hpsa.h |1 +
2 files changed, 65
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Code was confused and assumed that page zero was not
VPD page and all non-zero pages were VPD pages.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 17 +
1 files changed, 9 insertions
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Do no rescan on every events -- way too many rescans are
triggered if we don't filter the events. Limit rescans
to be triggered by the following set of events:
* controller state change
* enclosure hot plug
* physical drive state change
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 45 +
drivers/scsi/hpsa_cmd.h |2 ++
2 files changed, 47 insertions(+), 0 deletions(-)
diff --git
From: Scott Teel scott.t...@hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index
/acciopath_status
To check state: cat /sys/class/scsi_host/hostid/acciopath_status
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
Documentation/ABI/testing/sysfs-class-scsi_host | 16
drivers/scsi/hpsa.c
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |3 ++-
drivers/scsi/hpsa_cmd.h |1 +
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
From: Scott Teel scott.t...@hp.com
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c |2 +-
drivers/scsi/hpsa.h |2 +-
drivers/scsi/hpsa_cmd.h |2 +-
3 files changed, 3 insertions(+), 3 deletions
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Don't wait for *all* commands to complete, only for accelerated mode
commands.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 22 --
1 files changed, 16 insertions(+), 6 deletions
From: Stephen M. Cameron scame...@beardog.cce.hp.com
On encountering unexpected error conditions from driver initiated
commands, print something useful like CDB and sense data rather than
something useless like the kernel virtual address of the command buffer.
Signed-off-by: Stephen M. Cameron
encryption flag, data encryption key
index, and calculate tweak value from request's logical block address.
Signed-off-by: Scott Teel scott.t...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 179
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 9410482..c8de330 100644
: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/scsi/hpsa.c | 31 +--
1 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index c8de330..9f593b9 100644
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
include/linux/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 97fbecd..0154d9b 100644
From: Stephen M. Cameron scame...@beardog.cce.hp.com
This relies on a kernel thread which I wish to replace with a
work queue based solution.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 50 ++
drivers
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Much simpler and avoids races starting/stopping the thread.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 103 +--
drivers/scsi/hpsa.h |3 +
2
From: Stephen M. Cameron scame...@beardog.cce.hp.com
This relies on a kernel thread which I wish to remove and
replace with a work queue based solution.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 128
From: Stephen M. Cameron scame...@beardog.cce.hp.com
This used to be the default, but at some point the firmware guys
changed the default and I failed to notice. Now to get unit
attention notifications, you must twiddle a bit indicating you
want them.
Signed-off-by: Stephen M. Cameron scame
From: Stephen M. Cameron scame...@beardog.cce.hp.com
Immediately following a hard board reset, There are some
mandatory delays during which we must not access the board
and during which we might miss the not ready status,
therefore it is a mistake to look for and expect to see
the not ready
i/o's by bypassing the RAID stack
code in the controller firmware.
Signed-off-by: Matt Gates matthew.ga...@hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 13 -
drivers/scsi/hpsa_cmd.h |1 +
2 files changed, 9 insertions(+), 5
...@beardog.cce.hp.com
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers/scsi/hpsa.c | 27 +--
1 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 81545a7..9b4f5ff 100644
--- a/drivers/scsi
From: Matt Gates matthew.ga...@hp.com
We were clobbering the SCSI status and setting
cmd-result = DID_SOFT_ERROR 16; to get a retry,
but better to let the mid layer handle the unit
attention.
Signed-off-by: Matt Gates matthew.ga...@hp.com
Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com
From: Matt Gates matthew.ga...@hp.com
For certain i/o's to certain devices (unmasked physical disks) we
can bypass the RAID stack firmware and do the i/o to the device
directly and it will be faster.
Signed-off-by: Matt Gates matthew.ga...@hp.com
Signed-off-by: Stephen M. Cameron scame
From: Stephen M. Cameron scame...@beardog.cce.hp.com
When rescanning for logical drives, store information about whather
raid offload is enabled for each logical drive, and update the driver's
internal record of this.
Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com
---
drivers
1 - 100 of 172 matches
Mail list logo