RFC dlm: fix race between callback and remove message
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | dlm: fix user space lock decision to copy lvbfs/ fs/ fs/ | +20 | 1 reply | |
| 2/7 | dlm: remove lkb from ast bast tracepointsfs/ fs/ include/ | +33 | 0 replies | |
| 3/7 | dlm: remove callback queue debugfs functionalityfs/ | +0 | 0 replies | |
| 4/7 | dlm: move lkb debug information out of callbackfs/ | +6 | 0 replies | |
| 5/7 | dlm: combine switch case fail and default statementsfs/ fs/ | +6 | 0 replies | |
| 6/7 | dlm: fix race between final callback and removefs/ fs/ fs/ +2 more | +128 | 2 replies | |
| 7/7 | dlm: remove callback reference countingfs/ fs/ fs/ +4 more | +25 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC v6.8-rc6 0/7] dlm: fix race between callback and remove message
Hi,
this patch fixes some race I hit between the last callback from a lkb and a potential remove message if this callback was not delivered yet. The issue has something todo that we held in some situation the lkb reference which we should not. There are also some other places affected (e.g. debugfs dump) that I am also working on to solve them. I tried to split my work in several patches to reduce the amount of changes in the fix of patch "dlm: fix race between final callback and remove".
I also found a issue with the lvb copy for user space locks I introduced that should be fixed, see "dlm: fix user space lock decision to copy lvb".
- Alex
Alexander Aring (7):
dlm: fix user space lock decision to copy lvb
dlm: remove lkb from ast bast tracepoints
dlm: remove callback queue debugfs functionality
dlm: move lkb debug information out of callback
dlm: combine switch case fail and default statements
dlm: fix race between final callback and remove
dlm: remove callback reference counting
fs/dlm/ast.c | 203 +++++++++++++++---------------------- fs/dlm/ast.h | 13 +-- fs/dlm/debug_fs.c | 98 +----------------- fs/dlm/dlm_internal.h | 66 +++++++----- fs/dlm/lock.c | 24 ++--- fs/dlm/memory.c | 4 - fs/dlm/user.c | 107 +++++-------------- include/trace/events/dlm.h | 46 ++++----- 8 files changed, 182 insertions(+), 379 deletions(-)
Signature · 1 line
2.43.0