Re: [PATCH 0/2] ceph: dump cap record info in caps debugfs file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/25/19 2:57 AM, Jeff Layton wrote:
I was working on a cap handling issue today, and realized that we don't
have a definitive way to tell what caps are being held by the client,
and which ones have been recalled by the server.

This patch tacks that info on to the bottom of the "caps" debugfs file.
For now, it just prints inode number, issued and implemented caps. In
the future we could add other info (cap refcounts could be interesting
here too).

Jeff Layton (2):
   ceph: make iterate_session_caps a public symbol
   ceph: dump granular cap info in "caps" debugfs file

  fs/ceph/debugfs.c    | 34 ++++++++++++++++++++++++++++++++--
  fs/ceph/mds_client.c | 16 ++++++++--------
  fs/ceph/mds_client.h |  4 ++++
  3 files changed, 44 insertions(+), 10 deletions(-)


Reviewed-by: "Yan, Zheng" <zyan@xxxxxxxxxx>



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux