rados -p $poolname put obj$i /dev/null
done
+ ceph osd set nobackfill
ceph osd pool set $poolname size 3
- sleep 15
+ sleep 2
+ ceph osd unset nobackfill
wait_for_clean || return 1
# Remember primary during the backfill
local primary=$(get_primary $poolname obj1)
+ ceph osd set nobackfill
ceph osd out osd.$primary
ceph osd pool set $poolname size 3
- sleep 15
+ sleep 2
+ ceph osd unset nobackfill
wait_for_clean || return 1
# Remember primary during the backfill
local primary=$(get_primary $poolname obj1)
+ ceph osd set nobackfill
ceph osd out osd.$(get_not_primary $poolname obj1)
- sleep 15
+ sleep 2
+ ceph osd unset nobackfill
wait_for_clean || return 1
local primary=$(get_primary $poolname obj1)
local otherosd=$(get_not_primary $poolname obj1)
+ ceph osd set nobackfill
kill $(cat $dir/osd.${otherosd}.pid)
ceph osd down osd.${otherosd}
ceph osd out osd.${otherosd}
- sleep 15
+ sleep 2
+ ceph osd unset nobackfill
wait_for_clean || return 1