diff options
| author | NeilBrown <neil@brown.name> | 2026-09-05 07:48:15 +1000 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-25 16:27:20 +0200 |
| commit | 59492f9991dc19d5cc2c34295f1403d0f211e734 (patch) | |
| tree | 5bff3d388c21426ace29012cf3220c5bf3c14a15 /tools/lib/python | |
| parent | cc47a1ba1983116ee7a720a79197eb5299ae5d31 (diff) | |
| download | linux-next-59492f9991dc19d5cc2c34295f1403d0f211e734.tar.gz linux-next-59492f9991dc19d5cc2c34295f1403d0f211e734.zip | |
VFS: add lockdep monitoring of DCACHE_PAR_LOOKUP lock.
DCACHE_PAR_LOOKUP acts like a lock in that threads can block waiting for
it to clear. As we plan to make changes to lock order for this lock,
teach lockdep to monitor it so as to help detect bugs early.
As NFS allocates an in-lookup dentry to unlink a silly-renamed file, and
completes the lookup in a different thread, we need interfaces to
release and the acquire ownership of the lock. This avoids lockdep
complaining that a lock is still held on return to user-space.
Signed-off-by: NeilBrown <neil@brown.name>
Link: https://patch.msgid.link/20260904215142.1060510-7-neilb@ownmail.net
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
