nfs-ganesha 1.4
Functions | Variables

fsal_common.c File Reference

#include <assert.h>
#include "fsal_common.h"
#include "fsal_internal.h"

Go to the source code of this file.

Functions

libzfswrap_vfs_t * ZFSFSAL_GetVFS (zfsfsal_handle_t *handle)
void ZFSFSAL_VFS_RDLock ()
void ZFSFSAL_VFS_WRLock ()
void ZFSFSAL_VFS_Unlock ()

Variables

size_t i_snapshots
snapshot_tp_snapshots
pthread_rwlock_t vfs_lock

Function Documentation

libzfswrap_vfs_t* ZFSFSAL_GetVFS ( zfsfsal_handle_t handle)

Definition at line 22 of file FSAL_ZFS/fsal_common.c.

void ZFSFSAL_VFS_RDLock ( )

Definition at line 45 of file FSAL_ZFS/fsal_common.c.

void ZFSFSAL_VFS_Unlock ( )

Definition at line 55 of file FSAL_ZFS/fsal_common.c.

void ZFSFSAL_VFS_WRLock ( )

Definition at line 50 of file FSAL_ZFS/fsal_common.c.


Variable Documentation

size_t i_snapshots

Common FS tools for internal use in the FSAL.

Definition at line 35 of file FSAL_ZFS/fsal_internal.c.

Definition at line 36 of file FSAL_ZFS/fsal_internal.c.

pthread_rwlock_t vfs_lock

Definition at line 37 of file FSAL_ZFS/fsal_internal.c.