Files
twx-linux/include/linux
Alexander Aring 2267b2e845 lockd: introduce safe async lock op
[ Upstream commit 2dd10de8e6 ]

This patch reverts mostly commit 40595cdc93 ("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 40595cdc93
("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>
2024-04-10 16:19:29 +02:00
..
2024-01-25 14:52:51 -08:00
2023-12-20 15:17:37 +01:00
2024-04-10 16:19:29 +02:00
2024-04-10 16:19:07 +02:00
2024-04-10 16:18:55 +02:00
2024-04-10 16:18:46 +02:00
2023-11-20 11:08:16 +01:00
2024-04-10 16:18:40 +02:00
2024-04-10 16:19:00 +02:00
2024-01-25 14:52:33 -08:00
2024-02-23 08:54:47 +01:00
2023-11-28 16:56:21 +00:00
2023-12-13 18:36:35 +01:00