+41
−0
+24
−14
+1
−0
+10
−0
Loading
Add support for parsing the subvolume_id field from InodeStat v9 and storing it in the inode for later use by subvolume metrics tracking. The subvolume_id identifies which CephFS subvolume an inode belongs to, enabling per-subvolume I/O metrics collection and reporting. This patch: - Adds subvolume_id field to struct ceph_mds_reply_info_in - Adds i_subvolume_id field to struct ceph_inode_info - Parses subvolume_id from v9 InodeStat in parse_reply_info_in() - Adds ceph_inode_set_subvolume() helper to propagate the ID to inodes - Initializes i_subvolume_id in inode allocation and clears on destroy Signed-off-by:Alex Markuze <amarkuze@redhat.com> Reviewed-by:
Viacheslav Dubeyko <Slava.Dubeyko@ibm.com> Signed-off-by:
Ilya Dryomov <idryomov@gmail.com>