public inbox for gfs2@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH dlm/next 0/2] dlm: refcount fixes and improvements
@ 2024-01-04  2:05 Alexander Aring
  2024-01-04  2:05 ` [PATCH dlm/next 1/2] dlm: fix off-by-one waiters refcount handling Alexander Aring
  2024-01-04  2:05 ` [PATCH dlm/next 2/2] dlm: put lkbs instead of force free Alexander Aring
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Aring @ 2024-01-04  2:05 UTC (permalink / raw)
  To: teigland; +Cc: gfs2, aahringo

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(-)

-- 
2.39.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-04  2:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04  2:05 [PATCH dlm/next 0/2] dlm: refcount fixes and improvements Alexander Aring
2024-01-04  2:05 ` [PATCH dlm/next 1/2] dlm: fix off-by-one waiters refcount handling Alexander Aring
2024-01-04  2:05 ` [PATCH dlm/next 2/2] dlm: put lkbs instead of force free Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox