nfs-ganesha 1.4
Functions

fsal_init.c File Reference

#include "fsal.h"
#include "fsal_internal.h"

Go to the source code of this file.

Functions

fsal_status_t LUSTREFSAL_Init (fsal_parameter_t *init_info)

Function Documentation

fsal_status_t LUSTREFSAL_Init ( fsal_parameter_t init_info)

FSAL_Init : Initializes the FileSystem Abstraction Layer.

Parameters:
init_info(input, fsal_parameter_t *) : Pointer to a structure that contains all initialization parameters for the FSAL. Specifically, it contains settings about the filesystem on which the FSAL is based, security settings, logging policy and outputs, and other general FSAL options.
Returns:
Major error codes : ERR_FSAL_NO_ERROR (initialisation OK) ERR_FSAL_FAULT (init_info pointer is null) ERR_FSAL_SERVERFAULT (misc FSAL error) ERR_FSAL_ALREADY_INIT (The FS is already initialized) ERR_FSAL_BAD_INIT (FS specific init error, minor error code gives the reason for this error.) ERR_FSAL_SEC_INIT (Security context init error).

Definition at line 42 of file FSAL_LUSTRE/fsal_init.c.