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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

gpfsCancelHints_t Structure<br />

Name<br />

gpfsCancelHints_t – Indicates to remove any hints against the open file h<strong>and</strong>le.<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 />

} gpfsCancelHints_t;<br />

Description<br />

The gpfsCancelHints_t structure indicates to remove any hints against the open file h<strong>and</strong>le.<br />

<strong>GPFS</strong> removes any hints that may have been issued against this open file h<strong>and</strong>le:<br />

v The hint status of the file is restored to what it would have been immediately after being opened, but<br />

does not affect the contents of the <strong>GPFS</strong> file cache. Cancelling an earlier hint that resulted in data<br />

being removed from the <strong>GPFS</strong> file cache does not bring that data back into the cache. Data reenters<br />

the cache only upon access by the application or by user-driven or automatic prefetching.<br />

v Only the <strong>GPFS</strong>_MULTIPLE_ACCESS_RANGE hint has a state that might be removed by the<br />

<strong>GPFS</strong>_CANCEL_HINTS directive.<br />

Note: This directive cancels only the effect of other hints, not other directives.<br />

Members<br />

structLen Length of the gpfsCancelHints_t structure.<br />

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

Location<br />

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

Chapter 9. <strong>GPFS</strong> programming interfaces 345

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

Saved successfully!

Ooh no, something went wrong!