nfs-ganesha 1.4
Functions | Variables

nfs_rpc_callback_simulator.c File Reference

RPC callback dispatch package. More...

#include <unistd.h>
#include <sys/types.h>
#include <sys/param.h>
#include <time.h>
#include <pthread.h>
#include <assert.h>
#include "nlm_list.h"
#include "abstract_mem.h"
#include "fsal.h"
#include "nfs_core.h"
#include "log.h"
#include "nfs_rpc_callback.h"
#include "nfs_rpc_callback_simulator.h"
#include "sal_functions.h"
#include "ganesha_dbus.h"

Go to the source code of this file.

Functions

void nfs_rpc_cbsim_pkginit (void)
void nfs_rpc_cbsim_pkgshutdown (void)

Variables

hash_table_tht_confirmed_client_id

Detailed Description

RPC callback dispatch package.

Author:
Matt Benjamin and Lee Dobryden

DESCRIPTION

This module implements a stocastic dispatcher for callbacks, which works by traversing the list of connected clients and, dispatching a callback at random in consideration of state.

This concept is inspired by the upcall simulator, though necessarily less fully satisfactory until delegation and layout state are available.

Definition in file nfs_rpc_callback_simulator.c.


Function Documentation

void nfs_rpc_cbsim_pkginit ( void  )

Definition at line 397 of file nfs_rpc_callback_simulator.c.

void nfs_rpc_cbsim_pkgshutdown ( void  )

Definition at line 406 of file nfs_rpc_callback_simulator.c.


Variable Documentation

Definition at line 58 of file nfs4_clientid.c.