nfs-ganesha 1.4
Classes | Defines | Typedefs | Functions

pnfs_internal.h File Reference

File System Abstraction Layer types and constants. More...

Go to the source code of this file.

Classes

struct  pnfs_ds_parameter__
struct  pnfs_layoutfile_parameter__

Defines

#define MAX_PNFS_DS   2

Typedefs

typedef struct pnfs_ds_parameter__ pnfs_ds_parameter_t
typedef struct
pnfs_layoutfile_parameter__ 
pnfs_parameter_t

Functions

nfsstat4 PARALLEL_FS_pnfs_getdevicelist (GETDEVICELIST4args *pargs, compound_data_t *data, GETDEVICELIST4res *pres)
nfsstat4 PARALLEL_FS_pnfs_getdeviceinfo (GETDEVICEINFO4args *pargs, compound_data_t *data, GETDEVICEINFO4res *pres)
nfsstat4 PARALLEL_FS_pnfs_layoutcommit (LAYOUTCOMMIT4args *pargs, compound_data_t *data, LAYOUTCOMMIT4res *pres)
nfsstat4 PARALLEL_FS_pnfs_layoutget (LAYOUTGET4args *pargs, compound_data_t *data, LAYOUTGET4res *pres)
nfsstat4 PARALLEL_FS_pnfs_layoutreturn (LAYOUTRETURN4args *pargs, compound_data_t *data, LAYOUTRETURN4res *pres)

Detailed Description

File System Abstraction Layer types and constants.

Author:
Author:
leibovic
Date:
Date:
2006/02/08 12:45:27
Version:
Revision:
1.19

Definition in file pnfs_internal.h.


Define Documentation

#define MAX_PNFS_DS   2

Definition at line 44 of file pnfs_internal.h.


Typedef Documentation


Function Documentation

nfsstat4 PARALLEL_FS_pnfs_getdeviceinfo ( GETDEVICEINFO4args pargs,
compound_data_t data,
GETDEVICEINFO4res pres 
)

Definition at line 57 of file pnfs_getdeviceinfo.c.

nfsstat4 PARALLEL_FS_pnfs_getdevicelist ( GETDEVICELIST4args pgetdevicelistargs,
compound_data_t data,
GETDEVICELIST4res pgetdevicelistres 
)

pnfs_parallel_fs_getdevicelist: manages the OP4_GETDEVICELIST operation for pNFS/File on top of PARALLEL_FS

Manages the OP4_GETDEVICELIST operation for pNFS/File on top of PARALLEL_FS

Parameters:
pgetdevicelistargs[IN] pointer to getdevicelist's arguments
data[INOUT] pointer to related compoud request
pgetdevicelistres[OUT] pointer to getdevicelistt's results
Returns:
NFSv4 status (with NFSv4 error code)

Definition at line 67 of file pnfs_getdevicelist.c.

nfsstat4 PARALLEL_FS_pnfs_layoutcommit ( LAYOUTCOMMIT4args playoutcommitargs,
compound_data_t data,
LAYOUTCOMMIT4res playoutcommitres 
)

pnfs_parallel_fs_layoutcommit: manages the OP4_LAYOUTCOMMIT operation for pNFS/File on top of PARALLEL_FS

Manages the OP4_LAYOUTCOMMIT operation for pNFS/File on top of PARALLEL_FS

Parameters:
playoutcommitargs[IN] pointer to layoutcommit's arguments
data[INOUT] pointer to related compoud request
playoutcommitres[OUT] pointer to layoutcommit's results
Returns:
NFSv4 status (with NFSv4 error code)

Definition at line 66 of file pnfs_layoutcommit.c.

nfsstat4 PARALLEL_FS_pnfs_layoutget ( LAYOUTGET4args pargs,
compound_data_t data,
LAYOUTGET4res pres 
)

Todo:
manages more than one segment
Todo:
It should be better to use xdr_nfsv4_1_file_layout4 on a xdrmem stream
Todo:
: this part of the code is to be reviewed

Definition at line 54 of file pnfs_layoutget.c.

nfsstat4 PARALLEL_FS_pnfs_layoutreturn ( LAYOUTRETURN4args playoutreturnargs,
compound_data_t data,
LAYOUTRETURN4res playoutreturnres 
)

pnfs_parallel_fs_layoutreturn: manages the OP4_LAYOUTRETURN operation for pNFS/File on top of PARALLE_FS

Manages the OP4_LAYOUTRETURNT operation for pNFS/File on top of PARALLE_FS

Parameters:
playoutreturnargs[IN] pointer to layoutreturn's arguments
data[INOUT] pointer to related compoud request
playoutreturnres[OUT] pointer to layoutreturnt's results
Returns:
NFSv4 status (with NFSv4 error code)

Definition at line 66 of file pnfs_layoutreturn.c.