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

Vijay Bellur vijay at gluster.com
Tue Jun 26 02:58:05 UTC 2012


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.

-Vijay





More information about the Gluster-devel mailing list