ceph: dump granular cap info in "caps" debugfs file
authorJeff Layton <jlayton@kernel.org>
Wed, 24 Apr 2019 16:05:15 +0000 (12:05 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 7 May 2019 17:22:37 +0000 (19:22 +0200)
commitff4a80bf2d3f8005dc5890381bc8ca48e259c60d
tree8ed03ad8f22d9c69baf5790235f0417bcf3f6e6b
parentf5d7726900b66e38355db878ced6b13b00fa9201
ceph: dump granular cap info in "caps" debugfs file

We have a "caps" file already that gives statistics on the caps
cache as a whole. Add another section to that output and dump a
line for each individual cap record.

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/debugfs.c