Optional functions implemented in DMAPI for GPFS

These optional functions, as defined in the System Management: Data Storage Management (XDSM) API Common Applications Environment (CAE) Specification C429, The Open Group, ISBN 1-85912-190-X, are implemented in DMAPI for GPFS.

For C declarations of these optional functions implemented in DMAPI for GPFS, refer to the dmapi.h file located in the /usr/lpp/mmfs/include directory. However, for a quick description of the optional functions and their applications, refer to the following set of functions:
dm_downgrade_right
Change an exclusive access right to a shared access right.
dm_get_bulkall
Return a file system's bulk data management attributes.
dm_get_dmattr
Return a data management attribute.
dm_getall_dmattr
Return all data management attributes of a file.
dm_handle_to_fsid
Get a file system ID using its handle.
dm_handle_to_igen
Get inode generation count using a handle.
dm_handle_to_ino
Get inode from a handle.
dm_make_handle
Create a DMAPI object handle.
dm_make_fshandle
Create a DMAPI file system handle.
dm_punch_hole
Make a hole in a file.
dm_probe_hole
Calculate the rounded result of the area where it is assumed that a hole is to be punched.
dm_remove_dmattr
Delete a data management attribute.
dm_set_dmattr
Define or update a data management attribute.
dm_set_return_on_destroy
Indicate a DM attribute to return with destroy events.
dm_sync_by_handle
Synchronize the in-memory state of a file with the physical medium.
dm_upgrade_right
Change a currently held access right to be exclusive.