]> 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)
commit51b12799bf70fd8ae921c3fc7d918d8369b27a99
treebdabd16c0708b46096b4301e5a7a206311adb396
parent645d873946b706867a2332becb308a2062bd970f
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