Bug 444961
Summary: | softlockup when repeatedly dropping caches | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Bryn M. Reeves <bmr> | ||||
Component: | kernel | Assignee: | Bryn M. Reeves <bmr> | ||||
Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.1 | CC: | dzickus, esandeen, james.brown, jbacik, tao | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-01-20 20:08:30 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 391501, 448732 | ||||||
Attachments: |
|
Description
Bryn M. Reeves
2008-05-02 11:48:37 UTC
Created attachment 304374 [details]
Proposed upstream patch to drop inode_lock across __invalidate_mapping_pages
The patch in comment #1 has been added to 2.6.25-mm1 as vfs-fix-lock-inversion-in-drop_pagecache_sb.patch: From: Jan Kara <jack> Fix longstanding lock inversion in drop_pagecache_sb by dropping inode_lock before calling __invalidate_mapping_pages(). We just have to make sure inode won't go away from under us by keeping reference to it and putting the reference only after we have safely resumed the scan of the inode list. A bit tricky but not too bad... Signed-off-by: Jan Kara <jack> Cc: Fengguang Wu <wfg.edu.cn> Cc: David Chinner <dgc> Signed-off-by: Andrew Morton <akpm> Went into mainline back in April: commit eccb95cee4f0d56faa46ef22fb94dd4a3578d3eb Author: Jan Kara <jack> Date: Tue Apr 29 00:59:37 2008 -0700 vfs: fix lock inversion in drop_pagecache_sb() Fix longstanding lock inversion in drop_pagecache_sb by dropping inode_lock before calling __invalidate_mapping_pages(). We just have to make sure inode won't go away from under us by keeping reference to it and putting the reference only after we have safely resumed the scan of the inode list. A bit tricky but not too bad... Signed-off-by: Jan Kara <jack> Cc: Fengguang Wu <wfg.edu.cn> Cc: David Chinner <dgc> Signed-off-by: Andrew Morton <akpm> Signed-off-by: Linus Torvalds <torvalds> in kernel-2.6.18-103.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 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 therefore 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/RHSA-2009-0225.html |