Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 156841 Details for
Bug 243959
sync cache of shutdown processing fails in a megaraid_sas driver of EL5
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH1/2] GIT: 6c5f8ce1fb7e8925d957f754a9513911399791b9 for EL5
linux-2.6.18-scsi-eh_timed_out-host-template.patch (text/plain), 1.91 KB, created by
Haruo Tomita
on 2007-06-13 02:26:00 UTC
(
hide
)
Description:
[PATCH1/2] GIT: 6c5f8ce1fb7e8925d957f754a9513911399791b9 for EL5
Filename:
MIME Type:
Creator:
Haruo Tomita
Created:
2007-06-13 02:26:00 UTC
Size:
1.91 KB
patch
obsolete
>diff -urpN linux-2.6.18-8.1.4.el5.orig/drivers/scsi/scsi_error.c linux-2.6.18-8.1.4.el5/drivers/scsi/scsi_error.c >--- linux-2.6.18-8.1.4.el5.orig/drivers/scsi/scsi_error.c 2006-09-20 12:42:06.000000000 +0900 >+++ linux-2.6.18-8.1.4.el5/drivers/scsi/scsi_error.c 2007-06-12 14:55:47.000000000 +0900 >@@ -184,10 +184,19 @@ int scsi_delete_timer(struct scsi_cmnd * > **/ > void scsi_times_out(struct scsi_cmnd *scmd) > { >+ enum scsi_eh_timer_return (* eh_timed_out)(struct scsi_cmnd *); >+ > scsi_log_completion(scmd, TIMEOUT_ERROR); > > if (scmd->device->host->transportt->eh_timed_out) >- switch (scmd->device->host->transportt->eh_timed_out(scmd)) { >+ eh_timed_out = scmd->device->host->transportt->eh_timed_out; >+ else if (scmd->device->host->hostt->eh_timed_out) >+ eh_timed_out = scmd->device->host->hostt->eh_timed_out; >+ else >+ eh_timed_out = NULL; >+ >+ if (eh_timed_out) >+ switch (eh_timed_out(scmd)) { > case EH_HANDLED: > __scsi_done(scmd); > return; >diff -urpN linux-2.6.18-8.1.4.el5.orig/include/scsi/scsi_host.h linux-2.6.18-8.1.4.el5/include/scsi/scsi_host.h >--- linux-2.6.18-8.1.4.el5.orig/include/scsi/scsi_host.h 2007-06-12 14:50:06.000000000 +0900 >+++ linux-2.6.18-8.1.4.el5/include/scsi/scsi_host.h 2007-06-12 14:55:47.000000000 +0900 >@@ -288,6 +288,19 @@ struct scsi_host_template { > int (*proc_info)(struct Scsi_Host *, char *, char **, off_t, int, int); > > /* >+ * This is an optional routine that allows the transport to become >+ * involved when a scsi io timer fires. The return value tells the >+ * timer routine how to finish the io timeout handling: >+ * EH_HANDLED: I fixed the error, please complete the command >+ * EH_RESET_TIMER: I need more time, reset the timer and >+ * begin counting again >+ * EH_NOT_HANDLED Begin normal error recovery >+ * >+ * Status: OPTIONAL >+ */ >+ enum scsi_eh_timer_return (* eh_timed_out)(struct scsi_cmnd *); >+ >+ /* > * suspend support > */ > int (*resume)(struct scsi_device *);
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 243959
: 156841 |
156842