[sheepdog] [PATCH stable-0.7] update for confusing treatment of copy policy

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Jan 6 05:33:22 CET 2014


dog command of stable-0.7 allows a command line option like "3:1" as copy policy
(-c option of vdi create and cluster format). e.g. "3:1" is interpreted as "3"
because of the usage of strtol(). It is confusing for users when they need the
erasure coded VDIs and clusters. So this patch lets dog command forbid such an
option.

This update is not a backporting. If nobody disagree with this patch in 2 days
or a maintainer accepts, this patch will be pushed to stable-0.7.

Hitoshi Mitake (1):
  dog: forbid invalid copy policy option of cluster and vdi

 dog/cluster.c |    7 ++++++-
 dog/vdi.c     |    7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

-- 
1.7.10.4




More information about the sheepdog mailing list