From: Stephen M. Cameron
We were leaking a command buffer if a DMA mapping error was
encountered in the CCISS_BIG_PASSTHRU ioctl.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/hpsa.c b
From: Stephen M. Cameron
SCSI mid layer doesn't seem to handle logical drives undergoing format
very well. scsi_add_device on such devices seems to result in hitting
those devices with a TUR at a rate of 3Hz for awhile, transitioning
to hitting them with a READ(10) at a much higher
From: Stephen M. Cameron
Cap CCISS_BIG_PASSTHRU as well. If an attempt is made
to exceed this, ioctl() will return -1 with errno == EAGAIN.
This is to prevent a userland program from exhausting all of
pci_alloc_consistent memory. I've only seen this problem when
running a special test pr
From: Stephen M. Cameron
Now that the driver is hiding logical drives which are
undergoing low level format (e.g. drive erase or rapid parity
initialization) from the OS, it should bring those drives online
when the operation completes. We poll with test unit ready
every so often to determine
From: Stephen M. Cameron
If a fifo full condition is encountered, i/o requests will stack
up in the h->reqQ queue. The only thing which empties this queue
is start_io, which only gets called when new i/o requests come in.
If none are forthcoming, i/o in h->reqQ will be stalled.
To fi
From: Stephen M. Cameron
There's no point in trying since it can't work, and if you do
try, it will just hang the system on shutdown.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/s
From: Stephen M. Cameron
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 3e45090..411aef2 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Stephen M. Cameron
The hardware guys tell us that after initiating a software
reset via the doorbell register we need to wait 5 seconds before
attempting to talk to the board *at all*. This means that we
cannot watch the board to verify it transitions from "ready" to
to "
From: Stephen M. Cameron
We inadvertantly discarded the scsi status for aborted commands.
For some commands (e.g. reads from tape drives) these can't be retried,
and if we discarded the scsi status, the scsi mid layer couldn't notice
anything was wrong and the error was not reported.
The following series contains some fixes for hpsa
---
Stephen M. Cameron (10):
hpsa: do not attempt to flush the cache on locked up controllers
hpsa: add 5 second delay after doorbell reset
hpsa: do not discard scsi status on aborted commands
hpsa: remove unneeded
From: Stephen M. Cameron
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index f2ef778..b7f405f 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
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 4217e49..469ba9b 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -54,7
The following series adds error handling checks for dma mapping
operations to the hpsa driver.
---
Shuah Khan (1):
hpsa: Check for dma_mapping_error in hpsa_map_one
Stephen M. Cameron (4):
hpsa: Check for dma_mapping_error for all code paths using fill_cmd
hpsa: check for
From: Shuah Khan
Signed-off-by: Shuah Khan
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 4f33806..3b4d195 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 59 ++-
1 files changed, 39 insertions(+), 20 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 3b4d195..137ed33 100644
--- a/drivers
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 14 --
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 137ed33..38c8aa5 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 25 +
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 38c8aa5..a7c3d47 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 16
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index a7c3d47..7f4f790 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Stephen M. Cameron
In the event of a dma mapping error, we forgot to free
the command we had allocated.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
From: Stephen M. Cameron
A return value of 1 is interpreted as an error
Signed-off-by: Stephen M. Cameron
---
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 891c86b..3c97974 100644
--- a/drivers
From: Stephen M. Cameron
A return value of 1 is interpreted as an error. See pci_driver.
in local_pci_probe(). If you're wondering how this ever could
have worked, it's because it used to be the case that only return
values less than zero were interpreted as failure. But even in
t
Just resending the patch with a better change log message (as requested
by Andrew Morton) and cc'ing sta...@vger.kernel.org, (as I originally
had intended.)
---
Stephen M. Cameron (1):
hpsa: return 0 from driver probe function on success, not 1
drivers/scsi/hpsa.c |2 +-
1
The following series implements some minor fixes and cleanups for hpsa
---
Stephen M. Cameron (11):
hpsa: use workqueue instead of kernel thread for lockup detection
hpsa: do not attempt to flush the cache on locked up controllers
hpsa: add 5 second delay after doorbell reset
From: Stephen M. Cameron
There's no point in trying since it can't work, and if you do
try, it will just hang the system on shutdown.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/s
From: Stephen M. Cameron
The hardware guys tell us that after initiating a software
reset via the doorbell register we need to wait 5 seconds before
attempting to talk to the board *at all*. This means that we
cannot watch the board to verify it transitions from "ready" to
to "
From: Stephen M. Cameron
Much simpler and avoids races starting/stopping the thread.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 103 +--
drivers/scsi/hpsa.h |3 +
2 files changed, 28 insertions(+), 78 deletions(-)
diff
From: Stephen M. Cameron
We were leaking a command buffer if a DMA mapping error was
encountered in the CCISS_BIG_PASSTHRU ioctl.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/hpsa.c b
From: Stephen M. Cameron
Cap CCISS_BIG_PASSTHRU as well. If an attempt is made
to exceed this, ioctl() will return -1 with errno == EAGAIN.
This is to prevent a userland program from exhausting all of
pci_alloc_consistent memory. I've only seen this problem when
running a special test pr
From: Stephen M. Cameron
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 6faa4fb..b99a0a1 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c |7
From: Stephen M. Cameron
We inadvertantly discarded the scsi status for aborted commands.
For some commands (e.g. reads from tape drives) these can't be retried,
and if we discarded the scsi status, the scsi mid layer couldn't notice
anything was wrong and the error was not reported.
From: Stephen M. Cameron
If a fifo full condition is encountered, i/o requests will stack
up in the h->reqQ queue. The only thing which empties this queue
is start_io, which only gets called when new i/o requests come in.
If none are forthcoming, i/o in h->reqQ will be stalled.
To fi
From: Stephen M. Cameron
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 752d234..fdc2228 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Stephen M. Cameron
The field contains more bits than just the one
to indicate whether scsi prefetch should be turned on.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 14 +++---
drivers/scsi/hpsa_cmd.h |3 ++-
2 files changed, 9 insertions(+), 8 deletions
t me to send
something else, let me know.
---
Matt Gates (1):
hpsa: allow SCSI mid layer to handle unit attention
Stephen M. Cameron (8):
hpsa: revert bring logical drives online when format completes
hpsa: revert hide logical drives with format in progress from linux
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c | 128 ---
drivers/scsi/hpsa.h | 13 -
2 files changed
From: Stephen M. Cameron
This relies on a kernel thread which I wish to replace with a
work queue based solution.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 50 ++
drivers/scsi/hpsa.h |1 -
2 files changed, 2 insertions
From: Stephen M. Cameron
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" st
From: Stephen M. Cameron
We inadvertantly discarded the scsi status for aborted commands.
For some commands (e.g. reads from tape drives) these can't be retried,
and if we discarded the scsi status, the scsi mid layer couldn't notice
anything was wrong and the error was not reported.
From: Stephen M. Cameron
Much simpler and avoids races starting/stopping the thread.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 103 +--
drivers/scsi/hpsa.h |3 +
2 files changed, 28 insertions(+), 78 deletions(-)
diff
From: Stephen M. Cameron
The field contains more bits than just the one
to indicate whether scsi prefetch should be turned on.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 14 +++---
drivers/scsi/hpsa_cmd.h |3 ++-
2 files changed, 9 insertions(+), 8 deletions
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c |7
From: Stephen M. Cameron
A return value of 1 is interpreted as an error. See
pci-driver.c in local_pci_probe(). If you're wondering how
this ever could have worked, it's because it used to be the
case that only return values less than zero were interpreted
as failure. But even in t
From: Matt Gates
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
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |4 +---
1 files c
From: Stephen M. Cameron
This relies on a kernel thread which I wish to replace with a
work queue based solution.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 50 ++
drivers/scsi/hpsa.h |1 -
2 files changed, 2 insertions
From: Stephen M. Cameron
Much simpler and avoids races starting/stopping the thread.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 103 +--
drivers/scsi/hpsa.h |3 +
2 files changed, 28 insertions(+), 78 deletions(-)
diff
From: Stephen M. Cameron
The field contains more bits than just the one
to indicate whether scsi prefetch should be turned on.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 14 +++---
drivers/scsi/hpsa_cmd.h |3 ++-
2 files changed, 9 insertions(+), 8 deletions
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c | 128 ---
drivers/scsi/hpsa.h | 13 -
2 files changed
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c |7
From: Stephen M. Cameron
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" st
From: Stephen M. Cameron
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 for a
perfor
ssing the RAID stack
code in the controller firmware.
Signed-off-by: Matt Gates
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 13 -
drivers/scsi/hpsa_cmd.h |1 +
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/h
From: Scott Teel
For "mode 1" io accelerated commands, the command tag is in
a different location than for commands that go down the normal
RAID path, so the abort handler needs to take this into account.
Signed-off-by: Scott Teel
Signed-off-by: Mike Miller
Signed-off-by: Stephen
From: Matt Gates
This is normally optional, but for SSD Smart Path support (in
subsequent patches) it is required.
Signed-off-by: Matt Gates
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |8
drivers/scsi/hpsa_cmd.h |1 +
2 files changed, 5 insertions(+), 4
From: Matt Gates
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
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |4 +---
1 files c
From: Stephen M. Cameron
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 an
From: Matt Gates
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
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c |9 +
1 files chang
From: Stephen M. Cameron
Signed-off-by: Mike Miller
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 50 ++
drivers/scsi/hpsa.h |3 +++
2 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers
From: Scott Teel
Underlying firmware cannot handle task abort on accelerated path (SSD Smart
Path).
Change abort requests for accelerated path commands to physical target reset.
Send reset request on normal IO path.
Signed-off-by: Scott Teel
Signed-off-by: Mike Miller
Acked-by: Stephen M
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
Signed-off-by: Scott Teel
---
drivers/scsi/hpsa.c | 111 ---
drivers/scsi/hpsa.h |1
drivers/scsi/hpsa_cmd.h |2 -
3 files changed, 78 insertions(+), 36 deletions(-)
diff
From: Mike Miller
Signed-off-by: Mike Miller
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 22 ++
drivers/scsi/hpsa.h |8
drivers/scsi/hpsa_cmd.h | 99 +++
3 files changed, 129 insertions(+), 0 deletions
From: Scott Teel
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index f88bb73..39500d6 100644
--- a/drivers/scsi/hpsa.c
From: Mike MIller
Signed-off-by: Mike MIller
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index f0bd511..e471782 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Scott Teel
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
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 39500d6..3db772f 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
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
index ebca59b..fbf41c7 100644
--- a/drivers/scsi/hpsa.c
From: Stephen M. Cameron
* 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
---
drivers/scsi/hpsa.c | 39
From: Scott Teel
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 9628e12..7cab95f 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Stephen M. Cameron
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 such events have
occurred, and the
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/scsi/hpsa.c
From: Scott Teel
Load balance across members of a N-way mirror set, and
handle the meta-RAID levels: R10, R50, R60.
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 174 +--
1 files changed, 168 insertions(+), 6
From: Scott Teel
Signed-off-by: Scott Teel
Signed-off-by: Joe Handzik
Signed-off-by: Mike Miller
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 325 ---
drivers/scsi/hpsa.h | 20 +++
drivers/scsi/hpsa_cmd.h |1
3 files
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
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 12 ++--
drivers/scsi/hpsa.h |1 +
2 files
From: Scott Teel
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |2 +-
drivers/scsi/hpsa.h |2 +-
drivers/scsi/hpsa_cmd.h |2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index
tus
To check state: cat /sys/class/scsi_host/host/acciopath_status
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
Documentation/ABI/testing/sysfs-class-scsi_host | 16
drivers/scsi/hpsa.c | 45 ++-
drivers/scsi/
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
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 eab21bb..fb0950c 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
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
--- a/include/linux/pci_ids.h
+++ b/include/linux
flag, data encryption key
index, and calculate tweak value from request's logical block address.
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 179 +--
drivers/scsi/hpsa_cmd.h | 19 -
2 files ch
From: Stephen M. Cameron
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 65 +++
drivers/scsi/hpsa.h |1 +
2 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi
From: Scott Teel
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
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 45
From: Stephen M. Cameron
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
* logical drive state c
From: Stephen M. Cameron
Don't wait for *all* commands to complete, only for accelerated mode
commands.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 22 --
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers
user to disable accelerated i/o path
hpsa: rescan devices on ioaccel2 error
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 (23):
hps
From: Stephen M. Cameron
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 45 +
drivers/scsi/hpsa_cmd.h |2 ++
2 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index
From: Stephen M. Cameron
Otherwise we could wind up using incorrect raid map data, and
then very bad things would likely happen.
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers
From: Matt Gates
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
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |
ioaccel2 error
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 ioacc
From: Stephen M. Cameron
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 an
From: Matt Gates
This is normally optional, but for SSD Smart Path support (in
subsequent patches) it is required.
Signed-off-by: Matt Gates
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c |8
drivers/scsi/hpsa_cmd.h |1 +
2 files changed, 5 insertions(+), 4
From: Stephen M. Cameron
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
---
drivers/scsi/hpsa.c |9 +
1 files chang
From: Scott Teel
For "mode 1" io accelerated commands, the command tag is in
a different location than for commands that go down the normal
RAID path, so the abort handler needs to take this into account.
Signed-off-by: Scott Teel
Signed-off-by: Mike Miller
Signed-off-by: Stephen
From: Scott Teel
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index f882b18..31ce73f 100644
--- a/drivers/scsi/hpsa.c
From: Scott Teel
Underlying firmware cannot handle task abort on accelerated path (SSD Smart
Path).
Change abort requests for accelerated path commands to physical target reset.
Send reset request on normal IO path.
Signed-off-by: Scott Teel
Signed-off-by: Mike Miller
Acked-by: Stephen M
ssing the RAID stack
code in the controller firmware.
Signed-off-by: Matt Gates
Signed-off-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 13 -
drivers/scsi/hpsa_cmd.h |1 +
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/h
From: Stephen M. Cameron
Signed-off-by: Mike Miller
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 50 ++
drivers/scsi/hpsa.h |3 +++
2 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers
From: Mike Miller
Signed-off-by: Mike Miller
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 22 ++
drivers/scsi/hpsa.h |8
drivers/scsi/hpsa_cmd.h | 99 +++
3 files changed, 129 insertions(+), 0 deletions
From: Stephen M. Cameron
* 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
---
drivers/scsi/hpsa.c | 30
From: Scott Teel
Signed-off-by: Scott Teel
Acked-by: Stephen M. Cameron
---
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..7c6db2f 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi
From: Scott Teel
Signed-off-by: Scott Teel
Signed-off-by: Joe Handzik
Signed-off-by: Mike Miller
Acked-by: Stephen M. Cameron
---
drivers/scsi/hpsa.c | 325 ---
drivers/scsi/hpsa.h | 20 +++
drivers/scsi/hpsa_cmd.h |1
3 files
1 - 100 of 194 matches
Mail list logo