diff options
author | Christof Schmitt <christof.schmitt@us.ibm.com> | 2012-03-02 14:26:24 -0700 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-03-22 18:41:22 +0100 |
commit | 62616784ae5460bfd8f68ccfe596f80f55727b87 (patch) | |
tree | 2e860c5e93939fa27affcee669519be687c759d6 /lib/popt | |
parent | a9cfd80d8722f9af7fc18ea70115a6b1b1033168 (diff) | |
download | samba-62616784ae5460bfd8f68ccfe596f80f55727b87.tar.gz samba-62616784ae5460bfd8f68ccfe596f80f55727b87.tar.bz2 samba-62616784ae5460bfd8f68ccfe596f80f55727b87.zip |
s3:vfs_gpfs: Report disk space and usage on GPFS share according to quotas
When a client requests the information about free space and space used,
adjust the reported values according to quotas in the GPFS file system:
- Retrieve quotas for the current user, current group and fileset for
the top level of the share.
- If the soft block quota grace time has expired, report disk as full.
- If a hard block quota has been exceeded, report disk as full.
- If none of the hard block quotas been exceeded, report
share size and free space according to the lowest limits found in
the quotas.
- If no applicable hard block quota has been set, report the
information from the statfs call.
This feature is disabled by default and has to be enabled by setting the
option gpfs:dfreequota.
Diffstat (limited to 'lib/popt')
0 files changed, 0 insertions, 0 deletions