-
Notifications
You must be signed in to change notification settings - Fork 6k
cephfs-top: add mount point type as one of the field in cephfs-top #60790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
cephfs-top: add mount point type as one of the field in cephfs-top #60790
Conversation
14f73f4
to
12f20cf
Compare
jenkins retest this please |
jenkins test make check arm64 |
@@ -184,6 +186,14 @@ class FSTopBase(object): | |||
elif item == FS_TOP_MAIN_WINDOW_COL_MNT_ROOT: | |||
client_id_meta.update({item: | |||
client_meta[CLIENT_METADATA_MOUNT_ROOT_KEY]}) | |||
elif item == FS_TOP_MAIN_WINDOW_COL_MNTPT_TYPE: | |||
if "kernel_version" in client_meta: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Older kernel do not advertise kernel_version
in client metadata, so with this logic they would get reported as libcephfs
clients :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't we giving the number of kernel clients with this same way? https://github.com/ceph/ceph/blob/main/src/tools/cephfs/top/cephfs-top#L268 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How old are the kernels? Does libcephfs have any of its own special metadata, or formatting we can use, to disambiguate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@neesingh-rh Have you checked regarding @gregsfortytwo comment? cephfs-top might be reporting incorrect libcephfs clients if older kernel clients are using the file system.
Fixes: https://tracker.ceph.com/issues/69000 Signed-off-by: Neeraj Pratap Singh <[email protected]>
12f20cf
to
d87dba8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good to me.
jenkins retest this please |
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
jenkins retest this please |
Fixes: https://tracker.ceph.com/issues/69000
Signed-off-by: Neeraj Pratap Singh [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
x
between the brackets:[x]
. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows
jenkins test rook e2e