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 317459 Details for
Bug 463416
RHEL 5.3: fix scsi regression causing udev to hang loading sr_mod
[?]
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]
scsi-fix-regression-introduced-by-typo-in-failfast.patch
scsi-fix-regression-introduced-by-typo-in-failfast.patch (text/plain), 1.33 KB, created by
Mark McLoughlin
on 2008-09-23 10:03:21 UTC
(
hide
)
Description:
scsi-fix-regression-introduced-by-typo-in-failfast.patch
Filename:
MIME Type:
Creator:
Mark McLoughlin
Created:
2008-09-23 10:03:21 UTC
Size:
1.33 KB
patch
obsolete
>From: Mark McLoughlin <markmc@redhat.com> >Date: Tue, 23 Sep 2008 10:53:25 +0100 >Subject: [RHEL5.3 PATCH] scsi: Fix regression introduced by typo in failfast changes > >This is for BZ 463416. > >With 2.6.18.4-116, udev can be seen to hang on some machines >when loading sr_mod. > >The regression was introduced by: > > commit 325d5462da6613a1353fa8cbc4603e8f056e67b1 > [scsi] modify failfast so it does not always fail fast > >Fix what appears to be an obvious typo - SCSI_MLQUEUE_HOST_BUSY >etc. are always non-zero, we should be checking whether the >reason code matches these. > >Signed-off-by: Mark McLoughlin <markmc@redhat.com> >--- > drivers/scsi/scsi_lib.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c >index d7f3fb8..50d4a41 100644 >--- a/drivers/scsi/scsi_lib.c >+++ b/drivers/scsi/scsi_lib.c >@@ -169,8 +169,9 @@ int scsi_attempt_requeue_command(struct scsi_cmnd *cmd, int reason) > * want to bypass the failfast and retry checks like we do > * with the new ones. > */ >- if (SCSI_MLQUEUE_HOST_BUSY || SCSI_MLQUEUE_DEVICE_BUSY || >- SCSI_MLQUEUE_EH_RETRY) >+ if (reason == SCSI_MLQUEUE_HOST_BUSY || >+ reason == SCSI_MLQUEUE_DEVICE_BUSY || >+ reason == SCSI_MLQUEUE_EH_RETRY) > goto cleanup; > > if (!scsi_ign_failfast(reason) && scsi_disposition_retry(reason)) { >-- >1.5.5.1 >
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 463416
:
317454
|
317456
|
317458
| 317459