]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: fix DiffIterateStress again
authorSage Weil <sage@inktank.com>
Sat, 6 Apr 2013 16:37:52 +0000 (09:37 -0700)
committerSage Weil <sage@inktank.com>
Sat, 6 Apr 2013 16:37:52 +0000 (09:37 -0700)
commit628e9ae26db0d7765caffd4035903dcaa0429c89
treed795c5f69baf0b26df19b771feaf9e44682fb7ac
parent79b71441f8c2a1b282fa0e85badcb7d410c8005d
librbd: fix DiffIterateStress again

- fix seed
- the array indices are points in time; no need to subtract one from i!
- pick a random seed and print it to stdout

I ran this with several different seeds without failure, so I am confident
we are in good shape.  And if we ever get a future failure, we'll have the
seed to reproduce.

Signed-off-by: Sage Weil <sage@inktank.com>
src/test/librbd/test_librbd.cc