STRUCT CEPH_SESSION_FEATURE_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ceph_...feature_desc(9) β€” Kernel API Manual πŸ’…

πŸ’– NAME πŸ’–

struct ceph_session_feature_desc β€” okay so it maps feature bits to names for debugfs. That’s literally the whole gig, and it ate. ✨

✨ SYNOPSIS ✨

       struct ceph_session_feature_desc {
           unsigned int bit;
           const char *name;
        };

🫢 Members 🫢

  • bit β€” the feature bit number, pulled from enum ceph_feature_type (check mds_client.h, bestie, it’s right there πŸ‘€).
  • name β€” the human-readable feature name for debugfs output. cute little label energy πŸŽ€.

🌸 Description 🌸

This struct is used by metric_features_show to display negotiated session features. Not me explaining it in one sentence and then serving absolutely no extra drama β€” that’s the spec, and honestly? iconic πŸ’….

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./fs/ceph/debugfs.c β€” go peek, iykyk πŸ¦‹.
xoxo, this page is from the ./fs/ceph source and dated October 2026 β€” footer title struct ceph_...feature_desc(9) is also invited to the group chat πŸ’–
πŸ“¦ where this page comes from