From: Haomai Wang Date: Fri, 21 Feb 2014 14:14:52 +0000 (+0800) Subject: Remove filestore_inject_stall X-Git-Tag: v0.78~130^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9543664b87581baf7bd3e7885c9e56a63a4ad70d;p=ceph.git Remove filestore_inject_stall Signed-off-by: Haomai Wang --- diff --git a/src/os/KeyValueStore.cc b/src/os/KeyValueStore.cc index 7156044f162d..fe92e9633822 100644 --- a/src/os/KeyValueStore.cc +++ b/src/os/KeyValueStore.cc @@ -1065,16 +1065,6 @@ void KeyValueStore::op_queue_release_throttle(Op *o) void KeyValueStore::_do_op(OpSequencer *osr, ThreadPool::TPHandle &handle) { - // inject a stall? - if (g_conf->filestore_inject_stall) { - int orig = g_conf->filestore_inject_stall; - dout(5) << "_do_op filestore_inject_stall " << orig << ", sleeping" << dendl; - for (int n = 0; n < g_conf->filestore_inject_stall; n++) - sleep(1); - g_conf->set_val("filestore_inject_stall", "0"); - dout(5) << "_do_op done stalling" << dendl; - } - // FIXME: Suppose the collection of transaction only affect objects in the // one PG, so this lock will ensure no other concurrent write operation osr->apply_lock.Lock();