Kernel message follows:
[ 511.712011] sd 11:0:0:0: [sdf] command 8800a4e81400 timed out
[ 511.712022] sas: Enter sas_scsi_recover_host busy: 1 failed: 1
[ 511.712024] sas: trying to find task 0x8800a4d24c80
[ 511.712026] sas: sas_scsi_find_task: aborting task 0x8800a4d24c80
[ 511.
On Tue, 31 Jul 2012, Denis Efremov wrote:
> The replacement of spin_lock_irq/spin_unlock_irq pairs which
> can be called from interrupt handler by irqsave/irqrestore
> versions.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Denis Efremov
Acked-by: Guenna
Enable attachment to OCe14000 adapters
Signed-off-by: James Smart
---
lpfc_hw.h |2 ++
lpfc_init.c |9 +
2 files changed, 11 insertions(+)
diff -upNr a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h
--- a/drivers/scsi/lpfc/lpfc_hw.h 2012-07-22 10:46:05.0
Update lpfc version for 8.3.33 driver release
Signed-off-by: James Smart
---
lpfc_version.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h
--- a/drivers/scsi/lpfc/lpfc_version.h 2012-07-22 14:29:51.
Fixed incomplete list of SLI4 commands with extended second timeout value
Signed-off-by: James Smart
---
lpfc_hw.h |1 +
lpfc_hw4.h |6 ++
lpfc_mbox.c | 11 ++-
lpfc_sli.c |1 +
4 files changed, 18 insertions(+), 1 deletion(-)
diff -upNr a/drivers/scsi/lpfc/lp
Fixed debugfs queInfo to include queue stats
Signed-off-by: James Smart
---
lpfc_debugfs.c | 420 +++--
1 file changed, 261 insertions(+), 159 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
Add lpfc_fcp_look_ahead module parameter
Signed-off-by: James Smart
---
lpfc.h |2 +
lpfc_attr.c | 11 +++
lpfc_crtn.h |1
lpfc_init.c |3 ++
lpfc_sli.c | 88 +---
lpfc_sli4.h |1
6 files changed, 102 ins
Make I/O to hw queue distribution algorithm a module parameter
Signed-off-by: James Smart
---
lpfc.h |1 +
lpfc_attr.c | 12
lpfc_hw4.h |4
lpfc_sli.c |6 +-
4 files changed, 22 insertions(+), 1 deletion(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_attr
Change Naming convention for SLI4 Interrupt vector
Signed-off-by: James Smart
---
lpfc_init.c|6 +-
lpfc_sli4.h|3 +++
lpfc_version.h |5 +
3 files changed, 13 insertions(+), 1 deletion(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.
Allow per-hba interrupt rate tuning
Signed-off-by: James Smart
---
lpfc_attr.c | 27 ---
lpfc_hw4.h |8 +---
lpfc_init.c |2 +-
lpfc_sli.c |3 ++-
4 files changed, 28 insertions(+), 12 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/dri
Add Interrupts per second stats via debugfs
Signed-off-by: James Smart
---
lpfc_sli.c | 18 +-
lpfc_sli.h |2 ++
2 files changed, 19 insertions(+), 1 deletion(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
--- a/drivers/scsi/lpfc/lpfc_sli.
Commonize SLI-3/4 Ring/Queue framework, to keep SLI-3 compatibility
Parallelize SLI-4 Q distribution - to use multiple posting/completion queues
Signed-off-by: James Smart
---
lpfc.h |2 +-
lpfc_hw.h | 14 +++---
lpfc_init.c | 35 +++
lp
Misc changes to optimize critical path
Signed-off-by: James Smart
---
lpfc_scsi.c | 22 --
lpfc_sli.c | 21 +
2 files changed, 29 insertions(+), 14 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/dri
Formally separate lpfc_sli_ring SLI-3 and SLI-4 variantions
Signed-off-by: James Smart
---
lpfc_debugfs.c |8 +-
lpfc_init.c|6 -
lpfc_mbox.c| 25 ---
lpfc_sli.c | 182 -
lpfc_sli.h | 34 +++---
5 fi
Convert to no SCSI host lock in queuecommand
Signed-off-by: James Smart
---
lpfc_scsi.c |9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c 2012-07-22 12:44:35.5
Add debugfs interface to display SLI queue information
Signed-off-by: James Smart
---
lpfc_debugfs.h |3 +++
lpfc_sli.c | 35 ++-
lpfc_sli4.h| 29 +
3 files changed, 66 insertions(+), 1 deletion(-)
diff -upNr a/dri
Fix error when remote port switches address
Signed-off-by: James Smart
---
lpfc_els.c | 32 +---
lpfc_hbadisc.c | 35 ++-
2 files changed, 59 insertions(+), 8 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/driver
Fix scsi_eh escalation panic by checking the proper return status
Signed-off-by: James Smart
---
lpfc_scsi.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c 2
Check data transfer amount on write commands
Signed-off-by: James Smart
---
lpfc_scsi.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c 2012-07-22 11:18:36.
Fix error of not reiniting mbx cmd before reissue
Signed-off-by: James Smart
---
lpfc_init.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
--- a/drivers/scsi/lpfc/lpfc_init.c 2012-07-22 11:35:19.
Fix bug with rrq_pool not being destroyed during driver removal.
Signed-off-by: James Smart
---
lpfc_mem.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_mem.c b/drivers/scsi/lpfc/lpfc_mem.c
--- a/drivers/scsi/lpfc/lpfc_mem.c 2012-07-
When doing loopback testing, set the diag valid bit
Signed-off-by: James Smart
---
lpfc_bsg.c |2 ++
lpfc_hw4.h |5 +
2 files changed, 7 insertions(+)
diff -upNr a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c
--- a/drivers/scsi/lpfc/lpfc_bsg.c 2012-07-22 10:
This patch set updates the lpfc driver to revision 8.3.33
The patches for 8.3.33 contain:
- When doing loopback testing, set the diag valid bit
- Enable attachment to OCe14000 adapters
- Fix bug with rrq_pool not being destroyed during driver removal.
- Fix error of not reiniting mbx cmd before
On 08/03/2012 05:50 AM, Aaron Lu wrote:
Hello,
Not sure if I should use EXPORT_SYMBOL or EXPORT_SYMBOL_GPL, any
comments?
Typically you follow the pattern of similar exports in the file (or in
the API, if no others are in the file).
Jeff
--
To unsubscribe from this list: send t
BUSY and QUEUE_FULL are retryable errors.
Signed-off-by: Oliver Neukum
---
drivers/scsi/scsi_error.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index 195cc75..2f70a07 100644
--- a/drivers/scsi/scsi_error.c
+
Synchronizing caches may fail. The reason for these
failures need to be translated to the generic layer
so that it nows whether to ignore a failure, retry later
or give up, aborting sleep.
Signed-off-by: Oliver Neukum
---
drivers/scsi/scsi_error.c | 32
drivers
sd_sync_cache() is called for purposes of power management.
Under those circumstances a medium removal is no error.
The data is lost under any circumstances, so the system may as
well sleep.
Signed-off-by: Oliver Neukum
---
drivers/scsi/sd.c |8
1 files changed, 8 insertions(+), 0 d
Errors are not handled correctly in sd_start_stop_device().
First, if a device cannot be stopped because a medium has been
removed, this is not an error. This fixes a bug when suspending
the system right after pulling a medium out of a card reader.
Second, if the full system is to be suspended, a
sd_start_stop_device leaks SCSI specific error codes
to the generic driver code
Signed-off-by: Oliver Neukum
---
drivers/scsi/sd.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 4df73e5..cef06f5 100644
--- a/drivers/scsi/
During transition to sleep sd can encounter errors. They must be translated
to a form the generic layer understands, so that it knows whether an error
can be ignored (eg. medium removal) should be retried (eg. BUSY)
or the transition must be aborted.
--
To unsubscribe from this list: send the line
On Thursday 02 August 2012 11:43:44 James Bottomley wrote:
> this should be inside the switch as
>
> default:
> return -EIO;
>
> and no return statment outside of the switch.
OK
> Don't you still want to handle BUSY and QUEUE_FULL as -EBUSY? Right at
> the moment they'll fall through t
Hello,
Not sure if I should use EXPORT_SYMBOL or EXPORT_SYMBOL_GPL, any
comments?
Thanks,
Aaron
On 07/27/2012 05:00 PM, Aaron Lu wrote:
When the ODD is runtime suspended, there is no need to poll it for
events, so block events poll for it and unblock when resumed.
Signed-off-by: Aaron Lu
---
32 matches
Mail list logo