]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: get quota root based off of provided inode in statfs
authorChristopher Hoffman <choffman@redhat.com>
Tue, 5 Aug 2025 19:39:29 +0000 (19:39 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Tue, 19 Aug 2025 14:48:15 +0000 (14:48 +0000)
commit57bf683d45f95e091e942188e6a79a697ede0de4
treee65a191e16bc30892ffa74e2394ff78f0759b277
parentb8949266cc33351c32385de462c73e9e6c10770a
client: get quota root based off of provided inode in statfs

In statfs, get quota_root for inode provided. Check if a quota
is directly applied to inode. If not, reverse tree walk up and
maybe find a quota set higher up the tree.

Fixes: https://tracker.ceph.com/issues/72355
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
(cherry picked from commit 85f9fc29d202e1b050e50ad8bae13d7751ef28db)
src/client/Client.cc