dlm: implement EXPORT_OP_ASYNC_LOCK
authorAlexander Aring <aahringo@redhat.com>
Mon, 13 Nov 2023 21:24:11 +0000 (16:24 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 16 Nov 2023 17:59:19 +0000 (11:59 -0600)
commit0c08699744d20ce0bac22b9f291a646a0302e51f
treea96e8f68c4d63a21d7f41ae2a497e60e19fec300
parent6bd4a2bfe568d963af721cc5efa52091bf1a3746
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>
fs/gfs2/export.c
fs/ocfs2/export.c