Following is a table summarizing the GPFS programming interfaces:
| Interface | Purpose |
|---|---|
| gpfs_prealloc( ) Subroutine | Preallocates disk storage for a GPFS file. |
| gpfs_stat( ) Subroutine | Returns exact file status for a GPFS file. |
| gpfs_fstat( ) Subroutine | Returns exact file status for a GPFS file. |
| gpfs_getacl( ) Subroutine | Retrieves the access control information for a GPFS file. |
| gpfs_putacl( ) Subroutine | Sets the access control information for a GPFS file. |
| gpfs_fgetattrs( ) Subroutine | Retrieves all extended file attributes in opaque format. |
| gpfs_fputattrs( ) Subroutine | Sets all the extended file attributes for a file |
| gpfs_fcntl( ) Subroutine | Passes hints and directives to GPFS on behalf of an open file. |
| gpfsFcntlHeader_t Structure | Contains declaration information for the gpfs_fcntl( ) function. |
| Hints |
|
| gpfsAccessRange_t Structure | Declares an access range within a file for an application. |
| gpfsFreeRange_t Structure | Undeclares an access range within a file for an application. |
| gpfsMultipleAccessRange_t Structure | Defines prefetching and write-behind file access for an application. |
| gpfsClearFileCache_t Structure | Indicates file access in the near future is not expected. |
| Directives |
|
| gpfsCancelHints_t Structure | Indicates to remove any hints against the open file handle. |
| gpfsDataShipStart_t Structure | Initiates data shipping mode. |
| gpfsDataShipMap_t Structure | Indicates which agent nodes are to be used for data shipping. |
| gpfsDataShipStop_t Structure | Takes a file out of data shipping mode. |