]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: use subvolume-id in labeled perf counters key instead of subvolume path igolikov-subvolume-68929-2
authorVenky Shankar <vshankar@redhat.com>
Fri, 29 Aug 2025 18:00:53 +0000 (18:00 +0000)
committerVenky Shankar <vshankar@redhat.com>
Fri, 29 Aug 2025 18:00:53 +0000 (18:00 +0000)
commit9aec60cff2dade5f9a50e78dd4adadc6c45a3a50
tree0c4b831589115ec6d858c9b6dd48818322d9cf14
parent0d031ba7a3789fc90898d0a0149d6238d3467c72
mds: use subvolume-id in labeled perf counters key instead of subvolume path

The path being built is by calling MDCache::get_inode() without
holding mds_lock making it unsafe. Until, that is fixed, use a
stringified version of the subvolume-id as path.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/mds/MetricsHandler.cc