We are trying to generate a new key-value store in dbpf.
We have written our own functions needed for the db access. Below are their
signatures :

1. static int dbpf_keyval_add_data(TROVE_coll_id coll_id,
                                TROVE_handle handle,
                                TROVE_keyval_s *key_p,
                                TROVE_keyval_s *val_p,
                                TROVE_ds_flags flags,
                                TROVE_vtag_s *vtag,
                                void *user_ptr,
                                TROVE_context_id context_id,
                                TROVE_op_id *out_op_id_p,
                                PVFS_hint  hints)
2.  static int dbpf_keyval_add_data_op_svc(struct dbpf_op *op_p)


Also, we have registered the functions in data structures wherever the
other functions of the same file  are registered, say as values to function
pointers.

*But Unfortunately, we still aren't able to to write to the BDB. *

We are also unsure what to make of the the event handling functions in BDB
such as below :

PINT_event_define_event(&
trove_dbpf_event_group,
                                "dbpf_keyval_add_data",
                                "%d%d%d%llu%llu%d%d",
                                "%llu",
                                &trove_dbpf_write_event_id);

Please help us, we have been stuck on this a while now.

Thanks in advance,
Jay.
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to