DAOS API: src/include/daos_task.h Source File

| DAOS API (v2.1 - dev)

Loading...
Searching...
No Matches
daos_task.h
1
9
10#ifndef __DAOS_TASK_H__
11#define __DAOS_TASK_H__
12
13#if defined(__cplusplus)
14extern "C" {
15#endif
16
17#include <daos_types.h>
18#include <daos_obj.h>
19#include <daos_kv.h>
20#include <daos_array.h>
21#include <daos_errno.h>
22#include <daos_prop.h>
23#include <daos_cont.h>
24#include <daos_pool.h>
25#include <daos_mgmt.h>
26#include <daos/tse.h>
27
29typedef enum {
30 DAOS_OPC_INVALID = -1,
31
33 /* Starting at 0 will break Application Binary Interface backward
34 * compatibility */
35 DAOS_OPC_SET_PARAMS = 3,
36 DAOS_OPC_MGMT_GET_BS_STATE,
37
39 DAOS_OPC_POOL_CONNECT = 5,
40 DAOS_OPC_POOL_DISCONNECT,
41 DAOS_OPC_POOL_EXCLUDE,
42 DAOS_OPC_POOL_EXCLUDE_OUT,
43 DAOS_OPC_POOL_ADD,
44 DAOS_OPC_POOL_QUERY,
45 DAOS_OPC_POOL_QUERY_INFO,
46 DAOS_OPC_POOL_LIST_ATTR,
47 DAOS_OPC_POOL_GET_ATTR,
48 DAOS_OPC_POOL_SET_ATTR,
49 DAOS_OPC_POOL_DEL_ATTR,
50 DAOS_OPC_POOL_STOP_SVC,
51 DAOS_OPC_POOL_LIST_CONT,
52
54 DAOS_OPC_CONT_CREATE = 18,
55 DAOS_OPC_CONT_OPEN,
56 DAOS_OPC_CONT_CLOSE,
57 DAOS_OPC_CONT_DESTROY,
58 DAOS_OPC_CONT_QUERY,
59 DAOS_OPC_CONT_SET_PROP,
60 DAOS_OPC_CONT_UPDATE_ACL,
61 DAOS_OPC_CONT_DELETE_ACL,
62 DAOS_OPC_CONT_AGGREGATE,
63 DAOS_OPC_CONT_ROLLBACK,
64 DAOS_OPC_CONT_SUBSCRIBE,
65 DAOS_OPC_CONT_LIST_ATTR,
66 DAOS_OPC_CONT_GET_ATTR,
67 DAOS_OPC_CONT_SET_ATTR,
68 DAOS_OPC_CONT_DEL_ATTR,
69 DAOS_OPC_CONT_ALLOC_OIDS,
70 DAOS_OPC_CONT_LIST_SNAP,
71 DAOS_OPC_CONT_CREATE_SNAP,
72 DAOS_OPC_CONT_DESTROY_SNAP,
73
75 DAOS_OPC_TX_OPEN = 37,
76 DAOS_OPC_TX_COMMIT,
77 DAOS_OPC_TX_ABORT,
78 DAOS_OPC_TX_OPEN_SNAP,
79 DAOS_OPC_TX_CLOSE,
80 DAOS_OPC_TX_RESTART,
81
83 DAOS_OPC_OBJ_QUERY_CLASS = 44,
84 DAOS_OPC_OBJ_LIST_CLASS,
85 DAOS_OPC_OBJ_OPEN,
86 DAOS_OPC_OBJ_CLOSE,
87 DAOS_OPC_OBJ_PUNCH,
88 DAOS_OPC_OBJ_PUNCH_DKEYS,
89 DAOS_OPC_OBJ_PUNCH_AKEYS,
90 DAOS_OPC_OBJ_QUERY,
91 DAOS_OPC_OBJ_QUERY_KEY,
92 DAOS_OPC_OBJ_SYNC,
93 DAOS_OPC_OBJ_FETCH,
94 DAOS_OPC_OBJ_UPDATE,
95 DAOS_OPC_OBJ_LIST_DKEY,
96 DAOS_OPC_OBJ_LIST_AKEY,
97 DAOS_OPC_OBJ_LIST_RECX,
98 DAOS_OPC_OBJ_LIST_OBJ,
99
101 DAOS_OPC_ARRAY_CREATE = 60,
102 DAOS_OPC_ARRAY_OPEN,
103 DAOS_OPC_ARRAY_CLOSE,
104 DAOS_OPC_ARRAY_DESTROY,
105 DAOS_OPC_ARRAY_READ,
106 DAOS_OPC_ARRAY_WRITE,
107 DAOS_OPC_ARRAY_PUNCH,
108 DAOS_OPC_ARRAY_GET_SIZE,
109 DAOS_OPC_ARRAY_SET_SIZE,
110 DAOS_OPC_ARRAY_STAT,
111
113 DAOS_OPC_KV_OPEN = 70,
114 DAOS_OPC_KV_CLOSE,
115 DAOS_OPC_KV_DESTROY,
116 DAOS_OPC_KV_GET,
117 DAOS_OPC_KV_PUT,
118 DAOS_OPC_KV_REMOVE,
119 DAOS_OPC_KV_LIST,
120
121 DAOS_OPC_POOL_FILTER_CONT,
122 DAOS_OPC_OBJ_KEY2ANCHOR,
123 DAOS_OPC_CONT_SNAP_OIT_CREATE,
124 DAOS_OPC_CONT_SNAP_OIT_DESTROY,
125 DAOS_OPC_MAX
126} daos_opc_t;
127
129 typedef struct {
131 const char *grp;
133 d_rank_t rank;
135 uint32_t key_id;
137 uint64_t value;
139 uint64_t value_extra;
140} daos_set_params_t;
141
143 typedef struct {
148 uuid_t uuid;
150 const char *grp;
152 unsigned int flags;
154 daos_handle_t *poh;
156 daos_pool_info_t *info;
158 const char *pool;
159} daos_pool_connect_t;
160
162 typedef struct {
164 daos_handle_t poh;
165} daos_pool_disconnect_t;
166
168 typedef struct {
170 uuid_t uuid;
172 const char *grp;
174 d_rank_list_t *svc;
176 struct d_tgt_list *tgts;
177} daos_pool_update_t;
178
180 struct daos_obj_register_class_t {
182 daos_handle_t coh;
184 daos_oclass_id_t cid;
186 struct daos_oclass_attr *cattr;
187};
188
190 typedef struct {
192 daos_handle_t poh;
194 d_rank_list_t **ranks;
196 daos_pool_info_t *info;
198 daos_prop_t *prop;
199} daos_pool_query_t;
200
202 typedef struct {
204 daos_handle_t poh;
206 uint32_t tgt_idx;
208 d_rank_t rank;
210 daos_target_info_t *info;
211} daos_pool_query_target_t;
212
214 typedef struct {
216 daos_handle_t poh;
218 daos_size_t *ncont;
220 struct daos_pool_cont_info *cont_buf;
221} daos_pool_list_cont_t;
222
224 typedef struct {
226 daos_handle_t poh;
228 daos_pool_cont_filter_t *filt;
230 daos_size_t *ncont;
232 struct daos_pool_cont_info2 *cont_buf;
233} daos_pool_filter_cont_t;
234
236 typedef struct {
238 daos_handle_t poh;
240 char *buf;
242 size_t *size;
243} daos_pool_list_attr_t;
244
246 typedef struct {
248 daos_handle_t poh;
250 int n;
252 char const *const *names;
254 void *const *values;
256 size_t *sizes;
257} daos_pool_get_attr_t;
258
260 typedef struct {
262 daos_handle_t poh;
264 int n;
266 char const *const *names;
268 void const *const *values;
270 size_t const *sizes;
271} daos_pool_set_attr_t;
272
274 typedef struct {
276 daos_handle_t poh;
278 int n;
280 char const *const *names;
281} daos_pool_del_attr_t;
282
284 typedef struct {
286 uuid_t uuid;
288 const char *group;
290 d_rank_list_t *targets;
292 d_rank_list_t *failed;
293} daos_pool_replicas_t;
294
296 typedef struct {
298 const char *grp;
300 uuid_t uuid;
302 int *state;
303} daos_mgmt_get_bs_state_t;
304
306 typedef struct {
308 daos_handle_t poh;
309} daos_pool_stop_svc_t;
310
312 typedef struct {
314 daos_handle_t poh;
319 uuid_t uuid;
321 daos_prop_t *prop;
323 uuid_t *cuuid;
324} daos_cont_create_t;
325
327 typedef struct {
329 daos_handle_t poh;
334 uuid_t uuid;
336 unsigned int flags;
338 daos_handle_t *coh;
340 daos_cont_info_t *info;
342 const char *cont;
343} daos_cont_open_t;
344
346 typedef struct {
348 daos_handle_t coh;
349} daos_cont_close_t;
350
352 typedef struct {
354 daos_handle_t poh;
359 uuid_t uuid;
361 int force;
363 const char *cont;
364} daos_cont_destroy_t;
365
367 typedef struct {
369 daos_handle_t coh;
371 daos_cont_info_t *info;
373 daos_prop_t *prop;
374} daos_cont_query_t;
375
377 typedef struct {
379 daos_handle_t coh;
381 daos_prop_t *prop;
382} daos_cont_set_prop_t;
383
385 typedef struct {
387 daos_handle_t coh;
389 struct daos_acl *acl;
390} daos_cont_update_acl_t;
391
393 typedef struct {
395 daos_handle_t coh;
397 uint8_t type;
399 d_string_t name;
400} daos_cont_delete_acl_t;
401
403 typedef struct {
405 daos_handle_t coh;
407 daos_epoch_t epoch;
408} daos_cont_aggregate_t;
409
411 typedef struct {
413 daos_handle_t coh;
415 daos_epoch_t epoch;
416} daos_cont_rollback_t;
417
419 typedef struct {
421 daos_handle_t coh;
426 daos_epoch_t *epoch;
427} daos_cont_subscribe_t;
428
430 typedef struct {
432 daos_handle_t coh;
434 char *buf;
436 size_t *size;
437} daos_cont_list_attr_t;
438
440 typedef struct {
442 daos_handle_t coh;
444 int n;
446 char const *const *names;
448 void *const *values;
450 size_t *sizes;
451} daos_cont_get_attr_t;
452
454 typedef struct {
456 daos_handle_t coh;
458 int n;
460 char const *const *names;
462 void const *const *values;
464 size_t const *sizes;
465} daos_cont_set_attr_t;
466
468 typedef struct {
470 daos_handle_t coh;
472 int n;
474 char const *const *names;
475} daos_cont_del_attr_t;
476
478 typedef struct {
480 daos_handle_t coh;
482 daos_size_t num_oids;
484 uint64_t *oid;
485} daos_cont_alloc_oids_t;
486
488 typedef struct {
490 daos_handle_t coh;
495 int *nr;
497 daos_epoch_t *epochs;
499 char **names;
501 daos_anchor_t *anchor;
502} daos_cont_list_snap_t;
503
505 typedef struct {
507 daos_handle_t coh;
509 unsigned int opts;
511 daos_epoch_t *epoch;
513 char *name;
514} daos_cont_create_snap_t;
515
517 typedef struct {
519 daos_handle_t coh;
521 daos_epoch_range_t epr;
522} daos_cont_destroy_snap_t;
523
525 typedef struct {
527 daos_handle_t coh;
529 daos_epoch_t epoch;
531 daos_obj_id_t *oid;
532} daos_cont_snap_oit_oid_get_t;
533
535 typedef struct {
537 daos_handle_t coh;
539 daos_epoch_t epoch;
541 char *name;
542} daos_cont_snap_oit_create_t;
543
545 typedef struct {
547 daos_handle_t coh;
549 daos_epoch_t epoch;
550} daos_cont_snap_oit_destroy_t;
551
553 typedef struct {
555 daos_handle_t coh;
557 daos_handle_t *th;
559 uint64_t flags;
560} daos_tx_open_t;
561
563 typedef struct {
565 daos_handle_t th;
567 uint32_t flags;
568} daos_tx_commit_t;
569
571 typedef struct {
573 daos_handle_t th;
574} daos_tx_abort_t;
575
577 typedef struct {
579 daos_handle_t coh;
581 daos_epoch_t epoch;
583 daos_handle_t *th;
584} daos_tx_open_snap_t;
585
587 typedef struct {
589 daos_handle_t th;
590} daos_tx_close_t;
591
593 typedef struct {
595 daos_handle_t th;
596} daos_tx_restart_t;
597
599 typedef struct {
601 daos_handle_t coh;
603 daos_oclass_id_t cid;
605 struct daos_oclass_attr *cattr;
606} daos_obj_query_class_t;
607
609 typedef struct {
611 daos_handle_t coh;
613 struct daos_oclass_list *clist;
615 daos_anchor_t *anchor;
616} daos_obj_list_class_t;
617
619 typedef struct {
621 daos_handle_t coh;
623 daos_obj_id_t oid;
625 unsigned int mode;
627 daos_handle_t *oh;
628} daos_obj_open_t;
629
631 typedef struct {
633 daos_handle_t oh;
634} daos_obj_close_t;
635
644 typedef struct {
646 daos_handle_t th;
648 daos_handle_t oh;
650 daos_key_t *dkey;
652 daos_key_t *akeys;
654 uint64_t flags;
656 unsigned int akey_nr;
657} daos_obj_punch_t;
658
660 typedef struct {
662 daos_handle_t oh;
664 daos_handle_t th;
666 struct daos_obj_attr *oa;
668 d_rank_list_t *ranks;
669} daos_obj_query_t;
670
672 typedef struct {
674 daos_handle_t oh;
676 daos_handle_t th;
681 daos_key_t *dkey;
686 daos_key_t *akey;
688 daos_recx_t *recx;
690 uint64_t flags;
692 daos_epoch_t *max_epoch;
693} daos_obj_query_key_t;
694
696 typedef struct {
698 daos_handle_t th;
700 daos_handle_t oh;
702 uint64_t flags;
704 daos_key_t *dkey;
706 uint32_t nr;
708 uint32_t extra_flags;
710 daos_iod_t *iods;
712 d_sg_list_t *sgls;
714 daos_iom_t *ioms;
716 void *extra_arg;
720 d_iov_t *csum_iov;
721} daos_obj_rw_t;
722
724typedef daos_obj_rw_t daos_obj_fetch_t;
726typedef daos_obj_rw_t daos_obj_update_t;
727
729 struct daos_obj_sync_args {
731 daos_handle_t oh;
733 daos_epoch_t epoch;
735 daos_epoch_t **epochs_p;
737 int *nr;
738};
739
741 typedef struct {
743 daos_handle_t oh;
745 daos_handle_t th;
747 daos_key_t *dkey;
749 daos_key_t *akey;
751 uint32_t *nr;
753 daos_key_desc_t *kds;
755 d_sg_list_t *sgl;
757 daos_size_t *size;
759 daos_iod_type_t type;
761 daos_recx_t *recxs;
763 daos_epoch_range_t *eprs;
771 daos_anchor_t *anchor;
773 daos_anchor_t *dkey_anchor;
775 daos_anchor_t *akey_anchor;
777 uint32_t *versions;
781 d_iov_t *csum;
783 bool incr_order;
784} daos_obj_list_t;
785
795typedef daos_obj_list_t daos_obj_list_dkey_t;
796
807typedef daos_obj_list_t daos_obj_list_akey_t;
808
824typedef daos_obj_list_t daos_obj_list_recx_t;
825
844typedef daos_obj_list_t daos_obj_list_obj_t;
845
854typedef daos_obj_list_t daos_obj_key2anchor_t;
855
857 typedef struct {
859 daos_handle_t coh;
861 daos_obj_id_t oid;
863 daos_handle_t th;
865 daos_size_t cell_size;
867 daos_size_t chunk_size;
869 daos_handle_t *oh;
870} daos_array_create_t;
871
873 typedef struct {
875 daos_handle_t coh;
877 daos_obj_id_t oid;
879 daos_handle_t th;
881 unsigned int mode;
883 unsigned int open_with_attr;
885 daos_size_t *cell_size;
887 daos_size_t *chunk_size;
889 daos_handle_t *oh;
890} daos_array_open_t;
891
893 typedef struct {
895 daos_handle_t oh;
896} daos_array_close_t;
897
899 typedef struct {
901 daos_handle_t oh;
903 daos_handle_t th;
905 daos_array_iod_t *iod;
907 d_sg_list_t *sgl;
908} daos_array_io_t;
909
911 typedef struct {
913 daos_handle_t oh;
915 daos_handle_t th;
917 daos_size_t *size;
918} daos_array_get_size_t;
919
921 typedef struct {
923 daos_handle_t oh;
925 daos_handle_t th;
927 daos_array_stbuf_t *stbuf;
928} daos_array_stat_t;
929
931 typedef struct {
933 daos_handle_t oh;
935 daos_handle_t th;
937 daos_size_t size;
938} daos_array_set_size_t;
939
941 typedef struct {
943 daos_handle_t oh;
945 daos_handle_t th;
946} daos_array_destroy_t;
947
949 typedef struct {
951 daos_handle_t coh;
953 daos_obj_id_t oid;
955 unsigned int mode;
957 daos_handle_t *oh;
958} daos_kv_open_t;
959
961 typedef struct {
963 daos_handle_t oh;
964} daos_kv_close_t;
965
967 typedef struct {
969 daos_handle_t oh;
971 daos_handle_t th;
972} daos_kv_destroy_t;
973
975 typedef struct {
977 daos_handle_t oh;
979 daos_handle_t th;
981 uint64_t flags;
983 const char *key;
985 daos_size_t *buf_size;
987 void *buf;
988} daos_kv_get_t;
989
991 typedef struct {
993 daos_handle_t oh;
995 daos_handle_t th;
997 uint64_t flags;
999 const char *key;
1001 daos_size_t buf_size;
1003 const void *buf;
1004} daos_kv_put_t;
1005
1007 typedef struct {
1009 daos_handle_t oh;
1011 daos_handle_t th;
1013 uint64_t flags;
1015 const char *key;
1016} daos_kv_remove_t;
1017
1019 typedef struct {
1021 daos_handle_t oh;
1023 daos_handle_t th;
1028 uint32_t *nr;
1030 daos_key_desc_t *kds;
1032 d_sg_list_t *sgl;
1034 daos_anchor_t *anchor;
1035} daos_kv_list_t;
1036
1061int
1062daos_task_create(daos_opc_t opc, tse_sched_t *sched,
1063 unsigned int num_deps, tse_task_t *dep_tasks[],
1064 tse_task_t **taskp);
1065
1080int
1081daos_task_reset(tse_task_t *task, daos_opc_t opc);
1082
1093void *
1094daos_task_get_args(tse_task_t *task);
1095
1104void *
1105daos_task_get_priv(tse_task_t *task);
1106
1115void *
1116daos_task_set_priv(tse_task_t *task, void *priv);
1117
1131int
1132daos_progress(tse_sched_t *sched, int64_t timeout, bool *is_empty);
1133
1134#if defined(__cplusplus)
1135}
1136#endif
1137
1138#endif /* __DAOS_TASK_H__ */
daos_array.h
daos_cont.h
daos_kv.h
d_tgt_list
Definition daos_types.h:186
daos_acl
Definition daos_security.h:63
daos_anchor_t
Definition daos_types.h:58
daos_array_close_t
Definition daos_task.h:893
daos_array_close_t::oh
daos_handle_t oh
Definition daos_task.h:895
daos_array_create_t
Definition daos_task.h:857
daos_array_create_t::chunk_size
daos_size_t chunk_size
Definition daos_task.h:867
daos_array_create_t::coh
daos_handle_t coh
Definition daos_task.h:859
daos_array_create_t::th
daos_handle_t th
Definition daos_task.h:863
daos_array_create_t::oid
daos_obj_id_t oid
Definition daos_task.h:861
daos_array_create_t::cell_size
daos_size_t cell_size
Definition daos_task.h:865
daos_array_create_t::oh
daos_handle_t * oh
Definition daos_task.h:869
daos_array_destroy_t
Definition daos_task.h:941
daos_array_destroy_t::th
daos_handle_t th
Definition daos_task.h:945
daos_array_destroy_t::oh
daos_handle_t oh
Definition daos_task.h:943
daos_array_get_size_t
Definition daos_task.h:911
daos_array_get_size_t::size
daos_size_t * size
Definition daos_task.h:917
daos_array_get_size_t::th
daos_handle_t th
Definition daos_task.h:915
daos_array_get_size_t::oh
daos_handle_t oh
Definition daos_task.h:913
daos_array_io_t
Definition daos_task.h:899
daos_array_io_t::sgl
d_sg_list_t * sgl
Definition daos_task.h:907
daos_array_io_t::th
daos_handle_t th
Definition daos_task.h:903
daos_array_io_t::iod
daos_array_iod_t * iod
Definition daos_task.h:905
daos_array_io_t::oh
daos_handle_t oh
Definition daos_task.h:901
daos_array_iod_t
Definition daos_array.h:31
daos_array_open_t
Definition daos_task.h:873
daos_array_open_t::chunk_size
daos_size_t * chunk_size
Definition daos_task.h:887
daos_array_open_t::cell_size
daos_size_t * cell_size
Definition daos_task.h:885
daos_array_open_t::coh
daos_handle_t coh
Definition daos_task.h:875
daos_array_open_t::th
daos_handle_t th
Definition daos_task.h:879
daos_array_open_t::oid
daos_obj_id_t oid
Definition daos_task.h:877
daos_array_open_t::open_with_attr
unsigned int open_with_attr
Definition daos_task.h:883
daos_array_open_t::oh
daos_handle_t * oh
Definition daos_task.h:889
daos_array_open_t::mode
unsigned int mode
Definition daos_task.h:881
daos_array_set_size_t
Definition daos_task.h:931
daos_array_set_size_t::size
daos_size_t size
Definition daos_task.h:937
daos_array_set_size_t::th
daos_handle_t th
Definition daos_task.h:935
daos_array_set_size_t::oh
daos_handle_t oh
Definition daos_task.h:933
daos_array_stat_t
Definition daos_task.h:921
daos_array_stat_t::stbuf
daos_array_stbuf_t * stbuf
Definition daos_task.h:927
daos_array_stat_t::th
daos_handle_t th
Definition daos_task.h:925
daos_array_stat_t::oh
daos_handle_t oh
Definition daos_task.h:923
daos_array_stbuf_t
Definition daos_array.h:46
daos_cont_aggregate_t
Definition daos_task.h:403
daos_cont_aggregate_t::epoch
daos_epoch_t epoch
Definition daos_task.h:407
daos_cont_aggregate_t::coh
daos_handle_t coh
Definition daos_task.h:405
daos_cont_alloc_oids_t
Definition daos_task.h:478
daos_cont_alloc_oids_t::num_oids
daos_size_t num_oids
Definition daos_task.h:482
daos_cont_alloc_oids_t::coh
daos_handle_t coh
Definition daos_task.h:480
daos_cont_alloc_oids_t::oid
uint64_t * oid
Definition daos_task.h:484
daos_cont_close_t
Definition daos_task.h:346
daos_cont_close_t::coh
daos_handle_t coh
Definition daos_task.h:348
daos_cont_create_snap_t
Definition daos_task.h:505
daos_cont_create_snap_t::name
char * name
Definition daos_task.h:513
daos_cont_create_snap_t::epoch
daos_epoch_t * epoch
Definition daos_task.h:511
daos_cont_create_snap_t::opts
unsigned int opts
Definition daos_task.h:509
daos_cont_create_snap_t::coh
daos_handle_t coh
Definition daos_task.h:507
daos_cont_create_t
Definition daos_task.h:312
daos_cont_create_t::cuuid
uuid_t * cuuid
Definition daos_task.h:323
daos_cont_create_t::uuid
uuid_t uuid
Definition daos_task.h:319
daos_cont_create_t::prop
daos_prop_t * prop
Definition daos_task.h:321
daos_cont_create_t::poh
daos_handle_t poh
Definition daos_task.h:314
daos_cont_del_attr_t
Definition daos_task.h:468
daos_cont_del_attr_t::n
int n
Definition daos_task.h:472
daos_cont_del_attr_t::coh
daos_handle_t coh
Definition daos_task.h:470
daos_cont_del_attr_t::names
char const *const * names
Definition daos_task.h:474
daos_cont_delete_acl_t
Definition daos_task.h:393
daos_cont_delete_acl_t::type
uint8_t type
Definition daos_task.h:397
daos_cont_delete_acl_t::name
d_string_t name
Definition daos_task.h:399
daos_cont_delete_acl_t::coh
daos_handle_t coh
Definition daos_task.h:395
daos_cont_destroy_snap_t
Definition daos_task.h:517
daos_cont_destroy_snap_t::coh
daos_handle_t coh
Definition daos_task.h:519
daos_cont_destroy_snap_t::epr
daos_epoch_range_t epr
Definition daos_task.h:521
daos_cont_destroy_t
Definition daos_task.h:352
daos_cont_destroy_t::uuid
uuid_t uuid
Definition daos_task.h:359
daos_cont_destroy_t::cont
const char * cont
Definition daos_task.h:363
daos_cont_destroy_t::force
int force
Definition daos_task.h:361
daos_cont_destroy_t::poh
daos_handle_t poh
Definition daos_task.h:354
daos_cont_get_attr_t
Definition daos_task.h:440
daos_cont_get_attr_t::sizes
size_t * sizes
Definition daos_task.h:450
daos_cont_get_attr_t::n
int n
Definition daos_task.h:444
daos_cont_get_attr_t::coh
daos_handle_t coh
Definition daos_task.h:442
daos_cont_get_attr_t::values
void *const * values
Definition daos_task.h:448
daos_cont_get_attr_t::names
char const *const * names
Definition daos_task.h:446
daos_cont_info_t
Definition daos_types.h:128
daos_cont_list_attr_t
Definition daos_task.h:430
daos_cont_list_attr_t::buf
char * buf
Definition daos_task.h:434
daos_cont_list_attr_t::coh
daos_handle_t coh
Definition daos_task.h:432
daos_cont_list_attr_t::size
size_t * size
Definition daos_task.h:436
daos_cont_list_snap_t
Definition daos_task.h:488
daos_cont_list_snap_t::names
char ** names
Definition daos_task.h:499
daos_cont_list_snap_t::nr
int * nr
Definition daos_task.h:495
daos_cont_list_snap_t::coh
daos_handle_t coh
Definition daos_task.h:490
daos_cont_list_snap_t::anchor
daos_anchor_t * anchor
Definition daos_task.h:501
daos_cont_list_snap_t::epochs
daos_epoch_t * epochs
Definition daos_task.h:497
daos_cont_open_t
Definition daos_task.h:327
daos_cont_open_t::uuid
uuid_t uuid
Definition daos_task.h:334
daos_cont_open_t::cont
const char * cont
Definition daos_task.h:342
daos_cont_open_t::coh
daos_handle_t * coh
Definition daos_task.h:338
daos_cont_open_t::flags
unsigned int flags
Definition daos_task.h:336
daos_cont_open_t::poh
daos_handle_t poh
Definition daos_task.h:329
daos_cont_open_t::info
daos_cont_info_t * info
Definition daos_task.h:340
daos_cont_query_t
Definition daos_task.h:367
daos_cont_query_t::coh
daos_handle_t coh
Definition daos_task.h:369
daos_cont_query_t::prop
daos_prop_t * prop
Definition daos_task.h:373
daos_cont_query_t::info
daos_cont_info_t * info
Definition daos_task.h:371
daos_cont_rollback_t
Definition daos_task.h:411
daos_cont_rollback_t::epoch
daos_epoch_t epoch
Definition daos_task.h:415
daos_cont_rollback_t::coh
daos_handle_t coh
Definition daos_task.h:413
daos_cont_set_attr_t
Definition daos_task.h:454
daos_cont_set_attr_t::n
int n
Definition daos_task.h:458
daos_cont_set_attr_t::coh
daos_handle_t coh
Definition daos_task.h:456
daos_cont_set_attr_t::values
void const *const * values
Definition daos_task.h:462
daos_cont_set_attr_t::sizes
size_t const * sizes
Definition daos_task.h:464
daos_cont_set_attr_t::names
char const *const * names
Definition daos_task.h:460
daos_cont_set_prop_t
Definition daos_task.h:377
daos_cont_set_prop_t::coh
daos_handle_t coh
Definition daos_task.h:379
daos_cont_set_prop_t::prop
daos_prop_t * prop
Definition daos_task.h:381
daos_cont_snap_oit_create_t
Definition daos_task.h:535
daos_cont_snap_oit_create_t::epoch
daos_epoch_t epoch
Definition daos_task.h:539
daos_cont_snap_oit_create_t::name
char * name
Definition daos_task.h:541
daos_cont_snap_oit_create_t::coh
daos_handle_t coh
Definition daos_task.h:537
daos_cont_snap_oit_destroy_t
Definition daos_task.h:545
daos_cont_snap_oit_destroy_t::epoch
daos_epoch_t epoch
Definition daos_task.h:549
daos_cont_snap_oit_destroy_t::coh
daos_handle_t coh
Definition daos_task.h:547
daos_cont_snap_oit_oid_get_t
Definition daos_task.h:525
daos_cont_snap_oit_oid_get_t::epoch
daos_epoch_t epoch
Definition daos_task.h:529
daos_cont_snap_oit_oid_get_t::coh
daos_handle_t coh
Definition daos_task.h:527
daos_cont_snap_oit_oid_get_t::oid
daos_obj_id_t * oid
Definition daos_task.h:531
daos_cont_subscribe_t
Definition daos_task.h:419
daos_cont_subscribe_t::epoch
daos_epoch_t * epoch
Definition daos_task.h:426
daos_cont_subscribe_t::coh
daos_handle_t coh
Definition daos_task.h:421
daos_cont_update_acl_t
Definition daos_task.h:385
daos_cont_update_acl_t::coh
daos_handle_t coh
Definition daos_task.h:387
daos_cont_update_acl_t::acl
struct daos_acl * acl
Definition daos_task.h:389
daos_epoch_range_t
Definition daos_types.h:117
daos_handle_t
Definition daos_types.h:73
daos_iod_t
Definition daos_obj.h:362
daos_iom_t
Definition daos_obj.h:416
daos_key_desc_t
Definition daos_obj.h:475
daos_kv_close_t
Definition daos_task.h:961
daos_kv_close_t::oh
daos_handle_t oh
Definition daos_task.h:963
daos_kv_destroy_t
Definition daos_task.h:967
daos_kv_destroy_t::th
daos_handle_t th
Definition daos_task.h:971
daos_kv_destroy_t::oh
daos_handle_t oh
Definition daos_task.h:969
daos_kv_get_t
Definition daos_task.h:975
daos_kv_get_t::buf_size
daos_size_t * buf_size
Definition daos_task.h:985
daos_kv_get_t::buf
void * buf
Definition daos_task.h:987
daos_kv_get_t::flags
uint64_t flags
Definition daos_task.h:981
daos_kv_get_t::th
daos_handle_t th
Definition daos_task.h:979
daos_kv_get_t::key
const char * key
Definition daos_task.h:983
daos_kv_get_t::oh
daos_handle_t oh
Definition daos_task.h:977
daos_kv_list_t
Definition daos_task.h:1019
daos_kv_list_t::sgl
d_sg_list_t * sgl
Definition daos_task.h:1032
daos_kv_list_t::nr
uint32_t * nr
Definition daos_task.h:1028
daos_kv_list_t::th
daos_handle_t th
Definition daos_task.h:1023
daos_kv_list_t::anchor
daos_anchor_t * anchor
Definition daos_task.h:1034
daos_kv_list_t::kds
daos_key_desc_t * kds
Definition daos_task.h:1030
daos_kv_list_t::oh
daos_handle_t oh
Definition daos_task.h:1021
daos_kv_open_t
Definition daos_task.h:949
daos_kv_open_t::coh
daos_handle_t coh
Definition daos_task.h:951
daos_kv_open_t::oid
daos_obj_id_t oid
Definition daos_task.h:953
daos_kv_open_t::oh
daos_handle_t * oh
Definition daos_task.h:957
daos_kv_open_t::mode
unsigned int mode
Definition daos_task.h:955
daos_kv_put_t
Definition daos_task.h:991
daos_kv_put_t::buf
const void * buf
Definition daos_task.h:1003
daos_kv_put_t::flags
uint64_t flags
Definition daos_task.h:997
daos_kv_put_t::th
daos_handle_t th
Definition daos_task.h:995
daos_kv_put_t::key
const char * key
Definition daos_task.h:999
daos_kv_put_t::oh
daos_handle_t oh
Definition daos_task.h:993
daos_kv_put_t::buf_size
daos_size_t buf_size
Definition daos_task.h:1001
daos_kv_remove_t
Definition daos_task.h:1007
daos_kv_remove_t::flags
uint64_t flags
Definition daos_task.h:1013
daos_kv_remove_t::th
daos_handle_t th
Definition daos_task.h:1011
daos_kv_remove_t::key
const char * key
Definition daos_task.h:1015
daos_kv_remove_t::oh
daos_handle_t oh
Definition daos_task.h:1009
daos_mgmt_get_bs_state_t
Definition daos_task.h:296
daos_mgmt_get_bs_state_t::uuid
uuid_t uuid
Definition daos_task.h:300
daos_mgmt_get_bs_state_t::grp
const char * grp
Definition daos_task.h:298
daos_mgmt_get_bs_state_t::state
int * state
Definition daos_task.h:302
daos_obj_attr
Definition daos_obj.h:294
daos_obj_close_t
Definition daos_task.h:631
daos_obj_close_t::oh
daos_handle_t oh
Definition daos_task.h:633
daos_obj_id_t
Definition daos_types.h:222
daos_obj_list_class_t
Definition daos_task.h:609
daos_obj_list_class_t::clist
struct daos_oclass_list * clist
Definition daos_task.h:613
daos_obj_list_class_t::coh
daos_handle_t coh
Definition daos_task.h:611
daos_obj_list_class_t::anchor
daos_anchor_t * anchor
Definition daos_task.h:615
daos_obj_list_t
Definition daos_task.h:741
daos_obj_list_t::sgl
d_sg_list_t * sgl
Definition daos_task.h:755
daos_obj_list_t::nr
uint32_t * nr
Definition daos_task.h:751
daos_obj_list_t::csum
d_iov_t * csum
Definition daos_task.h:781
daos_obj_list_t::size
daos_size_t * size
Definition daos_task.h:757
daos_obj_list_t::incr_order
bool incr_order
Definition daos_task.h:783
daos_obj_list_t::recxs
daos_recx_t * recxs
Definition daos_task.h:761
daos_obj_list_t::versions
uint32_t * versions
Definition daos_task.h:777
daos_obj_list_t::dkey_anchor
daos_anchor_t * dkey_anchor
Definition daos_task.h:773
daos_obj_list_t::th
daos_handle_t th
Definition daos_task.h:745
daos_obj_list_t::akey
daos_key_t * akey
Definition daos_task.h:749
daos_obj_list_t::dkey
daos_key_t * dkey
Definition daos_task.h:747
daos_obj_list_t::eprs
daos_epoch_range_t * eprs
Definition daos_task.h:763
daos_obj_list_t::type
daos_iod_type_t type
Definition daos_task.h:759
daos_obj_list_t::anchor
daos_anchor_t * anchor
Definition daos_task.h:771
daos_obj_list_t::kds
daos_key_desc_t * kds
Definition daos_task.h:753
daos_obj_list_t::akey_anchor
daos_anchor_t * akey_anchor
Definition daos_task.h:775
daos_obj_list_t::oh
daos_handle_t oh
Definition daos_task.h:743
daos_obj_open_t
Definition daos_task.h:619
daos_obj_open_t::coh
daos_handle_t coh
Definition daos_task.h:621
daos_obj_open_t::oid
daos_obj_id_t oid
Definition daos_task.h:623
daos_obj_open_t::oh
daos_handle_t * oh
Definition daos_task.h:627
daos_obj_open_t::mode
unsigned int mode
Definition daos_task.h:625
daos_obj_punch_t
Definition daos_task.h:644
daos_obj_punch_t::akey_nr
unsigned int akey_nr
Definition daos_task.h:656
daos_obj_punch_t::flags
uint64_t flags
Definition daos_task.h:654
daos_obj_punch_t::th
daos_handle_t th
Definition daos_task.h:646
daos_obj_punch_t::dkey
daos_key_t * dkey
Definition daos_task.h:650
daos_obj_punch_t::akeys
daos_key_t * akeys
Definition daos_task.h:652
daos_obj_punch_t::oh
daos_handle_t oh
Definition daos_task.h:648
daos_obj_query_class_t
Definition daos_task.h:599
daos_obj_query_class_t::cid
daos_oclass_id_t cid
Definition daos_task.h:603
daos_obj_query_class_t::coh
daos_handle_t coh
Definition daos_task.h:601
daos_obj_query_class_t::cattr
struct daos_oclass_attr * cattr
Definition daos_task.h:605
daos_obj_query_key_t
Definition daos_task.h:672
daos_obj_query_key_t::max_epoch
daos_epoch_t * max_epoch
Definition daos_task.h:692
daos_obj_query_key_t::flags
uint64_t flags
Definition daos_task.h:690
daos_obj_query_key_t::th
daos_handle_t th
Definition daos_task.h:676
daos_obj_query_key_t::recx
daos_recx_t * recx
Definition daos_task.h:688
daos_obj_query_key_t::akey
daos_key_t * akey
Definition daos_task.h:686
daos_obj_query_key_t::dkey
daos_key_t * dkey
Definition daos_task.h:681
daos_obj_query_key_t::oh
daos_handle_t oh
Definition daos_task.h:674
daos_obj_query_t
Definition daos_task.h:660
daos_obj_query_t::oa
struct daos_obj_attr * oa
Definition daos_task.h:666
daos_obj_query_t::ranks
d_rank_list_t * ranks
Definition daos_task.h:668
daos_obj_query_t::th
daos_handle_t th
Definition daos_task.h:664
daos_obj_query_t::oh
daos_handle_t oh
Definition daos_task.h:662
daos_obj_register_class_t
Definition daos_task.h:180
daos_obj_register_class_t::cid
daos_oclass_id_t cid
Definition daos_task.h:184
daos_obj_register_class_t::coh
daos_handle_t coh
Definition daos_task.h:182
daos_obj_register_class_t::cattr
struct daos_oclass_attr * cattr
Definition daos_task.h:186
daos_obj_rw_t
Definition daos_task.h:696
daos_obj_rw_t::iods
daos_iod_t * iods
Definition daos_task.h:710
daos_obj_rw_t::nr
uint32_t nr
Definition daos_task.h:706
daos_obj_rw_t::csum_iov
d_iov_t * csum_iov
Definition daos_task.h:720
daos_obj_rw_t::extra_arg
void * extra_arg
Definition daos_task.h:716
daos_obj_rw_t::flags
uint64_t flags
Definition daos_task.h:702
daos_obj_rw_t::th
daos_handle_t th
Definition daos_task.h:698
daos_obj_rw_t::ioms
daos_iom_t * ioms
Definition daos_task.h:714
daos_obj_rw_t::dkey
daos_key_t * dkey
Definition daos_task.h:704
daos_obj_rw_t::extra_flags
uint32_t extra_flags
Definition daos_task.h:708
daos_obj_rw_t::oh
daos_handle_t oh
Definition daos_task.h:700
daos_obj_rw_t::sgls
d_sg_list_t * sgls
Definition daos_task.h:712
daos_obj_sync_args
Definition daos_task.h:729
daos_obj_sync_args::epoch
daos_epoch_t epoch
Definition daos_task.h:733
daos_obj_sync_args::nr
int * nr
Definition daos_task.h:737
daos_obj_sync_args::oh
daos_handle_t oh
Definition daos_task.h:731
daos_obj_sync_args::epochs_p
daos_epoch_t ** epochs_p
Definition daos_task.h:735
daos_oclass_attr
Definition daos_obj_class.h:400
daos_oclass_list
Definition daos_obj_class.h:438
daos_pool_connect_t
Definition daos_task.h:143
daos_pool_connect_t::uuid
uuid_t uuid
Definition daos_task.h:148
daos_pool_connect_t::pool
const char * pool
Definition daos_task.h:158
daos_pool_connect_t::grp
const char * grp
Definition daos_task.h:150
daos_pool_connect_t::poh
daos_handle_t * poh
Definition daos_task.h:154
daos_pool_connect_t::info
daos_pool_info_t * info
Definition daos_task.h:156
daos_pool_connect_t::flags
unsigned int flags
Definition daos_task.h:152
daos_pool_cont_info2
Definition daos_pool.h:197
daos_pool_cont_info
Definition daos_pool.h:189
daos_pool_del_attr_t
Definition daos_task.h:274
daos_pool_del_attr_t::n
int n
Definition daos_task.h:278
daos_pool_del_attr_t::names
char const *const * names
Definition daos_task.h:280
daos_pool_del_attr_t::poh
daos_handle_t poh
Definition daos_task.h:276
daos_pool_disconnect_t
Definition daos_task.h:162
daos_pool_disconnect_t::poh
daos_handle_t poh
Definition daos_task.h:164
daos_pool_filter_cont_t
Definition daos_task.h:224
daos_pool_filter_cont_t::cont_buf
struct daos_pool_cont_info2 * cont_buf
Definition daos_task.h:232
daos_pool_filter_cont_t::filt
daos_pool_cont_filter_t * filt
Definition daos_task.h:228
daos_pool_filter_cont_t::ncont
daos_size_t * ncont
Definition daos_task.h:230
daos_pool_filter_cont_t::poh
daos_handle_t poh
Definition daos_task.h:226
daos_pool_get_attr_t
Definition daos_task.h:246
daos_pool_get_attr_t::sizes
size_t * sizes
Definition daos_task.h:256
daos_pool_get_attr_t::n
int n
Definition daos_task.h:250
daos_pool_get_attr_t::values
void *const * values
Definition daos_task.h:254
daos_pool_get_attr_t::names
char const *const * names
Definition daos_task.h:252
daos_pool_get_attr_t::poh
daos_handle_t poh
Definition daos_task.h:248
daos_pool_info_t
Definition daos_pool.h:167
daos_pool_list_attr_t
Definition daos_task.h:236
daos_pool_list_attr_t::buf
char * buf
Definition daos_task.h:240
daos_pool_list_attr_t::size
size_t * size
Definition daos_task.h:242
daos_pool_list_attr_t::poh
daos_handle_t poh
Definition daos_task.h:238
daos_pool_list_cont_t
Definition daos_task.h:214
daos_pool_list_cont_t::cont_buf
struct daos_pool_cont_info * cont_buf
Definition daos_task.h:220
daos_pool_list_cont_t::ncont
daos_size_t * ncont
Definition daos_task.h:218
daos_pool_list_cont_t::poh
daos_handle_t poh
Definition daos_task.h:216
daos_pool_query_t
Definition daos_task.h:190
daos_pool_query_t::prop
daos_prop_t * prop
Definition daos_task.h:198
daos_pool_query_t::info
daos_pool_info_t * info
Definition daos_task.h:196
daos_pool_query_t::ranks
d_rank_list_t ** ranks
Definition daos_task.h:194
daos_pool_query_t::poh
daos_handle_t poh
Definition daos_task.h:192
daos_pool_query_target_t
Definition daos_task.h:202
daos_pool_query_target_t::info
daos_target_info_t * info
Definition daos_task.h:210
daos_pool_query_target_t::rank
d_rank_t rank
Definition daos_task.h:208
daos_pool_query_target_t::tgt_idx
uint32_t tgt_idx
Definition daos_task.h:206
daos_pool_query_target_t::poh
daos_handle_t poh
Definition daos_task.h:204
daos_pool_replicas_t
Definition daos_task.h:284
daos_pool_replicas_t::uuid
uuid_t uuid
Definition daos_task.h:286
daos_pool_replicas_t::failed
d_rank_list_t * failed
Definition daos_task.h:292
daos_pool_replicas_t::group
const char * group
Definition daos_task.h:288
daos_pool_replicas_t::targets
d_rank_list_t * targets
Definition daos_task.h:290
daos_pool_set_attr_t
Definition daos_task.h:260
daos_pool_set_attr_t::n
int n
Definition daos_task.h:264
daos_pool_set_attr_t::values
void const *const * values
Definition daos_task.h:268
daos_pool_set_attr_t::sizes
size_t const * sizes
Definition daos_task.h:270
daos_pool_set_attr_t::names
char const *const * names
Definition daos_task.h:266
daos_pool_set_attr_t::poh
daos_handle_t poh
Definition daos_task.h:262
daos_pool_stop_svc_t
Definition daos_task.h:306
daos_pool_stop_svc_t::poh
daos_handle_t poh
Definition daos_task.h:308
daos_pool_update_t
Definition daos_task.h:168
daos_pool_update_t::uuid
uuid_t uuid
Definition daos_task.h:170
daos_pool_update_t::tgts
struct d_tgt_list * tgts
Definition daos_task.h:176
daos_pool_update_t::grp
const char * grp
Definition daos_task.h:172
daos_pool_update_t::svc
d_rank_list_t * svc
Definition daos_task.h:174
daos_prop_t
Definition daos_prop.h:635
daos_recx_t
Definition daos_obj.h:336
daos_set_params_t
Definition daos_task.h:129
daos_set_params_t::key_id
uint32_t key_id
Definition daos_task.h:135
daos_set_params_t::value
uint64_t value
Definition daos_task.h:137
daos_set_params_t::rank
d_rank_t rank
Definition daos_task.h:133
daos_set_params_t::grp
const char * grp
Definition daos_task.h:131
daos_set_params_t::value_extra
uint64_t value_extra
Definition daos_task.h:139
daos_target_info_t
Definition daos_pool.h:71
daos_tx_abort_t
Definition daos_task.h:571
daos_tx_abort_t::th
daos_handle_t th
Definition daos_task.h:573
daos_tx_close_t
Definition daos_task.h:587
daos_tx_close_t::th
daos_handle_t th
Definition daos_task.h:589
daos_tx_commit_t
Definition daos_task.h:563
daos_tx_commit_t::flags
uint32_t flags
Definition daos_task.h:567
daos_tx_commit_t::th
daos_handle_t th
Definition daos_task.h:565
daos_tx_open_snap_t
Definition daos_task.h:577
daos_tx_open_snap_t::epoch
daos_epoch_t epoch
Definition daos_task.h:581
daos_tx_open_snap_t::coh
daos_handle_t coh
Definition daos_task.h:579
daos_tx_open_snap_t::th
daos_handle_t * th
Definition daos_task.h:583
daos_tx_open_t
Definition daos_task.h:553
daos_tx_open_t::coh
daos_handle_t coh
Definition daos_task.h:555
daos_tx_open_t::flags
uint64_t flags
Definition daos_task.h:559
daos_tx_open_t::th
daos_handle_t * th
Definition daos_task.h:557
daos_tx_restart_t
Definition daos_task.h:593
daos_tx_restart_t::th
daos_handle_t th
Definition daos_task.h:595