daos object class name to ID conversion
Zhang, Jiafu
Hi,
daos_oclass_name2id cannot convert all object class names defined in daos_obj_class.h to correct IDs. I tracked down to static variable “daos_obj_classes “, which doesn’t provide mapping of all object class names. Do you know why?
Thanks. |
|
Lombardi, Johann
Jiafu,
Could you please give me an example of object class that you cannot convert with
daos_oclass_name2id? Johann
From:
<daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Hi,
daos_oclass_name2id cannot convert all object class names defined in daos_obj_class.h to correct IDs. I tracked down to static variable “daos_obj_classes “, which doesn’t provide mapping of all object class names. Do you know why?
Thanks. --------------------------------------------------------------------- This e-mail and any attachments may contain confidential material for |
|
Zhang, Jiafu
Johann,
For example,
int type = daos_oclass_name2id("RP_SF_LARGE"); // You’ll get 0.
“OC_RP_SF_LARGE” is defined in daos_obj_class.h
Thanks.
From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of
Lombardi, Johann
Sent: Tuesday, June 16, 2020 7:08 PM To: daos@daos.groups.io Subject: Re: [daos] daos object class name to ID conversion
Jiafu,
Could you please give me an example of object class that you cannot convert with
daos_oclass_name2id? Johann
From:
<daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Hi,
daos_oclass_name2id cannot convert all object class names defined in daos_obj_class.h to correct IDs. I tracked down to static variable “daos_obj_classes “, which doesn’t provide mapping of all object class names. Do you know why?
Thanks. --------------------------------------------------------------------- This e-mail and any attachments may contain confidential material for |
|
Zhen, Liang
Hi Jiafu, you are right, we don’t have all the classes defined even their IDs are already in the header files, this is because we don’t have all the features yet. If there is a class that you specifically want, please let us know so we can check and see if we can add it sooner. I will also add comments for those unsupported classes.
Thanks Liang
From: <daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Johann,
For example,
int type = daos_oclass_name2id("RP_SF_LARGE"); // You’ll get 0.
“OC_RP_SF_LARGE” is defined in daos_obj_class.h
Thanks.
From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of
Lombardi, Johann
Sent: Tuesday, June 16, 2020 7:08 PM To: daos@daos.groups.io Subject: Re: [daos] daos object class name to ID conversion
Jiafu,
Could you please give me an example of object class that you cannot convert with
daos_oclass_name2id? Johann
From:
<daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Hi,
daos_oclass_name2id cannot convert all object class names defined in daos_obj_class.h to correct IDs. I tracked down to static variable “daos_obj_classes “, which doesn’t provide mapping of all object class names. Do you know why?
Thanks. --------------------------------------------------------------------- This e-mail and any attachments may contain confidential material for |
|
Zhang, Jiafu
Hi Zhen,
I’ll throw exception and let user know some of them are not supported yet.
Thanks.
From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of
Zhen, Liang
Sent: Wednesday, June 17, 2020 11:55 PM To: daos@daos.groups.io Subject: Re: [daos] daos object class name to ID conversion
Hi Jiafu, you are right, we don’t have all the classes defined even their IDs are already in the header files, this is because we don’t have all the features yet. If there is a class that you specifically want, please let us know so we can check and see if we can add it sooner. I will also add comments for those unsupported classes.
Thanks Liang
From: <daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Johann,
For example,
int type = daos_oclass_name2id("RP_SF_LARGE"); // You’ll get 0.
“OC_RP_SF_LARGE” is defined in daos_obj_class.h
Thanks.
From: daos@daos.groups.io <daos@daos.groups.io>
On Behalf Of Lombardi, Johann
Jiafu,
Could you please give me an example of object class that you cannot convert with
daos_oclass_name2id? Johann
From:
<daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Hi,
daos_oclass_name2id cannot convert all object class names defined in daos_obj_class.h to correct IDs. I tracked down to static variable “daos_obj_classes “, which doesn’t provide mapping of all object class names. Do you know why?
Thanks. --------------------------------------------------------------------- This e-mail and any attachments may contain confidential material for |
|