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)  

worm-helper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

gf_boolean_t gf_worm_write_disabled (struct iatt *stbuf)
 
int32_t worm_init_state (xlator_t *this, gf_boolean_t fop_with_fd, void *file_ptr)
 
int32_t worm_set_state (xlator_t *this, gf_boolean_t fop_with_fd, void *file_ptr, worm_reten_state_t *retention_state, struct iatt *stbuf)
 
int32_t worm_get_state (xlator_t *this, gf_boolean_t fop_with_fd, void *file_ptr, worm_reten_state_t *reten_state)
 
void gf_worm_state_lookup (xlator_t *this, gf_boolean_t fop_with_fd, void *file_ptr, worm_reten_state_t *reten_state, struct iatt *stbuf)
 
void gf_worm_serialize_state (worm_reten_state_t *reten_state, char *val)
 
void gf_worm_deserialize_state (char *val, worm_reten_state_t *reten_state)
 
int32_t gf_worm_set_xattr (xlator_t *this, worm_reten_state_t *reten_state, gf_boolean_t fop_with_fd, void *file_ptr)
 
int gf_worm_state_transition (xlator_t *this, gf_boolean_t fop_with_fd, void *file_ptr, glusterfs_fop_t op)
 
int32_t is_wormfile (xlator_t *this, gf_boolean_t fop_with_fd, void *file_ptr)
 

Function Documentation

◆ gf_worm_deserialize_state()

◆ gf_worm_serialize_state()

◆ gf_worm_set_xattr()

int32_t gf_worm_set_xattr ( xlator_t this,
worm_reten_state_t reten_state,
gf_boolean_t  fop_with_fd,
void *  file_ptr 
)

◆ gf_worm_state_lookup()

void gf_worm_state_lookup ( xlator_t this,
gf_boolean_t  fop_with_fd,
void *  file_ptr,
worm_reten_state_t reten_state,
struct iatt stbuf 
)

◆ gf_worm_state_transition()

int gf_worm_state_transition ( xlator_t this,
gf_boolean_t  fop_with_fd,
void *  file_ptr,
glusterfs_fop_t  op 
)

◆ gf_worm_write_disabled()

gf_boolean_t gf_worm_write_disabled ( struct iatt stbuf)

◆ is_wormfile()

int32_t is_wormfile ( xlator_t this,
gf_boolean_t  fop_with_fd,
void *  file_ptr 
)

◆ worm_get_state()

int32_t worm_get_state ( xlator_t this,
gf_boolean_t  fop_with_fd,
void *  file_ptr,
worm_reten_state_t reten_state 
)

◆ worm_init_state()

int32_t worm_init_state ( xlator_t this,
gf_boolean_t  fop_with_fd,
void *  file_ptr 
)

◆ worm_set_state()

int32_t worm_set_state ( xlator_t this,
gf_boolean_t  fop_with_fd,
void *  file_ptr,
worm_reten_state_t retention_state,
struct iatt stbuf 
)