]> 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>
Wed, 13 Aug 2025 13:06:30 +0000 (13:06 +0000)
commit85f9fc29d202e1b050e50ad8bae13d7751ef28db
tree50e7772f25fa0f70e77add64ddd6482192a4481e
parent0c6a8add81c61960b733ce3ec38f7bbb3b5e93e9
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>
src/client/Client.cc