Motr
M0
|
#include <file_internal.h>
Data Fields | |
void(* | tio_seg_add )(struct target_ioreq *ti, const struct m0_pdclust_src_addr *src, const struct m0_pdclust_tgt_addr *tgt, m0_bindex_t gob_offset, m0_bcount_t count, struct pargrp_iomap *map) |
int(* | tio_iofops_prepare )(struct target_ioreq *ti, enum page_attr filter) |
int(* | tio_cc_fops_prepare )(struct target_ioreq *ti) |
Operations vector for struct target_ioreq.
Definition at line 1685 of file file_internal.h.
int(* tio_cc_fops_prepare)(struct target_ioreq *ti) |
Prepares cob create fops for the given target.
Prepares cob create/truncate fops for the given target.
Definition at line 1716 of file file_internal.h.
int(* tio_iofops_prepare)(struct target_ioreq *ti, enum page_attr filter) |
Prepares io fops from index vector and buffer vector. This API uses rpc bulk API to store net buffer descriptors in IO fops.
Prepares io fops from index vector and buffer vector. This API uses rpc bulk API to store net buffer descriptors in IO fops.
Definition at line 1710 of file file_internal.h.
void(* tio_seg_add)(struct target_ioreq *ti, const struct m0_pdclust_src_addr *src, const struct m0_pdclust_tgt_addr *tgt, m0_bindex_t gob_offset, m0_bcount_t count, struct pargrp_iomap *map) |
Adds an io segment to index vector and buffer vector in target_ioreq structure.
frame | Frame number of target object. |
gob_offset | Offset in global file. |
count | Number of bytes in this segment. |
unit | Unit id in parity group. |
Adds an io segment to index vector and buffer vector in target_ioreq structure.
Definition at line 1696 of file file_internal.h.