]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge PR #65817 into wip-jcollin-testing-20260217.030412-squid wip-jcollin-testing-20260217.030412-squid testing/wip-jcollin-testing-20260217.030412-squid
authorJos Collin <jcollin@redhat.com>
Tue, 17 Feb 2026 03:04:39 +0000 (08:34 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 17 Feb 2026 03:04:39 +0000 (08:34 +0530)
* refs/pull/65817/head:
src/common: add helper to prepend "..." to trimmed paths
mds/ScrubStack: avoid generating inode path since it is unused
mds: fix few log entries
client: trim path before logging it
mds: log trimmed path wherever generating full path is necessary
mds: for logging generate only 10 final components of dentry path
mds: for logging generate only 10 final components of inode path
qa, test: run unit tests for cephfs.pyx with non-root user
test/pybind: add unit tests for rmtree() in cephfs python bindings
pybind/cephfs, mgr/volumes: refactor purge() to be non-recursive

1  2 
src/client/Client.cc
src/mds/CDentry.cc
src/mds/CDir.h
src/mds/Server.cc
src/mds/SessionMap.cc

index 09c94e1a425578698aefe9d2345182d302c82173,4e7e5ad2865ba7c4678194df9e2bef7f66b6a455..c43746a5640bb8610219e424f87bd81e9e37dfe9
@@@ -7702,13 -7708,8 +7709,13 @@@ int Client::path_walk(InodeRef dirinode
      int caps = 0;
      dname = path[i];
      ldout(cct, 10) << " " << i << " " << *diri << " " << dname << dendl;
-     ldout(cct, 20) << "  (path is " << path << ")" << dendl;
+     ldout(cct, 20) << "  (path is " << trimmed_path << ")" << dendl;
      InodeRef next;
 +    if (!diri.get()->is_dir()) {
 +      ldout(cct, 20) << diri.get() << " is not a dir inode, name " << dname.c_str() << dendl;
 +      rc = -ENOTDIR;
 +      goto out;
 +    }
      if (should_check_perms()) {
        int r = may_lookup(diri.get(), perms);
        if (r < 0) {
Simple merge
diff --cc src/mds/CDir.h
Simple merge
Simple merge
Simple merge