mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 02:15:57 +00:00
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>
This commit is contained in:
parent
6bd4a2bfe5
commit
0c08699744
@ -192,5 +192,6 @@ const struct export_operations gfs2_export_ops = {
|
||||
.fh_to_parent = gfs2_fh_to_parent,
|
||||
.get_name = gfs2_get_name,
|
||||
.get_parent = gfs2_get_parent,
|
||||
.flags = EXPORT_OP_ASYNC_LOCK,
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user