Subject: kern/18975: lfs_bmapv + dounmount deadlock
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 11/09/2002 01:53:13
>Number: 18975
>Category: kern
>Synopsis: lfs_bmapv + dounmount deadlock
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 08 08:55:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 1.6K
>Organization:
>Environment:
System: NetBSD kaeru 1.6K NetBSD 1.6K (build.kaeru) #170: Sat Nov 9 00:41:22 JST 2002 takashi@kaeru:/usr/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
1. cleaner thread calls lfs_bmapv. it calls vfs_busy.
2. another thread set MNT_UNMOUNT in dounmount.
3. cleaner thread wakes up and vfs_busy again in getnewvnode.
4. => deadlock
>How-To-Repeat:
try to unmount a lfs partition when cleaner is active.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: