]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PrimaryLogPG: reimplement osd_snap_trim_sleep within the state machine
authorGreg Farnum <gfarnum@redhat.com>
Fri, 7 Apr 2017 22:45:12 +0000 (15:45 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 26 Apr 2017 18:25:42 +0000 (11:25 -0700)
commit911a894d64616b2cb5bfe92e3366e8033fb0f59e
tree7caf976a27644a43d2b3bedfd61353dabeee6100
parent02a2ef41ae54dac7d903bc5753e6702582d55dd4
PrimaryLogPG: reimplement osd_snap_trim_sleep within the state machine

Rather than blocking the main op queue, just pause for that amount of
time between state machine cycles.

Also, add osd_snap_trim_sleep to a few of the thrasher yamls.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 2ed7759cfeb03e71f0fbd98fe7c2db2bb741861c)

Conflicts:
src/osd/PrimaryLogPG.cc

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
qa/suites/rados/thrash/thrashers/default.yaml
qa/suites/rados/thrash/thrashers/pggrow.yaml
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h