Motr
M0
|
#include <cob_foms.h>
Data Fields | |
struct m0_stob_id | fco_stob_id |
struct m0_fom | fco_fom |
struct m0_pool_version * | fco_pver |
struct m0_fid | fco_gfid |
struct m0_fid | fco_cfid |
uint32_t | fco_cob_idx |
enum m0_cob_type | fco_cob_type |
struct m0_stob * | fco_stob |
bool | fco_is_done |
enum m0_cob_op | fco_fop_type |
bool | fco_recreate |
struct m0_indexvec | fco_range |
struct m0_indexvec | fco_want |
uint32_t | fco_range_idx |
struct m0_indexvec | fco_got |
struct m0_fol_frag | fco_fol_frag |
uint64_t | fco_flags |
Fom context object for "cob create" and "cob delete" fops. Same structure is used for both type of fops.
Definition at line 50 of file cob_foms.h.
struct m0_fid fco_cfid |
Fid of component object.
Definition at line 60 of file cob_foms.h.
uint32_t fco_cob_idx |
Unique cob index in pool.
Definition at line 62 of file cob_foms.h.
enum m0_cob_type fco_cob_type |
Cob type.
Definition at line 64 of file cob_foms.h.
uint64_t fco_flags |
The flags from m0_fop_cob_common::c_flags.
Definition at line 95 of file cob_foms.h.
struct m0_fol_frag fco_fol_frag |
FOL rec fragment for create and delete operations.
Definition at line 93 of file cob_foms.h.
struct m0_fom fco_fom |
Generic fom object.
Definition at line 54 of file cob_foms.h.
enum m0_cob_op fco_fop_type |
Definition at line 67 of file cob_foms.h.
struct m0_fid fco_gfid |
Fid of global file.
Definition at line 58 of file cob_foms.h.
struct m0_indexvec fco_got |
Range of segments to be truncated for which BE credits are available.
Definition at line 91 of file cob_foms.h.
bool fco_is_done |
Definition at line 66 of file cob_foms.h.
struct m0_pool_version* fco_pver |
Pool version for this request.
Definition at line 56 of file cob_foms.h.
struct m0_indexvec fco_range |
Range of segments to be truncated or deleted. The number of segments to be truncated or deleted is restricted by the available BE transaction credits.
Definition at line 75 of file cob_foms.h.
uint32_t fco_range_idx |
Current index of the segemnt of fco_range for which truncation will be done.
Definition at line 86 of file cob_foms.h.
bool fco_recreate |
Definition at line 68 of file cob_foms.h.
struct m0_stob* fco_stob |
Definition at line 65 of file cob_foms.h.
struct m0_stob_id fco_stob_id |
Stob identifier.
Definition at line 52 of file cob_foms.h.
struct m0_indexvec fco_want |
fco_range contains packed segments which can be large for truncation, so truncation is done by storing a segment in fco_want.
Definition at line 81 of file cob_foms.h.