|
From: | Vijay Bellur |
Subject: | Re: [Gluster-devel] Delay in establishing connection between client and server |
Date: | Mon, 25 Jun 2012 22:58:05 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |