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