]> www.infradead.org Git - users/dwmw2/linux.git/commit
ceph: use cap_wait_list only if debugfs is enabled
authorMax Kellermann <max.kellermann@ionos.com>
Thu, 6 Jun 2024 16:41:57 +0000 (18:41 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 23 Jul 2024 08:01:57 +0000 (10:01 +0200)
commit65d284a38c0ded391ae04a29640c34221c934cd2
tree94637df7a23f8615b887877fe2398fffb0517a99
parent0c3836482481200ead7b416ca80c68a29cfdaabd
ceph: use cap_wait_list only if debugfs is enabled

Only debugfs uses this list.  By omitting it, we save some memory and
reduce lock contention on `caps_list_lock`.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h