[sheepdog] [PATCH v3 0/3] improve "dog vdi check" for the case of zones_nr < inode->copies
Hitoshi Mitake
mitake.hitoshi at gmail.com
Sat Jan 11 15:44:26 CET 2014
This patchset improves "dog vdi check" for the condition of a number of zones is
less than a number of copies. Previous vdi check rised panic when it faces the
condition.
The problem was reported by Marcin Mirosław.
v3: drop needless function in test scripts
v2: rename some variables
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 | 13 +++++++++++++
dog/dog.h | 1 +
dog/vdi.c | 19 ++++++++++++-------
tests/functional/083 | 40 ++++++++++++++++++++++++++++++++++++++++
tests/functional/083.out | 11 +++++++++++
tests/functional/group | 1 +
6 files changed, 78 insertions(+), 7 deletions(-)
create mode 100755 tests/functional/083
create mode 100644 tests/functional/083.out
--
1.8.1.2
More information about the sheepdog
mailing list