summaryrefslogtreecommitdiff
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2023-11-13 16:24:11 -0500
committerDavid Teigland <teigland@redhat.com>2023-11-16 11:59:19 -0600
commit0c08699744d20ce0bac22b9f291a646a0302e51f (patch)
treea96e8f68c4d63a21d7f41ae2a497e60e19fec300 /fs/ocfs2
parent6bd4a2bfe568d963af721cc5efa52091bf1a3746 (diff)
dlm: implement EXPORT_OP_ASYNC_LOCK
This patch is activating the EXPORT_OP_ASYNC_LOCK export flag to signal lockd that both filesystems are able to handle async lock requests. The cluster filesystems gfs2 and ocfs2 will redirect their lock requests to DLMs plock implementation that can handle async lock requests. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/export.c b/fs/ocfs2/export.c
index eaa8c80ace3c..b8b6a191b5cb 100644
--- a/fs/ocfs2/export.c
+++ b/fs/ocfs2/export.c
@@ -280,4 +280,5 @@ const struct export_operations ocfs2_export_ops = {
.fh_to_dentry = ocfs2_fh_to_dentry,
.fh_to_parent = ocfs2_fh_to_parent,
.get_parent = ocfs2_get_parent,
+ .flags = EXPORT_OP_ASYNC_LOCK,
};