[Cluster-devel] [PATCHv2 dlm/next 0/6] fs: dlm: cleanup plock code

Alexander Aring aahringo at redhat.com
Thu Feb 17 19:39:11 UTC 2022


Hi,

this patch-series cleanups some plock code handling and remove the
plock_op vs plock_xop casting which had made trouble in the past. Also
I add the logging improvment handling to see when a plock op was not
being found, the wait was interrupted before.

This followed up cleanup patch series should be applied on top of the
previous stable patch "[PATCH dlm/next] fs: dlm: fix plock invalid read".

Thanks.

- Alex

changes since v2:
 - explain more "fs: dlm: replace sanity checks with WARN_ON"
 - add "fs: dlm: remove unnecessary INIT_LIST_HEAD()"
 - add "fs: dlm: move global to static inits"

Alexander Aring (6):
  fs: dlm: replace sanity checks with WARN_ON
  fs: dlm: cleanup plock_op vs plock_xop
  fs: dlm: rearrange async condition return
  fs: dlm: improve plock logging if interrupted
  fs: dlm: remove unnecessary INIT_LIST_HEAD()
  fs: dlm: move global to static inits

 fs/dlm/plock.c | 154 ++++++++++++++++++++++---------------------------
 1 file changed, 69 insertions(+), 85 deletions(-)

-- 
2.31.1




More information about the Cluster-devel mailing list