nfs-ganesha 1.4
Functions

fsal_common.h File Reference

#include "fsal.h"
#include "HPSSclapiExt/hpssclapiext.h"

Go to the source code of this file.

Functions

int HPSSFSAL_GetFilesetRoot (char *fileset_name, ns_ObjHandle_t *p_root_hdl)
void HPSSFSAL_BuildCos (fsal_uint_t CosId, hpss_cos_hints_t *hints, hpss_cos_priorities_t *hintpri)
int HPSSFSAL_IsStaleHandle (ns_ObjHandle_t *p_hdl, TYPE_CRED_HPSS *p_cred)

Function Documentation

void HPSSFSAL_BuildCos ( fsal_uint_t  CosId,
hpss_cos_hints_t *  hints,
hpss_cos_priorities_t *  hintpri 
)

HPSSFSAL_BuildCos : Fills Cos structures from a CosId.

Parameters:
CosId(input): The chosen COSId.
hints(output): The filled hpss_cos_hints_t structure.
hintpri(output): The filled hpss_cos_priorities_t structure.
Returns:
Nothing.

Definition at line 80 of file FSAL_HPSS/fsal_common.c.

int HPSSFSAL_GetFilesetRoot ( char *  fileset_name,
ns_ObjHandle_t *  p_root_hdl 
)

Common HPSS tools for internal use in the FSAL.

HPSSFSAL_GetFilesetRoot : Retrieves info about the root of a fileset (handle and attributes).

Parameters:
hpss_fileattr_t(input/output): Pointer to the attributes to be retrieved.
Returns:
The HPSS error code (0 if no error, a negative value else).

Definition at line 29 of file FSAL_HPSS/fsal_common.c.

int HPSSFSAL_IsStaleHandle ( ns_ObjHandle_t *  p_hdl,
TYPE_CRED_HPSS *  p_cred 
)

Definition at line 106 of file FSAL_HPSS/fsal_common.c.