]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: show tasks waiting on caps in debugfs caps file
authorJeff Layton <jlayton@kernel.org>
Wed, 20 Nov 2019 17:00:59 +0000 (12:00 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 9 Dec 2019 19:55:10 +0000 (20:55 +0100)
commit6ba9df8bedfaa931a0056fdfbd3f87722fc0995a
treebdabd16c0708b46096b4301e5a7a206311adb396
parenta1468bd8f34af1bcbdd662d36e5e265bfe8522cf
ceph: show tasks waiting on caps in debugfs caps file

Add some visibility of tasks that are waiting for caps to the "caps"
debugfs file. Display the tgid of the waiting task, inode number, and
the caps the task needs and wants.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/debugfs.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h