]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds/CDentry: shorten path before logging
authorRishabh Dave <ridave@redhat.com>
Thu, 21 Aug 2025 11:51:48 +0000 (17:21 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 1 Oct 2025 19:01:46 +0000 (00:31 +0530)
commit3c7e60a4d336720751a21696683d299d8cd191a8
treeaa1fed55f2f35347c54530ade70797550c7a414c
parent7dbb4e9833f91d79a981c669c5a27996295eb2c1
mds/CDentry: shorten path before logging

Printing full path in logs not only is unuseful but also reduces the
readability of logs (image path with 2000 components). Therefore, print
only 10 final components of the path.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/include/filepath.cc
src/include/filepath.h
src/mds/CDentry.cc