[sheepdog] [PATCH stable-0.7 0/3] update for vdi checking on nr_zones < inode->nr_copies
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Mon Jan 27 09:51:09 CET 2014
This update is a bugfix for "dog vdi check". When "dog vdi check" is invoked in
an environment with a number of zones which is less than inode->nr_copies, the
command rised panic. This update fixes this problem.
This update contains manual modification for backporting. If no one disagrees in
2 days or a maintainer agrees, it will be pushed to stable-0.7.
Hitoshi Mitake (3):
tests/functional: add a new test for vdi check with the condition
nr_zones < inode->nr_copies
dog: caliculate a number of zones
dog: use a minimum number of copies and zones for vdi checking
dog/dog.c | 17 +++++++++++++++++
dog/dog.h | 1 +
dog/vdi.c | 17 ++++++++---------
tests/functional/083 | 29 +++++++++++++++++++++++++++++
tests/functional/083.out | 11 +++++++++++
tests/functional/group | 1 +
6 files changed, 67 insertions(+), 9 deletions(-)
create mode 100755 tests/functional/083
create mode 100644 tests/functional/083.out
--
1.7.10.4
More information about the sheepdog
mailing list