Bug 204311
Summary: | kernel - recursive locking in dm_request (md->io_lock) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Prarit Bhargava <prarit> |
Component: | kernel | Assignee: | Alasdair Kergon <agk> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | rawhide | CC: | agk, dex.mbox, dwysocha, esandeen, jbrassow, kennyr68, kevin, mbroz, michal, njsharp, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-04 06:33:26 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: | 202141 |
Description
Prarit Bhargava
2006-08-28 14:33:18 UTC
Reassigning to correct owner, kernel-maint. *** Bug 208754 has been marked as a duplicate of this bug. *** Minor but this bug still says "hardware: i386" while bug 208754 has a trace from x86_64. Also in that other trace there is nothing after "Leftover inexact backtrace:". 1/2 :-) Seen on i386, x86_64, and ia64. P. known issue first reported in July (during OLS) but nobody's done a patch for it yet The locking prevents suspend requests from interfering with bio splitting. The problem here is potential deadlock on SMP because lock requests are ordered. *** Bug 206105 has been marked as a duplicate of this bug. *** device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel ============================================= [ INFO: possible recursive locking detected ] 2.6.20-1.3059.fc7 #1 --------------------------------------------- init/1 is trying to acquire lock: (&md->io_lock){----}, at: [<d08f67b1>] dm_request+0x18/0xea [dm_mod] but task is already holding lock: (&md->io_lock){----}, at: [<d08f67b1>] dm_request+0x18/0xea [dm_mod] other info that might help us debug this: 1 lock held by init/1: #0: (&md->io_lock){----}, at: [<d08f67b1>] dm_request+0x18/0xea [dm_mod] stack backtrace: [<c04061e9>] show_trace_log_lvl+0x1a/0x2f [<c04067ad>] show_trace+0x12/0x14 [<c0406831>] dump_stack+0x16/0x18 [<c0442089>] __lock_acquire+0x11f/0xba4 [<c0442f00>] lock_acquire+0x56/0x6f [<c043b7e0>] down_read+0x3f/0x51 [<d08f67b1>] dm_request+0x18/0xea [dm_mod] [<c04e4d06>] generic_make_request+0x2d8/0x2eb [<d08f5516>] __map_bio+0xd5/0x128 [dm_mod] [<d08f5e8e>] __split_bio+0x16f/0x3d2 [dm_mod] [<d08f6875>] dm_request+0xdc/0xea [dm_mod] [<c04e4d06>] generic_make_request+0x2d8/0x2eb [<c04e6d2d>] submit_bio+0xd7/0xdf [<c049a163>] submit_bh+0xf0/0x10f [<c049c964>] block_read_full_page+0x2c9/0x2d9 [<c049e3c9>] blkdev_readpage+0xf/0x11 [<c04662ab>] __do_page_cache_readahead+0x16a/0x1b6 [<c0466344>] blockable_page_cache_readahead+0x4d/0xa0 [<c046655c>] page_cache_readahead+0x129/0x190 [<c0460f3b>] do_generic_mapping_read+0x12b/0x420 [<c0462cdf>] generic_file_aio_read+0x16a/0x197 [<c047e28b>] do_sync_read+0xc2/0xff [<c047eb30>] vfs_read+0xad/0x161 [<c047efbc>] sys_read+0x3d/0x61 [<c0405078>] syscall_call+0x7/0xb ======================= Seen also in Fedora 7 test 3 kernel I've been getting these errors since the pata port on my m/b was enabled many months ago (promise 376 fake raid) now its bugging me! latest rawhide kernel 2.6.20-1.3116.fc7 Can these messages be silenced for f7 release ? *** Bug 239925 has been marked as a duplicate of this bug. *** *** Bug 238304 has been marked as a duplicate of this bug. *** I made the jump to 2.6.21-1.3194.fc7 (to avoid the wi-fi stuff) this bug has now gone for me,(but: #240982 turned up) so another person can close when there ready. (or I will close in about 2 weeks) Because recent kernels serializes operations in generic_make_request() calls for current process, dm_request is no more called recursively (btw it was just warning and false positive). Still probably some situation can cause this warning if there is another thread calling dm_request (maybe invalidation of filled snapshot etc.). But then it is another problem with different stacktrace. |