[Gluster-devel] Delay in establishing connection between client and server

Bharata B Rao bharata.rao at gmail.com
Tue Jun 26 06:24:32 UTC 2012


On Tue, Jun 26, 2012 at 8:28 AM, Vijay Bellur <vijay at gluster.com> wrote:
> On 06/20/2012 04:43 AM, Bharata B Rao wrote:
>>
>>
>>
>> Using this arbitrary delay of 1s from QEMU backend driver is a hack
>> and I would like to know if there is a better and cleaner way solve
>> this problem. Note that in QEMU, we do gluster_init() and immediately
>> go ahead and do gluster_open() of the image file.
>>
>
> For a cleaner solution, you will have to await GF_EVENT_CHILD_UP
> notification before performing gluster_open() or any fop on the graph.

Thanks, I should have noticed that!

Regards,
Bharata.




More information about the Gluster-devel mailing list