On 05/17/2013 02:27 PM, Kai Zhang wrote: > Add a uint8_t flag "set_bitmap" to sd_req.vdi_state. > Function notify_vdi_add will set bitmap if "set_bitmap" is not 0. > > This feature will be used for recovering vdi state and vdi bitmap > on all nodes after loading snapshot to a new cluster.
Why .set_bitmap is needed? post_cluster_new_vdi() won't set the bit on all the node? >+ hdr.vdi_state.set_bitmap = 0; should use 'false'. Thanks, Yuan -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
