path: root/xlators/protocol/server/src/server-rpc-fops.c
diff options
authorvmallika <>2015-01-30 12:10:38 +0530
committerNiels de Vos <>2015-02-23 04:56:47 -0800
commit6518a79634ba505ed06e930907ebf956f8784b7d (patch)
tree55f52692b180745ab40730db505636a065b4258f /xlators/protocol/server/src/server-rpc-fops.c
parentb6c37bd9954fb3b7aee79dbe453f875b70a03e71 (diff)
features/quota: Send the immediate parent with limit in quota statfs
adjustment This is a backport of > Problem: > Assume the directory structure /quota_limit_dir/subdir and > quota_limit_dir is > set with some limit. When quota-deem-statfs is enabled the output of > 'df /quota_limit_dir' would display quota modified values wrt to > quota_limit_dir where as 'df /quota_limit_subdir/subdir' would display > the quota modified values wrt volume root (/). > > This behaviour is not expected since, when mounted with subdirectory > admin doesn't want users to know information above the subdirectory mounted. > > Solution: > Any subdirectory within a quota_limit_dir would show the modified values > as in the /quota_limit_dir. It searches for the nearest parent that has quota > limit set and modifies the statvfs wrt that. > > Change-Id: Ie10fae8999bddbb766b1dbeb881723ed80dce688 > BUG: 1080296 > Signed-off-by: Varun Shastry <> > Reviewed-on: > Reviewed-by: Raghavendra G <> > Tested-by: Raghavendra G <> Change-Id: I5232a82da20d3dfd48303ba2748b86cfc96ff864 BUG: 1115197 Signed-off-by: vmallika <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Niels de Vos <>
Diffstat (limited to 'xlators/protocol/server/src/server-rpc-fops.c')
0 files changed, 0 insertions, 0 deletions