FreeBSD Bugzilla – Attachment 244153 Details for
Bug 273166
ciss does not attach luns from san
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ciss patch to treat CHECK CONDITION as a warning
ciss.diff (text/plain), 764 bytes, created by
Jeremy Faulkner
on 2023-08-16 18:16:08 UTC
(
hide
)
Description:
ciss patch to treat CHECK CONDITION as a warning
Filename:
MIME Type:
Creator:
Jeremy Faulkner
Created:
2023-08-16 18:16:08 UTC
Size:
764 bytes
patch
obsolete
>diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c >index bbc57dc59771..f9cab33b445e 100644 >--- a/sys/dev/ciss/ciss.c >+++ b/sys/dev/ciss/ciss.c >@@ -2313,6 +2313,15 @@ _ciss_report_request(struct ciss_request *cr, int *command_status, int *scsi_sta > debug(2, "ignoring irrelevant under/overrun error"); > } > >+ /* >+ * Treat check condition as a warning instead of an error >+ */ >+ if ((cc->header.host_tag & CISS_HDR_HOST_TAG_ERROR) && >+ (ce->scsi_status == CISS_SCSI_STATUS_CHECK_CONDITION)) { >+ cc->header.host_tag &= ~CISS_HDR_HOST_TAG_ERROR; >+ debug(2, "warning: CISS_SCSI_STATUS_CHECK_CONDITION is set"); >+ } >+ > /* > * Check the command's error bit, if clear, there's no status and > * everything is OK.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273166
: 244153