From: levin li <[email protected]> For sheep's first boot, we get the free disk space either by syscall or by user's determination though command line argement, and then we store the size into config file, and for later boot, we just read the size from config file, the space size can never be changed after first boot.
The free space size of every node is notified to every other node though join message, and stored in sd_node, every time a new node joins or an old node leaves, we recalculate the vnodes number for every nodes. levin li (4): sheep: get the free disk space and store it in the config file sheep: add user-defined free disk space size sheep: recalculate the vnodes number when epoch changes sheep: remove command line argument --vnodes include/internal_proto.h | 1 + sheep/group.c | 24 +++++++++++++ sheep/sheep.c | 22 +++++++----- sheep/sheep_priv.h | 3 ++ sheep/store.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 127 insertions(+), 9 deletions(-) -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
