tshete(a)ddn.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1195949?usp=email )
Change subject: Support free disk space reporting for project quotas
......................................................................
Support free disk space reporting for project quotas
FSSTAT, FSAL_VFS currently ignores the requested object
handle and calls statvfs() on the root of the export.
This means that project quotas on directories are not
considered when reporting free space. So to resolve
this change is done to get a file descriptor for the
requested object handle and call fstatvfs() on that.
This fix is similar to below FSAL change for GPFS:
299943697e4f309b01bac43742abd42f960a80f1
Change-Id: I632c6b6c37c01a5b0596c06af0f3dd4aefe5519f
Signed-off-by: Trupti Shete <tshete(a)ddn.com>
---
M src/FSAL/FSAL_VFS/export.c
1 file changed, 23 insertions(+), 2 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/49/1195949/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1195949?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I632c6b6c37c01a5b0596c06af0f3dd4aefe5519f
Gerrit-Change-Number: 1195949
Gerrit-PatchSet: 1
Gerrit-Owner: tshete(a)ddn.com