glusterfs  8.2
About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 8.x (latest version).
  Fossies Dox: glusterfs-8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

volfile-file.c File Reference
#include <glusterfs/xlator.h>
#include <glusterfs/defaults.h>
#include "meta-mem-types.h"
#include "meta.h"
#include <glusterfs/strfd.h>
Include dependency graph for volfile-file.c:

Go to the source code of this file.


static int xldump_options (dict_t *this, char *key, data_t *value, void *strfd)
static void xldump_subvolumes (xlator_t *this, void *strfd)
static void xldump (xlator_t *each, void *strfd)
static int volfile_file_fill (xlator_t *this, inode_t *file, strfd_t *strfd)
int meta_volfile_file_hook (call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)


static struct meta_ops volfile_file_ops

Function Documentation

◆ meta_volfile_file_hook()

int meta_volfile_file_hook ( call_frame_t frame,
xlator_t this,
loc_t loc,
dict_t xdata 

◆ volfile_file_fill()

static int volfile_file_fill ( xlator_t this,
inode_t file,
strfd_t strfd 

Definition at line 55 of file volfile-file.c.

◆ xldump()

static void xldump ( xlator_t each,
void *  strfd 

◆ xldump_options()

static int xldump_options ( dict_t this,
char *  key,
data_t value,
void *  strfd 

Definition at line 19 of file volfile-file.c.

References _data::data, and strprintf().

Referenced by xldump().

◆ xldump_subvolumes()

static void xldump_subvolumes ( xlator_t this,
void *  strfd 

Definition at line 26 of file volfile-file.c.

References _xlator::name, xlator_list::next, strprintf(), and xlator_list::xlator.

Referenced by xldump().

Variable Documentation

◆ volfile_file_ops

struct meta_ops volfile_file_ops
Initial value:
= {
.file_fill = volfile_file_fill,

Definition at line 55 of file volfile-file.c.

Referenced by meta_volfile_file_hook().

static int volfile_file_fill(xlator_t *this, inode_t *file, strfd_t *strfd)
Definition: volfile-file.c:55