Bug 190729
Summary: | sleeping function called from invalid context at kernel/workqueue.c | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Alan D. Brunelle <alan.brunelle> | ||||
Component: | kernel | Assignee: | Jeff Moyer <jmoyer> | ||||
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | jbaron | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ia64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2007-0791 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-15 16:14:08 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Alan D. Brunelle
2006-05-04 18:47:34 UTC
Do you actually get a system crash, or anything going wrong? or just the messages? Nope - messages just logged, and the system continues onwards. I _believe_ might_sleep is just a warning mechanism: meaning that one should _not_ be sleeping in this context, and the fact that we _might_ sleep means things aren't quite right. [Meaning: somebody above me in the call stack is doing something inherently wrong.] This is indeed a corner case. The last user of the ioctx is the I/O path (meaning that the calling process either closed the context or went away before the I/O completed). I'll give this some thought. It looks like someone ran into this on a 2.6.18.4 kernel. See the thread at: http://marc.theaimsgroup.com/?l=linux-ia64&m=116594483721437&w=2 Created attachment 144812 [details]
aio_complete should not drop the last reference to an ioctx
This is the fix Kenneth Chen posted for this problem. Please try it out if you
get the chance.
This request was evaluated by Red Hat Kernel Team for inclusion in a Red Hat Enterprise Linux maintenance release, and has moved to bugzilla status POST. committed in stream U6 build 55.10. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/ An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0791.html |