kill-the-bkl/reiserfs: fix some lock dependency inversions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | kill-the-bkl/reiserfs: fix "reiserfs lock" / "inode mutex" lock inversion dependencyfs/ | +1 | 0 replies | |
| 2/4 | kill-the-bkl/reiserfs: fix recursive reiserfs lock in reiserfs_mkdir()fs/ | +4 | 0 replies | |
| 3/4 | kill-the-bkl/reiserfs: fix recursive reiserfs write lock in reiserfs_commit_write()fs/ | +2 | 0 replies | |
| 4/4 | kill-the-bkl/reiserfs: panic in case of lock imbalancefs/ | +3 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Alexander Beregalov |
|---|---|
| Series | T-b T-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] kill-the-bkl/reiserfs: fix some lock dependency inversions
Hi,
This small set fixes some lock dependency inversions found in reiserfs xattr and mmap paths.
I guess there are still some of them that I'll have to hunt, especially one reported by Laurent Riffard and another one introduced by the reiserfs_readdir path optimization (though I'm not sure about the latter, I have yet to find a way to reproduce it properly).
As usual, these patches can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git \
reiserfs/kill-bkl
Thanks,
Frederic.
Frederic Weisbecker (4):
kill-the-bkl/reiserfs: fix "reiserfs lock" / "inode mutex" lock
inversion dependency
kill-the-bkl/reiserfs: fix recursive reiserfs lock in
reiserfs_mkdir()
kill-the-bkl/reiserfs: fix recursive reiserfs write lock in
reiserfs_commit_write()
kill-the-bkl/reiserfs: panic in case of lock imbalance
fs/reiserfs/inode.c | 11 ++--------- fs/reiserfs/lock.c | 7 +++---- fs/reiserfs/namei.c | 7 ++++--- fs/reiserfs/xattr.c | 2 +- 4 files changed, 10 insertions(+), 17 deletions(-)