nfs-ganesha 1.4
|
This file that contain the routine required for parsing the NFS specific configuraion file. More...
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/file.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <ctype.h>
#include "log.h"
#include "ganesha_rpc.h"
#include "fsal.h"
#include "nfs23.h"
#include "nfs4.h"
#include "mount.h"
#include "nfs_core.h"
#include "cache_inode.h"
#include "nfs_file_handle.h"
#include "nfs_exports.h"
#include "nfs_tools.h"
#include "nfs_proto_functions.h"
#include "nfs_dupreq.h"
#include "config_parsing.h"
Go to the source code of this file.
This file that contain the routine required for parsing the NFS specific configuraion file.
nfs_read_conf.c : This file that contain the routine required for parsing the NFS specific configuraion file.
Revision 1.10 2005/12/07 14:28:00 deniel Support of stats via stats_thread was added
Revision 1.9 2005/11/30 15:41:15 deniel Added IP/stats conf
Revision 1.8 2005/11/29 13:38:18 deniel bottlenecked ip_stats
Revision 1.6 2005/11/08 15:22:24 deniel WildCard and Netgroup entry for exportlist are now supported
Revision 1.5 2005/10/10 14:27:54 deniel mnt_Mnt does not create root entries in Cache inode any more. This is done before the first request once the export list is read the first time .
Revision 1.4 2005/10/07 07:34:00 deniel Added default parameters support to be able to manage 'simplified' config file
Revision 1.3 2005/08/11 12:37:28 deniel Added statistics management
Revision 1.2 2005/08/03 13:14:00 deniel memset to zero before building the filehandles
Revision 1.1 2005/08/03 06:57:54 deniel Added a libsupport for miscellaneous service functions
Revision 1.1 2005/07/18 14:12:45 deniel Fusion of the dirrent layers in progreess via the implementation of mount protocol
Definition in file nfs_read_conf.c.
#define MAX_NFSPROTO 10 |
#define MAX_NFSPROTO_LEN 256 |
int nfs_get_fsalpathlib_conf | ( | char * | configPath, |
path_str_t * | PathLib, | ||
unsigned int * | plen | ||
) |
Definition at line 1217 of file nfs_read_conf.c.
int nfs_read_client_id_conf | ( | config_file_t | in_config, |
nfs_client_id_parameter_t * | pparam | ||
) |
nfs_read_ip_name_conf: reads the configuration for the Client/ID Cache
Reads the configuration for the Client/ID Cache
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 640 of file nfs_read_conf.c.
int nfs_read_core_conf | ( | config_file_t | in_config, |
nfs_core_parameter_t * | pparam | ||
) |
nfs_read_core_conf: read the configuration ite; for the worker theads.
Reads the configuration ite; for the worker theads.
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 191 of file nfs_read_conf.c.
int nfs_read_dupreq_hash_conf | ( | config_file_t | in_config, |
nfs_rpc_dupreq_parameter_t * | pparam | ||
) |
nfs_read_dupreq_hash_conf: reads the configuration for the hash in Duplicate Request layer.
Reads the configuration for the hash in Duplicate Request layer
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 475 of file nfs_read_conf.c.
int nfs_read_gidmap_conf | ( | config_file_t | in_config, |
nfs_idmap_cache_parameter_t * | pparam | ||
) |
nfs_read_gidmap_conf: reads the configuration for the GID_MAPPER Cache
Reads the configuration for the GID_MAPPER Cache
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 928 of file nfs_read_conf.c.
int nfs_read_ip_name_conf | ( | config_file_t | in_config, |
nfs_ip_name_parameter_t * | pparam | ||
) |
nfs_read_ip_name_conf: reads the configuration for the IP/name.
Reads the configuration for the IP/name.
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 555 of file nfs_read_conf.c.
int nfs_read_state_id_conf | ( | config_file_t | in_config, |
nfs_state_id_parameter_t * | pparam | ||
) |
nfs_read_ip_name_conf: reads the configuration for the Client/ID Cache
Reads the configuration for the Client/ID Cache
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 714 of file nfs_read_conf.c.
int nfs_read_uidmap_conf | ( | config_file_t | in_config, |
nfs_idmap_cache_parameter_t * | pparam | ||
) |
nfs_read_uidmap_conf: reads the configuration for the UID_MAPPER Cache
Reads the configuration for the UID_MAPPER Cache
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 845 of file nfs_read_conf.c.
int nfs_read_version4_conf | ( | config_file_t | in_config, |
nfs_version4_parameter_t * | pparam | ||
) |
nfs_read_version4_conf: read the configuration for NFSv4 stuff
Read the configuration for NFSv4 stuff.
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 1097 of file nfs_read_conf.c.
int nfs_read_worker_conf | ( | config_file_t | in_config, |
nfs_worker_parameter_t * | pparam | ||
) |
nfs_read_worker_conf: read the configuration ite; for the worker theads.
Reads the configuration ite; for the worker theads.
in_config | [IN] configuration file handle |
pparam | [OUT] read parameters |
Definition at line 115 of file nfs_read_conf.c.
void Print_param_in_log | ( | ) |
Print_param_in_log : prints the nfs parameter structure into the logfile
prints the nfs parameter structure into the logfile
pparam | Pointer to the nfs parameter |
Definition at line 1209 of file nfs_read_conf.c.
void Print_param_worker_in_log | ( | nfs_worker_parameter_t * | pparam | ) |
Print_param_in_log : prints the nfs worker parameter structure into the logfile
prints the nfs worker parameter structure into the logfile
pparam | Pointer to the nfs worker parameter |
Definition at line 1191 of file nfs_read_conf.c.