[sheepdog] [PATCH v2 0/2] provide recovery progress information to users

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Aug 1 06:03:07 CEST 2013


Current sheepdog doesn't have a capability of showing progress of
recovery process. This patchset implements the feature. After applying
this set, users can see the progress like this:

$ sudo collie node recovery --progress
 99.7 % [==============================================>] 7047 / 7068

v2:
 - make this feature as an option of "node recovery", not a new subcommand
 - clean coding style, especially in collie side
 - don't use new variables for indicating the progress in sheep side

Hitoshi Mitake (2):
  sheep: enhance STAT_RECOVERY for prividing information of recovery
    progress
  collie: add a new option --progress to "node recovery" for showing
    recovery progress

 collie/node.c            |  110 +++++++++++++++++++++++++++++++++++++++++++++-
 include/internal_proto.h |   12 +++++
 sheep/ops.c              |   11 +++--
 sheep/recovery.c         |   19 +++++---
 sheep/sheep_priv.h       |    1 +
 5 files changed, 142 insertions(+), 11 deletions(-)

-- 
1.7.10.4




More information about the sheepdog mailing list