gpfs_quotaInfo_t structure

Contains buffer mapping for the gpfs_quotactl() subroutine.

Library

GPFS Library (libgpfs.a for AIX®, libgpfs.so for Linux®)

Structure


typedef struct gpfs_quotaInfo
{
  gpfs_off64_t blockUsage;      /* current block count */
  gpfs_off64_t blockHardLimit;  /* absolute limit on disk blks alloc */
  gpfs_off64_t blockSoftLimit;  /* preferred limit on disk blks */
  gpfs_off64_t blockInDoubt;    /* distributed shares + "lost" usage for blks */
  int          inodeUsage;      /* current # allocated inodes */
  int          inodeHardLimit;  /* absolute limit on allocated inodes */
  int          inodeSoftLimit;  /* preferred inode limit */
  int          inodeInDoubt;    /* distributed shares + "lost" usage for inodes */
  gpfs_uid_t   quoId;           /* uid, gid or fileset id
  int          entryType;       /* entry type, not used */
  unsigned int blockGraceTime;  /* time limit for excessive disk use */
  unsigned int inodeGraceTime;  /* time limit for excessive inode use */
} gpfs_quotaInfo_t;

Description

The gpfs_quotaInfo_t structure contains detailed information for the gpfs_quotactl() subroutine.

Members

blockUsage
The current block count in 1 KB units.
blockHardLimit
The absolute limit on disk block allocation.
blockSoftLimit
The preferred limit on disk block allocation.
blockInDoubt
The distributed shares and block usage that have not been not accounted for.
inodeUsage
The current number of allocated inodes.
inodeHardLimit
The absolute limit on allocated inodes.
inodeSoftLimit
The preferred inode limit.
inodeInDoubt
The distributed inode share and inode usage that have not been accounted for.
quoId
The user ID, group ID, or fileset ID.
entryType
Not used
blockGraceTime
The time limit (in seconds since the Epoch) for excessive disk use.
inodeGraceTime
The time limit (in seconds since the Epoch) for excessive inode use.

Epoch is midnight on January 1, 1970 UTC (Coordinated Universal Time).

Location

/usr/lpp/mmfs/lib/libgpfs.a for AIX

/usr/lpp/mmfs/lib/libgpfs.so for Linux