public inbox for gfs2@lists.linux.dev
 help / color / mirror / Atom feed
From: Alexander Aring <aahringo@redhat.com>
To: teigland@redhat.com
Cc: gfs2@lists.linux.dev, aahringo@redhat.com
Subject: [PATCH dlm/next 0/2] dlm: refcount fixes and improvements
Date: Wed,  3 Jan 2024 21:05:56 -0500	[thread overview]
Message-ID: <20240104020558.2594636-1-aahringo@redhat.com> (raw)

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


             reply	other threads:[~2024-01-04  2:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04  2:05 Alexander Aring [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240104020558.2594636-1-aahringo@redhat.com \
    --to=aahringo@redhat.com \
    --cc=gfs2@lists.linux.dev \
    --cc=teigland@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox