Bug 15954 - vfs_ceph_disk_free should use the inode corresponding to the connectpath to report quota information
Summary: vfs_ceph_disk_free should use the inode corresponding to the connectpath to r...
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Shweta Sodani
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-20 09:24 UTC by Shweta Sodani
Modified: 2025-11-28 17:05 UTC (History)
2 users (show)

See Also:


Attachments
patch from master for v4-23-test (2.92 KB, patch)
2025-11-28 17:05 UTC, Guenther Deschner
gd: review? (anoopcs)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shweta Sodani 2025-11-20 09:24:00 UTC
For statfs information , vfs_ceph_disk_free is using the inode based on mount point , this always gives root volume quota information when proxy is enabled because proxy internally mount always root volume. But If quota is set for subvolume share, It doesn't report the correct information for subvolume. Ideally  it should look the inode based on connectpath to fetch the correct inode  and to report the correct quota information of subvolume/subdir.
Comment 1 Samba QA Contact 2025-11-24 18:04:03 UTC
This bug was referenced in samba master:

f2ccf020046bc4f0465dfa8b5a8737b018fa66ac
Comment 2 Guenther Deschner 2025-11-28 17:05:59 UTC
Created attachment 18783 [details]
patch from master for v4-23-test