Re: Dead definition?
Li, Wei G
Hi Colin,
toggle quoted messageShow quoted text
This part could use some improvements indeed. The “in” and “out” structs are generated by macros from src/container/rpc.h: CRT_RPC_DECLARE(cont_snap_create, DAOS_ISEQ_CONT_EPOCH_OP, DAOS_OSEQ_CONT_EPOCH_OP) CRT_RPC_DECLARE(cont_snap_destroy, DAOS_ISEQ_CONT_EPOCH_OP, DAOS_OSEQ_CONT_EPOCH_OP) I think ds_cont_snap_{create,destroy} should, instead, use cont_snap_{create,destroy}_{in,out} that differ from cont_epoch_op_{in,out}. For “create”, cei_epoch doesn’t really apply (i.e., DAOS-4453); for “destroy”, so doesn’t eco_epoch. We shall make this RPC format change early, if possible. Thanks, liwei
On May 8, 2020, at 8:12 AM, Colin Ngam <colin.ngam@...> wrote:
|
|