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)
commit3a3430affce5de301fc8e6e50fa3543d7597820e
treebdabd16c0708b46096b4301e5a7a206311adb396
parentad8c28a9eb81ca90fda29f48cfb4d19305943737
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