mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
5e625674a8
The TENTH_TIMEOUT was not delcared as an int and failed to be set with the correct number. The test of the function did not catch this. Implement computing of the increasingly large sleep delays in a separate function so that it can be tested more easily. Give up on sub-second sleep because a the function will not sleep at all if the cluster is already clean. And if it is not already clean, it is very unlikely to become clean within less than a second. The downside of having very short sleep time is that it needlessly stress the machine and also possibly spam the logs. Refs: http://tracker.ceph.com/issues/17830 Signed-off-by: Loic Dachary <loic@dachary.org> |
||
---|---|---|
.. | ||
caps | ||
ceph-disk | ||
ceph-tests | ||
cephtool | ||
cls | ||
direct_io | ||
erasure-code | ||
fs | ||
hadoop | ||
libcephfs | ||
libcephfs-java | ||
mon | ||
objectstore | ||
osdc | ||
rados | ||
rbd | ||
rename | ||
rest | ||
restart | ||
rgw | ||
suites | ||
ceph-helpers-root.sh | ||
ceph-helpers.sh | ||
false.sh | ||
kernel_untar_build.sh | ||
Makefile | ||
post-file.sh | ||
true.sh |