Re: [Gluster-devel] xlator option setting in gfapi

2016-05-09 Thread Raghavendra Gowdappa
- Original Message - > From: "Poornima Gurusiddaiah" > To: "Raghavendra Gowdappa" > Cc: "Raghavendra Talur" , "Gluster Devel" > , "Jeff Cody" > , "Rajesh Joseph"

Re: [Gluster-devel] xlator option setting in gfapi

2016-05-09 Thread Poornima Gurusiddaiah
Hi, Reply inline Regards, Poornima - Original Message - > From: "Raghavendra Gowdappa" > To: "Raghavendra Talur" > Cc: "Poornima Gurusiddaiah" , "Gluster Devel" > , "Jeff Cody" >

Re: [Gluster-devel] xlator option setting in gfapi

2016-05-09 Thread Poornima Gurusiddaiah
Hi, This is what happens when glfs_set_xlator_option is called: - It updates ctx->cmd_args->xlator_options - gf_add_cmdline_options (during glusterfs_graph_prepare.. pub_glfs_init) adds it to xl->options - glusterfs_graph_unknown_options (during glusterfs_graph_activate.. pub_glfs_init) checks

Re: [Gluster-devel] xlator option setting in gfapi

2016-05-09 Thread Raghavendra Gowdappa
- Original Message - > From: "Raghavendra Talur" > To: "Raghavendra Gowdappa" > Cc: "Poornima Gurusiddaiah" , "Gluster Devel" > , "Jeff Cody" > , "Rajesh Joseph"

Re: [Gluster-devel] xlator option setting in gfapi

2016-05-09 Thread Raghavendra Talur
On Mon, May 9, 2016 at 8:45 AM, Raghavendra Gowdappa wrote: > Hi Poornima/Raghavendra, > > This mail is an initiation of a thread to discuss how to make xlator > options setting in gfapi synchronous (so, that caller will know the result) > or providing a cbk to let the

[Gluster-devel] xlator option setting in gfapi

2016-05-08 Thread Raghavendra Gowdappa
Hi Poornima/Raghavendra, This mail is an initiation of a thread to discuss how to make xlator options setting in gfapi synchronous (so, that caller will know the result) or providing a cbk to let the application know about the status. My very naive attempt of code-reading showed me that