]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: throttle snap trimmming with simple delay
authorSage Weil <sage@inktank.com>
Fri, 18 Apr 2014 20:50:11 +0000 (13:50 -0700)
committerSage Weil <sage@inktank.com>
Wed, 7 May 2014 21:23:37 +0000 (14:23 -0700)
commit14ebe9b5ff3e053ba93e7deefd6aace0a202a01c
tree648c83c5729f8eb7e552e584573f1bdbcfb6cf87
parent27d6032ef6dbaa521176be71758609448db1fca9
osd: throttle snap trimmming with simple delay

This is not particularly smart, but it is *a* knob that lets you make
the snap trimmer slow down.  It's a flow and a simple delay, so it is
adjustable at runtime.  Default is 0 (no change in behavior).

Partial solution for #6278.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 4413670d784efc2392359f0f22bca7c9056188f4)
src/common/config_opts.h
src/osd/ReplicatedPG.cc