Skip to content

dlm: refcount fixes and improvements

Alexander Aring gfs2 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dlm: fix off-by-one waiters refcount handlingfs/dlm/lock.c+6 -40 replies
2/2dlm: put lkbs instead of force freefs/dlm/lock.c fs/dlm/lock.h fs/dlm/lockspace.c+23 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH dlm/next 0/2] dlm: refcount fixes and improvements

Hi,

those two patches contains a patch to fix a potential refcount issue in DLM and improve the freeing of lkbs at lockspace release time. Now I can use /proc/slabinfo to see if all lkbs, rsbs got freed up, before it was not possible to do that because we was doing a "forced" free of all datastructures and didn't respect the refcount programming logic.

I need to send v2 for the softirq patches, I will do that soon.

- Alex

Alexander Aring (2):
dlm: fix off-by-one waiters refcount handling
dlm: put lkbs instead of force free

 fs/dlm/lock.c      | 12 +++++++-----
 fs/dlm/lock.h      |  1 +
 fs/dlm/lockspace.c | 31 +++++++++++++++++++++----------
 3 files changed, 29 insertions(+), 15 deletions(-)
Signature · 1 line
2.39.3