]> 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:06 +0000 (14:23 -0700)
commit4e5e41deeaf91c885773d90e6f94da60f6d4efd3
treec44cb7abf62e8f13884d0253ae2d9b96d7c91d03
parent14650b282ecd344025714a4e743b255ae01b3ce0
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