mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
Merge PR #38121 into master
* refs/pull/38121/head: client: do not unset the client_debug_inject_tick_delay Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
ba055a743c
@ -6525,13 +6525,6 @@ void Client::start_tick_thread()
|
||||
auto t_interval = clock::duration(cct->_conf.get_val<sec>("client_tick_interval"));
|
||||
auto d_interval = clock::duration(cct->_conf.get_val<sec>("client_debug_inject_tick_delay"));
|
||||
|
||||
// Clear the debug inject tick delay
|
||||
if (unlikely(d_interval.count() > 0)) {
|
||||
ldout(cct, 20) << "clear debug inject tick delay: " << d_interval << dendl;
|
||||
ceph_assert(0 == cct->_conf.set_val("client_debug_inject_tick_delay", "0"));
|
||||
cct->_conf.apply_changes(nullptr);
|
||||
}
|
||||
|
||||
auto interval = std::max(t_interval, d_interval);
|
||||
if (likely(since >= interval)) {
|
||||
tick();
|
||||
|
Loading…
Reference in New Issue
Block a user