mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
osd: move buffer-related stats from tick() to tick_without_osd_lock()
1. these counters are of type atomic_t and are public-access safe. 2. since the tick() thread requires the big osd_lock and thus may not tick at a constant interval, it is good for accuracy and performance to move the buffer-related stats to the tick_without_osd_lock() thread instead. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
parent
013f394d83
commit
1addc92fc4