nfs-ganesha 1.4
Defines | Functions

fsal_ds.c File Reference

#include "fsal.h"
#include "fsal_internal.h"
#include "fsal_convert.h"
#include "nfsv41.h"
#include <cephfs/libcephfs.h>
#include <fcntl.h>
#include "HashTable.h"
#include <pthread.h>
#include "fsal_types.h"
#include "fsal_pnfs.h"
#include "pnfs_common.h"
#include "fsal_pnfs_files.h"

Go to the source code of this file.

Defines

#define min(a, b)

Functions

nfsstat4 CEPHFSAL_DS_read (fsal_handle_t *exthandle, fsal_op_context_t *extcontext, const stateid4 *stateid, offset4 offset, count4 requested_length, caddr_t buffer, count4 *supplied_length, fsal_boolean_t *end_of_file)
nfsstat4 CEPHFSAL_DS_write (fsal_handle_t *exthandle, fsal_op_context_t *extcontext, const stateid4 *stateid, offset4 offset, count4 write_length, caddr_t buffer, stable_how4 stability_wanted, count4 *written_length, verifier4 *writeverf, stable_how4 *stability_got)
nfsstat4 CEPHFSAL_DS_commit (fsal_handle_t *exthandle, fsal_op_context_t *extcontext, offset4 offset, count4 count, verifier4 *writeverf)

Define Documentation

#define min (   a,
 
)
Value:
({ typeof (a) _a = (a);                    \
          typeof (b) _b = (b);                  \
          _a < _b ? _a : _b; })

Definition at line 51 of file FSAL_CEPH/fsal_ds.c.


Function Documentation

nfsstat4 CEPHFSAL_DS_commit ( fsal_handle_t exthandle,
fsal_op_context_t extcontext,
offset4  offset,
count4  count,
verifier4 writeverf 
)

Definition at line 281 of file FSAL_CEPH/fsal_ds.c.

nfsstat4 CEPHFSAL_DS_read ( fsal_handle_t exthandle,
fsal_op_context_t extcontext,
const stateid4 stateid,
offset4  offset,
count4  requested_length,
caddr_t  buffer,
count4 supplied_length,
fsal_boolean_t end_of_file 
)

Definition at line 57 of file FSAL_CEPH/fsal_ds.c.

nfsstat4 CEPHFSAL_DS_write ( fsal_handle_t exthandle,
fsal_op_context_t extcontext,
const stateid4 stateid,
offset4  offset,
count4  write_length,
caddr_t  buffer,
stable_how4  stability_wanted,
count4 written_length,
verifier4 writeverf,
stable_how4 stability_got 
)

Definition at line 135 of file FSAL_CEPH/fsal_ds.c.