29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

gpfsClearFileCache_t Structure<br />

Name<br />

gpfsClearFileCache_t – Indicates file access in the near future is not expected.<br />

Library<br />

<strong>GPFS</strong> Library (libgpfs.a for AIX, libgpfs.so for Linux)<br />

Structure<br />

typedef struct<br />

{<br />

int structLen;<br />

int structType;<br />

} gpfsClearFileCache_t;<br />

Description<br />

The gpfsClearFileCache_t structure indicates file access in the near future is not expected.<br />

The application does not expect to make any further accesses to the file in the near future, so <strong>GPFS</strong><br />

removes any data or metadata pertaining to the file from its cache.<br />

Multiple node applications that have finished one phase of their computation may want to use this hint<br />

before the file is accessed in a conflicting mode from another node in a later phase. The potential<br />

performance benefit is that <strong>GPFS</strong> can avoid later synchronous cache consistency operations.<br />

Members<br />

structLen Length of the gpfsClearFileCache_t structure.<br />

structType Structure identifier <strong>GPFS</strong>_CLEAR_FILE_CACHE.<br />

Location<br />

/usr/lpp/mmfs/lib/libgpfs.a for AIX, /usr/lpp/mmfs/lib/libgpfs.so for Linux<br />

346 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!