]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_librbd_fsx: also flatten as part of randomize_parent_overlap 2230/head
authorIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 29 Jul 2014 14:29:19 +0000 (18:29 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 8 Aug 2014 14:53:14 +0000 (18:53 +0400)
commitc34f935284212e0f2b4563f9920c6bb695ef90d0
tree0dc7dad0d9df7574a4cd8138f8855af2fb8df3f5
parentde0c7202a0cc883d8433fae0ef1f64daafa106bb
test_librbd_fsx: also flatten as part of randomize_parent_overlap

With randomize_parent_overlap fsx will randomly truncate base images
after they have been cloned from.  This throws flatten into the mix:
base image will be flattened with 2/16 chance (equal to the chance of
leaving the image intact).

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
src/test/librbd/fsx.c