]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_librbd_fsx: use private RNG context 2038/head
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 27 Jun 2014 18:43:39 +0000 (22:43 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Sun, 29 Jun 2014 17:55:11 +0000 (21:55 +0400)
commitabdb168ccebadfdb59f29995cee8e6a72d164bd2
tree6facdbd20f582bc4195f544eb3f24288478c7da9
parentc2ffad3494ead646a9d7777fce7306a94215af15
test_librbd_fsx: use private RNG context

It is at the core of fsx to be able to reproduce the exact op sequence
that lead to a failure.  Use reentrant glibc RNG functions to make sure
that nothing else has to chance to mess up the sequence.

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