gfs2: Allow dlm callbacks in softirq context Allow dlm to invoke the ast and bast callbacks in softirq rather than work queue context. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c index 58aeeae..adf11d3 100644 --- a/fs/gfs2/lock_dlm.c +++ b/fs/gfs2/lock_dlm.c
@@ -1343,7 +1343,7 @@ static int gdlm_mount(struct gfs2_sbd *sdp, const char *table) memcpy(cluster, table, strlen(table) - strlen(fsname)); fsname++; - flags = DLM_LSFL_NEWEXCL; + flags = DLM_LSFL_NEWEXCL | DLM_LSFL_SOFTIRQ; /* * create/join lockspace