Main Page | Modules | Data Structures | File List | Data Fields | Globals

src/client/sysint/client-state-machine.h File Reference

Declarations for state machine processing on clients. More...

#include "pvfs2-sysint.h"
#include "pvfs2-types.h"
#include "pvfs2-storage.h"
#include "pvfs2-util.h"
#include "PINT-reqproto-encode.h"
#include "job.h"
#include "trove.h"
#include "acache.h"
#include "id-generator.h"
#include "msgpairarray.h"
#include "pint-sysint-utils.h"
#include "pint-perf-counter.h"
#include "state-machine.h"
#include "pvfs2-hint.h"
#include "pint-event.h"

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Functions

PVFS_error PINT_client_state_machine_post (PINT_smcb *smcb, PVFS_sys_op_id *op_id, void *user_ptr)
PVFS_error PINT_client_state_machine_test (PVFS_sys_op_id op_id, int *error_code)
PVFS_error PINT_client_state_machine_testsome (PVFS_sys_op_id *op_id_array, int *op_count, void **user_ptr_array, int *error_code_array, int timeout_ms)
int PINT_client_wait_internal (PVFS_sys_op_id op_id, const char *in_op_str, int *out_error, const char *in_class_str)
void PINT_sys_release (PVFS_sys_op_id op_id)

Detailed Description

Declarations for state machine processing on clients.


Function Documentation

PVFS_error PINT_client_state_machine_post PINT_smcb *  smcb,
PVFS_sys_op_id op_id,
void *  user_ptr
 

Adds a state machine into the list of machines that are being actively serviced.

Here is the call graph for this function:

PVFS_error PINT_client_state_machine_test PVFS_sys_op_id  op_id,
int *  error_code
 

Checks for completion of a specific state machine.

If specific state machine has not completed, progress is made on all posted state machines.

Here is the call graph for this function:

PVFS_error PINT_client_state_machine_testsome PVFS_sys_op_id op_id_array,
int *  op_count,
void **  user_ptr_array,
int *  error_code_array,
int  timeout_ms
 

Checks completion of one or more state machines.

If none of the state machines listed in op_id_array have completed, then progress is made on all posted state machines.

int PINT_client_wait_internal PVFS_sys_op_id  op_id,
const char *  in_op_str,
int *  out_error,
const char *  in_class_str
 

Continually test on a specific state machine until it completes.

This is what is called when PINT_sys_wait or PINT_mgmt_wait is used.

Here is the call graph for this function:

void PINT_sys_release PVFS_sys_op_id  op_id  ) 
 

Finds state machine referenced by op_id and releases resources associated with it.

Here is the call graph for this function:


Generated on Tue Feb 7 02:43:53 2012 for PVFS by doxygen 1.3.5