]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_test_librados_tier: tolerage EAGAIN from pg scrub command 1657/head
authorSage Weil <sage@inktank.com>
Fri, 11 Apr 2014 21:48:26 +0000 (14:48 -0700)
committerSage Weil <sage@inktank.com>
Fri, 11 Apr 2014 21:48:26 +0000 (14:48 -0700)
commit19acfebc4d81d1c4fa19f2abf5d50146e554b002
tree0b7cfd3d885d63b36291f48b9c7694d42b27028e
parent39b9d9d8c4eb8803c9521166ace745e71089372d
ceph_test_librados_tier: tolerage EAGAIN from pg scrub command

We may get EAGAIN if the osd happens to be down, for example due to
thrashing.  Try a few times and then give up.

Note that the other place we try to scrub we don't even check the return
value as we are poking ever pg in the pool.  And the scrub commands get
lost due to any peering event, etc.

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