25 #ifndef __MOTR_IOSERVICE_IO_FOPS_H__ 26 #define __MOTR_IOSERVICE_IO_FOPS_H__ 29 #include "fop/fop_xc.h" 31 #include "fop/fom_generic_xc.h" 36 #include "net/net_otw_types_xc.h" 38 #include "fid/fid_xc.h" 40 #include "lib/buf_xc.h" 41 #include "lib/vec_xc.h" 43 #include "mdservice/md_fops_xc.h"
M0_INTERNAL struct m0_rpc_bulk * m0_fop_to_rpcbulk(const struct m0_fop *fop)
struct m0_fop_type m0_fop_cob_truncate_fopt
struct m0_fop_cob_common ct_common
struct m0_fop_cob_common cd_common
M0_INTERNAL struct m0_fop_cob_common * m0_cobfop_common_get(struct m0_fop *fop)
M0_INTERNAL bool m0_is_cob_create_fop(const struct m0_fop *fop)
struct m0_fop_type m0_fop_cob_readv_fopt
struct m0_fop_type m0_fop_cob_setattr_reply_fopt
struct m0_fop_cob_rw c_rwv
M0_INTERNAL bool m0_is_cob_delete_fop(const struct m0_fop *fop)
M0_INTERNAL struct m0_fop_cob_rw * io_rw_get(struct m0_fop *fop)
void fop_release(struct m0_ref *ref)
struct m0_rpc_bulk if_rbulk
M0_INTERNAL m0_bcount_t m0_io_fop_byte_count(struct m0_io_fop *iofop)
M0_INTERNAL bool m0_is_io_fop(const struct m0_fop *fop)
struct m0_fop_cob_op_rep_common cgr_common
M0_INTERNAL bool m0_is_cob_truncate_fop(const struct m0_fop *fop)
struct m0_fop_cob_common cs_common
enum m0_io_flags M0_XCA_DOMAIN
struct m0_net_buf_desc_data * id_descs
M0_INTERNAL struct m0_fop_cob_rw_reply * io_rw_rep_get(struct m0_fop *fop)
M0_INTERNAL bool m0_is_read_rep(const struct m0_fop *fop)
M0_INTERNAL void m0_io_fop_destroy(struct m0_fop *fop)
struct m0_fop_type m0_fop_cob_getattr_fopt
struct m0_buf crw_di_data_cksum
M0_INTERNAL size_t m0_io_fop_size_get(struct m0_fop *fop)
struct m0_fop_type m0_fop_cob_writev_fopt
struct m0_fop_cob_common cg_common
struct m0_fop_type m0_fop_fsync_ios_fopt
struct m0_fop_type m0_fop_fv_notification_fopt
M0_INTERNAL bool m0_is_cob_setattr_fop(const struct m0_fop *fop)
struct m0_fop_cob cgr_body
struct m0_fop_cob_op_rep_common cor_common
M0_INTERNAL int m0_io_fop_init(struct m0_io_fop *iofop, const struct m0_fid *gfid, struct m0_fop_type *ftype, void(*fop_release)(struct m0_ref *))
M0_INTERNAL bool m0_is_cob_create_delete_fop(const struct m0_fop *fop)
static void attr(struct m0_addb2__context *ctx, const uint64_t *v, char *buf)
struct m0_fop_type m0_fop_cob_op_reply_fopt
struct m0_net_buf_desc if_nbd
struct m0_buf crw_di_data
struct m0_io_descs crw_desc
M0_INTERNAL bool m0_is_write_fop(const struct m0_fop *fop)
M0_INTERNAL bool m0_is_io_fop_rep(const struct m0_fop *fop)
M0_INTERNAL uint32_t m0_io_fop_segs_nr(struct m0_fop *fop, uint32_t index)
struct m0_fop_mod_rep rwr_mod_rep
m0_bcount_t crw_cksum_size
struct m0_fop_type m0_fop_cob_create_fopt
struct m0_buf rwr_di_data_cksum
struct m0_fop_type m0_fop_cob_setattr_fopt
M0_INTERNAL void m0_io_fop_release(struct m0_ref *ref)
struct m0_fop_type m0_fop_cob_getattr_reply_fopt
struct m0_fop_cob_common cc_common
struct m0_io_indexvec ct_io_ivec
struct m0_fop_cob_rw_reply c_rep
uint32_t rwr_cksum_nob_read
M0_INTERNAL bool m0_is_read_fop(const struct m0_fop *fop)
M0_INTERNAL void m0_io_fop_fini(struct m0_io_fop *iofop)
M0_INTERNAL int m0_ioservice_fop_init(void)
M0_INTERNAL bool m0_is_write_rep(const struct m0_fop *fop)
struct m0_fop_mod_rep cor_mod_rep
static struct m0_fop * fop
struct m0_fom_type m0_io_fom_cob_rw_fomt
struct m0_fop_cob_op_rep_common csr_common
M0_INTERNAL bool m0_is_cob_getattr_fop(const struct m0_fop *fop)
struct m0_fop_type m0_fop_cob_delete_fopt
struct m0_fop_type m0_fop_cob_readv_rep_fopt
struct m0_fop_type m0_fop_cob_writev_rep_fopt
M0_INTERNAL void m0_ioservice_fop_fini(void)
M0_INTERNAL int m0_io_fop_prepare(struct m0_fop *fop)
M0_INTERNAL void m0_dump_cob_attr(const struct m0_cob_attr *attr)
struct m0_io_indexvec crw_ivec