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?

Cheers,

Johann

 

From: <daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Friday 12 June 2020 at 02:36
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] daos object class name to ID conversion

 

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.

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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?

Cheers,

Johann

 

From: <daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Friday 12 June 2020 at 02:36
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] daos object class name to ID conversion

 

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.

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Tuesday, June 16, 2020 at 8:26 PM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] daos object class name to ID conversion

 

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?

Cheers,

Johann

 

From: <daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Friday 12 June 2020 at 02:36
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] daos object class name to ID conversion

 

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.

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Tuesday, June 16, 2020 at 8:26 PM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] daos object class name to ID conversion

 

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?

Cheers,

Johann

 

From: <daos@daos.groups.io> on behalf of "Zhang, Jiafu" <jiafu.zhang@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Friday 12 June 2020 at 02:36
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] daos object class name to ID conversion

 

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.

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.