summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2023-09-12 17:53:18 -0400
committerChuck Lever <chuck.lever@oracle.com>2023-10-16 12:44:01 -0400
commit2dd10de8e6bcbacf85ad758b904543c294820c63 (patch)
treea02b93f07e60b7ad38891945621979fd91163713 /lib/debugobjects.c
parent1b2021bdeeca12364ad0fa7aac9ddba5cae964f3 (diff)
lockd: introduce safe async lock op
This patch reverts mostly commit 40595cdc93ed ("nfs: block notification on fs with its own ->lock") and introduces an EXPORT_OP_ASYNC_LOCK export flag to signal that the "own ->lock" implementation supports async lock requests. The only main user is DLM that is used by GFS2 and OCFS2 filesystem. Those implement their own lock() implementation and return FILE_LOCK_DEFERRED as return value. Since commit 40595cdc93ed ("nfs: block notification on fs with its own ->lock") the DLM implementation were never updated. This patch should prepare for DLM to set the EXPORT_OP_ASYNC_LOCK export flag and update the DLM plock implementation regarding to it. Acked-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions