Bug 7178
Summary: | Deadlock in vfs_rename_dir | ||
---|---|---|---|
Product: | File System | Reporter: | Ranieri Romera (rromera) |
Component: | VFS | Assignee: | Trond Myklebust (trondmy) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | trratlas |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.17.11 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Ranieri Romera
2006-09-21 10:58:06 UTC
The problem only occurs in a NFS file system, we try to reproduce the problem in a local file system (ext3) but the problem dont occour. Att, Ranieri You can produce this more reliably by doing something like the following: --------------------------------------------------- On client 1 On client 2 ----------- ----------- mkdir foo foo/bar foo/baz cd foo/bar mv foo/bar . mv foo bar mv ../baz foo/bag --- deadlocks on rename semaphore in vfs_rename() --- --------------------------------------------------- Basically, we need to prevent directories from being instantiated twice in the same namespace. Should be fixed in mainline now. See http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9eaef27b36a6b716384948da94b8fc5bfba7b712 |