nfs-ganesha 1.4
Functions | Variables

fsal_errors.c File Reference

#include "fsal.h"

Go to the source code of this file.

Functions

fsal_boolean_t fsal_is_retryable (fsal_status_t status)
family_error_t __attribute__ ((__unused__))
const char * msg_fsal_err (fsal_errors_t fsal_err)
const char * label_fsal_err (fsal_errors_t fsal_err)

Variables

const char * fsal_function_names []

Function Documentation

fsal_boolean_t fsal_is_retryable ( fsal_status_t  status)

fsal_is_retryable: Indicates if an FSAL error is retryable, i.e. if the caller has a chance of succeeding if it tries to call again the function that returned such an error code.

Parameters:
status(input),:The fsal status whom retryability is to be tested.
Returns:
- TRUE if the error is retryable.
  • FALSE if the error is NOT retryable.

Todo:
: ERR_FSAL_DELAY : The only retryable error ?

Definition at line 37 of file fsal_errors.c.

const char* label_fsal_err ( fsal_errors_t  fsal_err)

Definition at line 174 of file fsal_errors.c.

const char* msg_fsal_err ( fsal_errors_t  fsal_err)

Definition at line 163 of file fsal_errors.c.


Variable Documentation

const char* fsal_function_names[]
Initial value:
 {
  "FSAL_lookup", "FSAL_access", "FSAL_create", "FSAL_mkdir", "FSAL_truncate",
  "FSAL_getattrs", "FSAL_setattrs", "FSAL_link", "FSAL_opendir", "FSAL_readdir",
  "FSAL_closedir", "FSAL_open", "FSAL_read", "FSAL_write", "FSAL_close",
  "FSAL_readlink", "FSAL_symlink", "FSAL_rename", "FSAL_unlink", "FSAL_mknode",
  "FSAL_unused_20", "FSAL_dynamic_fsinfo", "FSAL_rcp", "FSAL_Init",
  "FSAL_get_stats", "FSAL_unused_25", "FSAL_unused_26", "FSAL_unused_27",
  "FSAL_BuildExportContext", "FSAL_InitClientContext", "FSAL_GetClientContext",
  "FSAL_lookupPath", "FSAL_lookupJunction", "FSAL_test_access",
  "FSAL_rmdir", "FSAL_CleanObjectResources", "FSAL_open_by_name", "FSAL_open_by_fileid",
  "FSAL_ListXAttrs", "FSAL_GetXAttrValue", "FSAL_SetXAttrValue", "FSAL_GetXAttrAttrs",
  "FSAL_close_by_fileid", "FSAL_setattr_access", "FSAL_merge_attrs", "FSAL_rename_access",
  "FSAL_unlink_access", "FSAL_link_access", "FSAL_create_access", "FSAL_unused_49", "FSAL_CleanUpExportContext",
  "FSAL_getextattrs", "FSAL_commit", "FSAL_getattrs_descriptor", "FSAL_lock_op",
  "FSAL_UP_init", "FSAL_UP_addfilter", "FSAL_UP_getevents", "FSAL_unused_58",
  "FSAL_layoutget", "FSAL_layoutreturn", "FSAL_layoutcommit", "FSAL_getdeviceinfo",
  "FSAL_getdevicelist", "FSAL_ds_read", "FSAL_ds_write", "FSAL_ds_commit", "FSAL_share_op"
}

Definition at line 55 of file fsal_errors.c.