* + hpsa-suppress-messages-due-to-unsupport-scsi-report_luns.patch added to -mm tree
@ 2009-12-08 22:04 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-12-08 22:04 UTC (permalink / raw)
To: mm-commits; +Cc: scameron, James.Bottomley, achiang, jens.axboe, mikem
The patch titled
hpsa: suppress messages due to unsupport SCSI REPORT_LUNS
has been added to the -mm tree. Its filename is
hpsa-suppress-messages-due-to-unsupport-scsi-report_luns.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: hpsa: suppress messages due to unsupport SCSI REPORT_LUNS
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: Mike Miller <mikem@beardog.cce.hp.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Alex Chiang <achiang@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/scsi/hpsa.c | 7 +++++++
1 file changed, 7 insertions(+)
diff -puN drivers/scsi/hpsa.c~hpsa-suppress-messages-due-to-unsupport-scsi-report_luns drivers/scsi/hpsa.c
--- a/drivers/scsi/hpsa.c~hpsa-suppress-messages-due-to-unsupport-scsi-report_luns
+++ a/drivers/scsi/hpsa.c
@@ -964,6 +964,13 @@ static void complete_scsi_command(struct
break;
}
if (sense_key == ILLEGAL_REQUEST) {
+ /*
+ * SCSI REPORT_LUNS is commonly unsupported on
+ * Smart Array. Suppress noisy complaint.
+ */
+ if (cp->Request.CDB[0] == REPORT_LUNS)
+ break;
+
/* If ASC/ASCQ indicate Logical Unit
* Not Supported condition,
*/
_
Patches currently in -mm which might be from scameron@beardog.cce.hp.com are
origin.patch
scsi-add-hpsa-driver-for-hp-smart-array-controllers.patch
hpsa-use-msleep-instead-of-schedule_timeout.patch
hpsa-use-msleep-instead-of-schedule_timeout-fix.patch
hpsa-rename-too-generic-variable-names.patch
hpsa-return-scsi_mlqueue_host_busy-on-command-allocation-failure.patch
hpsa-fix-incorrect-scsi-status-reporting.patch
hpsa-suppress-messages-due-to-unsupport-scsi-report_luns.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-08 22:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-08 22:04 + hpsa-suppress-messages-due-to-unsupport-scsi-report_luns.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).