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.

gpfsGetStoragePool_t Structure<br />

Name<br />

gpfsGetStoragePool_t – Obtains a file’s storage pool name.<br />

Library<br />

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

Structure<br />

typedef struct {<br />

int structLen;<br />

int structType;<br />

char buffer[<strong>GPFS</strong>_FCNTL_MAX_NAME_BUFFER];<br />

} gpfsGetStoragePool_t<br />

Description<br />

The gpfsGetStoragePool_t structure is used to obtain a file’s storage pool name.<br />

Members<br />

structLen Length of the gpfsGetStoragePool_t structure.<br />

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

buffer The size of the buffer may vary, but must be a multiple of eight. Upon successful<br />

completion of the call, the buffer contains a null-terminated character string for the name<br />

of the requested object.<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 359

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

Saved successfully!

Ooh no, something went wrong!