ceph: quota: report root dir quota usage in statfs
This commit changes statfs default behaviour when reporting usage statistics. Instead of using the overall filesystem usage, statfs now reports the quota for the filesystem root, if ceph.quota.max_bytes has been set for this inode. If quota hasn't been set, it falls back to the old statfs behaviour. A new mount option is also added ('noquotadf') to disable this behaviour. Signed-off-by: Luis Henriques <lhenriques@suse.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
这个提交包含在:
@@ -149,6 +149,10 @@ Mount Options
|
||||
noasyncreaddir
|
||||
Do not use the dcache as above for readdir.
|
||||
|
||||
noquotadf
|
||||
Report overall filesystem usage in statfs instead of using the root
|
||||
directory quota.
|
||||
|
||||
More Information
|
||||
================
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户