]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd image_read.sh: test different clone object orders
authorAlex Elder <elder@inktank.com>
Tue, 21 May 2013 17:25:53 +0000 (12:25 -0500)
committerAlex Elder <elder@inktank.com>
Tue, 21 May 2013 19:44:40 +0000 (14:44 -0500)
commitbfb08ee4b23fbb4b985bb37213bd644366de63fb
tree6d3adcb4ea4d814a4acdc9a657f04ee56f448b45
parent7ad5cebae16dd725547df3c30558974f0825d262
rbd image_read.sh: test different clone object orders

An rbd clone image can be created with an object order that differs
from that of its parent.  This patch adds testing for that in
qa/workunits/rbd/image_read.sh.  By default, clone images will be
created with an object size twice as big as that of its parent.

For simplicity, when a clone's object order differs from its parent
the order will be either one more than or one less than that of its
parent image, meaning its object size is either double or half of
the size of objects used in the parent.

Signed-off-by: Alex Elder <elder@inktank.com>
qa/workunits/rbd/image_read.sh