From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Date: Thu, 17 Feb 2022 14:39:11 -0500 Subject: [Cluster-devel] [PATCHv2 dlm/next 0/6] fs: dlm: cleanup plock code Message-ID: <20220217193917.3292717-1-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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