New: reiserfs locking (v2)
https://bugzilla.kernel.org/show_bug.cgi?id=16334
Summary: reiserfs locking (v2)
Product: File System
Version: 2.5
Kernel Version: 2.6.35-rc3
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ReiserFS
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Regression: Yes
Subject : reiserfs locking (v2)
Submitter : Sergey Senozhatsky <[email protected]>
Date : 2010-07-02 9:34
Message-ID : [email protected] References : http://marc.info/?l=linux-kernel&m=127806306303590&w=2
This entry is being used for tracking a regression from 2.6.34. Please don't close it until the problem is fixed in the mainline.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 16334] reiserfs locking (v2)
https://bugzilla.kernel.org/show_bug.cgi?id=16334
Maciej Rutecki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |16055
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 16334] reiserfs locking (v2)
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16334
--- Comment #1 from Rafael J. Wysocki <[email protected]> 2010-07-09 21:39:36 ---
Quoted 40 lines · Frederic Weisbecker
Quoted 8 lines · Linus Torvalds
Quoted 6 lines · Rafael J. Wysocki
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=16334
Subject : reiserfs locking (v2)
Submitter : Sergey Senozhatsky <[email protected]>
Date : 2010-07-02 9:34 (7 days old)
Message-ID : <[email protected]>
References : http://marc.info/?l=linux-kernel&m=127806306303590&w=2Quoted 8 lines
Frederic? Al? I assume this is some late fallout from the BKL removal ages ago.. It's the old filldir-vs-mmap crud, but normally it should be impossible to trigger because the inode for a directory should never be mmap'able, so we should never have the same
i_mutexlock used for both mmap and for filldir protection.We saw some of that oddity long ago, I wonder if it's lockdep being confused about some inodes.
I think it has been there from the beginning. At least it was there before the reiserfs bkl removal in .32.
Indeed the readdir <-> unmap/release inversion problem can not happen. But Al said that can happen between write and release. (Although I don't see where write takes the inode mutex).
He also highlighted the fact that reiserfs refcounting based on
i_countwas totally broken.He has a fix the whole in the vfs tree, in the for-next branch on commit
6c2bdaf089a3876226893fab00dd83596c465ad2
"Fixreiserfs_file_release()"No more uses of the
i_mutexon release after that, nori_count, but a private openers refcount and a tailpack mutex per reiserfs inode.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 16334] reiserfs locking (v2)
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16334
Rafael J. Wysocki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|16055 |
Regression|Yes |No--- Comment #2 from Rafael J. Wysocki <[email protected]> 2010-07-09 21:40:47 --- Not a recent regression, dropping from the list.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 16334] reiserfs locking (v2)
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16334
--- Comment #3 from Rafael J. Wysocki <[email protected]> 2010-07-10 13:02:55 --- *** Bug 15805 has been marked as a duplicate of this bug. ***
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 16334] reiserfs locking (v2)
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=16334
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution|--- |OBSOLETESignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.