]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dlm: remove DLM_LSFL_SOFTIRQ from exflags
authorAlexander Aring <aahringo@redhat.com>
Wed, 12 Jun 2024 21:15:56 +0000 (17:15 -0400)
committerDavid Teigland <teigland@redhat.com>
Wed, 12 Jun 2024 21:20:51 +0000 (16:20 -0500)
The DLM rcom handling has a check that all exflags are the same for the
whole lockspace membership nodes. There are some flags that requires
such handling, however DLM_LSFL_SOFTIRQ does not require this handling
and it should be backwards compatibility with other lockspaces that does
not set this flag.

Fixes: f328a26eeb53 ("dlm: introduce DLM_LSFL_SOFTIRQ_SAFE")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c

index 7c4f45ad2245e71cbb814894cafd0a9899e0cfeb..1848cbbc96a9b5456afd22752b42e4a8ec7eaa15 100644 (file)
@@ -413,7 +413,8 @@ static int new_lockspace(const char *name, const char *cluster,
        /* ls_exflags are forced to match among nodes, and we don't
         * need to require all nodes to have some flags set
         */
-       ls->ls_exflags = (flags & ~(DLM_LSFL_FS | DLM_LSFL_NEWEXCL));
+       ls->ls_exflags = (flags & ~(DLM_LSFL_FS | DLM_LSFL_NEWEXCL |
+                                   DLM_LSFL_SOFTIRQ));
 
        INIT_LIST_HEAD(&ls->ls_slow_inactive);
        INIT_LIST_HEAD(&ls->ls_slow_active);