nfs-ganesha 1.4
Functions | Variables

fsal_init.c File Reference

#include <string.h>
#include <signal.h>
#include "fsal.h"
#include "fsal_internal.h"
#include "fsal_common.h"
#include <rpc/rpc.h>

Go to the source code of this file.

Functions

void * FSAL_proxy_clientid_renewer_thread (void *)
fsal_status_t PROXYFSAL_Init (fsal_parameter_t *init_info)
fsal_status_t PROXYFSAL_terminate ()

Variables

pthread_t thrid_clientid_renewer
proxyfs_specific_initinfo_t global_fsal_proxy_specific_info

Function Documentation

void* FSAL_proxy_clientid_renewer_thread ( void *  Arg)

FSAL_proxy_clientid_renewer_thread: this thread is made for refreshing the clientid used by the FSAL, automatically.

This thread is made for refreshing the clientid used by the FSAL, automatically.

Returns:
never returns... This is a infinite loop that will die when the daemon stops

Todo:
: use getattr to have an actual value of server's lease duration
Todo:
: use getattr to have an actual value of server's lease duration

Definition at line 277 of file fsal_proxy_clientid.c.

fsal_status_t PROXYFSAL_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 128 of file FSAL_PROXY/fsal_init.c.

fsal_status_t PROXYFSAL_terminate ( )

Definition at line 162 of file FSAL_PROXY/fsal_init.c.


Variable Documentation

Definition at line 44 of file FSAL_PROXY/fsal_init.c.

Definition at line 41 of file FSAL_PROXY/fsal_init.c.