Skip to content

Commit 79ced51

Browse files
Alexander Aringteigland
authored andcommitted
dlm: remove DLM_LSFL_SOFTIRQ from exflags
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: f328a26 ("dlm: introduce DLM_LSFL_SOFTIRQ_SAFE") Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: David Teigland <[email protected]>
1 parent ec5530d commit 79ced51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/dlm/lockspace.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,8 @@ static int new_lockspace(const char *name, const char *cluster,
413413
/* ls_exflags are forced to match among nodes, and we don't
414414
* need to require all nodes to have some flags set
415415
*/
416-
ls->ls_exflags = (flags & ~(DLM_LSFL_FS | DLM_LSFL_NEWEXCL));
416+
ls->ls_exflags = (flags & ~(DLM_LSFL_FS | DLM_LSFL_NEWEXCL |
417+
DLM_LSFL_SOFTIRQ));
417418

418419
INIT_LIST_HEAD(&ls->ls_slow_inactive);
419420
INIT_LIST_HEAD(&ls->ls_slow_active);

0 commit comments

Comments
 (0)