Skip to content

ceph: metrics for opened files, pinned caps and opened inodes

[email protected] ceph-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 16 repliesIn review
  2. v42 patches 4 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v21 patch2 repliesSuperseded

Changes in v5 from the cover letter

- Remove mdsc parsing helpers except the ceph_sb_to_mdsc()
- Remove the is_opened member.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ceph: add ceph_sb_to_mdsc helper support to parse the mdscfs/ceph/caps.c fs/ceph/dir.c fs/ceph/file.c +5 more+26 -300 replies
2/2ceph: metrics for opened files, pinned caps and opened inodesfs/ceph/caps.c fs/ceph/debugfs.c fs/ceph/file.c +3 more+77 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/2] ceph: metrics for opened files, pinned caps and opened inodes

From: Xiubo Li <[email protected]>

Changed in V5:
- Remove mdsc parsing helpers except the ceph_sb_to_mdsc()
- Remove the is_opened member.

Changed in V4:
- A small fix about the total_inodes.

Changed in V3:
- Resend for V2 just forgot one patch, which is adding some helpers support to simplify the code.

Changed in V2:
- Add number of inodes that have opened files.
- Remove the dir metrics and fold into files.

Xiubo Li (2):
ceph: add ceph_sb_to_mdsc helper support to parse the mdsc
ceph: metrics for opened files, pinned caps and opened inodes

 fs/ceph/caps.c    | 41 +++++++++++++++++++++++++++++++++++++----
 fs/ceph/debugfs.c | 11 +++++++++++
 fs/ceph/dir.c     | 20 +++++++-------------
 fs/ceph/file.c    | 13 ++++++-------
 fs/ceph/inode.c   | 11 ++++++++---
 fs/ceph/locks.c   |  2 +-
 fs/ceph/metric.c  | 14 ++++++++++++++
 fs/ceph/metric.h  |  7 +++++++
 fs/ceph/quota.c   | 10 +++++-----
 fs/ceph/snap.c    |  2 +-
 fs/ceph/super.h   |  6 ++++++
 11 files changed, 103 insertions(+), 34 deletions(-)
Signature · 1 line
2.18.4