fsckpt_getqlimit, fsckpt_setqlimit - set or get Storage Checkpoint quota limits
#include <fsckpt.h>int fsckpt_setqlimit(void *fshandle, vx_daddr_t hardlimit, vx_daddr_t softlimit, int flags)
int fsckpt_getqlimit(void *fshandle, vx_daddr_t *hardlimit, vx_daddr_t *softlimit, vx_daddr_t *curused, int flags)
VRTSvxfs
fsckpt_setqlimit() sets hard and soft quota limits. Action flags can also be set for quota violations. Specify hardlimit and softlimit in kilobytes.fsckpt_getqlimit() returns hardlimit, softlimit, current usage, and any flags set using fsckpt_setqlimit()
CI_CLCREATION No new Storage Checkpoint creation allowed when usage exceeds the soft limit. CI_FAILOPR Fail the operation instead of removing removable Storage Checkpoints. Existing Storage Checkpoints are preserved.
fsckpt_setqlimit() and fsckpt_getqlimit() return zero on success, non-zero on failure.
EINVAL The function is being used incorrectly, or the arguments to the function could not be validated. EIO An I/O error occurred on the device on which the file system or Storage Checkpoint is mounted. ENOTSUP The feature is unsupported for this disk layout version. EPERM The calling process does not have correct access privileges.
fsckptadm(1M), fsckpt_setquota(3)
VxFS 7.3 | fsckpt_setqlimit(3) |