23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_OTHER 75 if (fop_rep ==
NULL || fom_obj ==
NULL)
108 switch (
req->fcr_disp) {
165 #undef M0_TRACE_SUBSYSTEM
static int fi_command_fom_tick(struct m0_fom *fom)
static size_t locality(const struct m0_fom *fom)
static int fi_command_execute(const struct m0_fi_command_req *req)
static struct io_request req
static uint64_t tag(uint8_t code, uint64_t id)
int(* fto_create)(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
void * m0_fop_data(const struct m0_fop *fop)
static void m0_fi_enable_random(const char *func, const char *tag, uint32_t p)
const struct m0_fom_type_ops m0_fi_command_fom_type_ops
struct m0_fop_getxattr_rep * rep
struct m0_fom_type ft_fom_type
struct m0_fop_type m0_fi_command_rep_fopt
void m0_fom_init(struct m0_fom *fom, const struct m0_fom_type *fom_type, const struct m0_fom_ops *ops, struct m0_fop *fop, struct m0_fop *reply, struct m0_reqh *reqh)
struct m0_fop_type * f_type
return M0_ERR(-EOPNOTSUPP)
static int fi_command_fom_create(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
#define M0_AMB(obj, ptr, field)
M0_INTERNAL void m0_fi_disable(const char *fp_func, const char *fp_tag)
static void m0_fi_enable(const char *func, const char *tag)
void m0_fom_fini(struct m0_fom *fom)
static size_t fi_command_fom_locality(const struct m0_fom *fom)
void m0_rpc_reply_post(struct m0_rpc_item *request, struct m0_rpc_item *reply)
static void m0_fi_enable_off_n_on_m(const char *func, const char *tag, uint32_t n, uint32_t m)
struct m0_fop * m0_fop_reply_alloc(struct m0_fop *req, struct m0_fop_type *rept)
M0_INTERNAL char * m0_buf_strdup(const struct m0_buf *buf)
#define M0_FI_ENABLED(tag)
#define M0_ALLOC_PTR(ptr)
struct m0_rpc_item * m0_fop_to_rpc_item(const struct m0_fop *fop)
static void fi_command_fom_fini(struct m0_fom *fom)
static struct m0_fop * fop
const struct m0_fom_ops fi_command_fom_ops
static void m0_fi_enable_once(const char *func, const char *tag)
void(* fo_fini)(struct m0_fom *fom)
void m0_fom_phase_set(struct m0_fom *fom, int phase)
struct m0_rpc_item f_item