OCFS2 locking fixes and lockdep annotations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ocfs2: Fix possible deadlock in ocfs2_global_read_dquot()fs/ | +3 | 0 replies | |
| 2/7 | ocfs2: Fix lock inversion in ocfs2_local_read_info()fs/ | +5 | 0 replies | |
| 3/7 | ocfs2: Fix possible deadlock with quotas in ocfs2_setattr()fs/ | +30 | 0 replies | |
| 4/7 | ocfs2: Fix possible deadlock in quota recoveryfs/ | +9 | 0 replies | |
| 5/7 | ocfs2: Correct ordering of ip_alloc_sem and localloc locks for directoriesfs/ | +10 | 0 replies | |
| 6/7 | vfs: Set special lockdep map for dirs only if not set by fsfs/ | +10 | 1 reply | |
| 6/7 | vfs: Set special lockdep map for dirs only if not set by fs | +0 | 1 reply | |
| 6/7 | vfs: Set special lockdep map for dirs only if not set by fsfs/ include/ | +26 | 0 replies | |
| 7/7 | ocfs2: Add lockdep annotationsfs/ fs/ fs/ +4 more | +142 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Ocfs2-devel] [PATCH 0/7] OCFS2 locking fixes and lockdep annotations
Hi,
the first four patches in this series fix locking problems in OCFS2 quota code (three of
them can lead to potential deadlocks). The fifth patch reorders ip_alloc_sem for directories to be acquired before localalloc locks. Mark would you please merge these?
The last two patches implement lockdep annotations for OCFS2 cluster locks. We annotate all
the cluster locks except for special ones like open lock or local quota file lock - these are not held by any particular process and thus lockdep cannot properly track them. I can still hit some lockdep warnings with it (I'll report them separately) but I think the patch is already in a decent state and I don't expect major changes. Please consider merging these lockdep patches.
Happy testing. As always, comments are welcome.
Honza