]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PrimaryLogPG: reimplement osd_snap_trim_sleep within the state machine 13594/head
authorSamuel Just <sjust@redhat.com>
Tue, 21 Feb 2017 05:24:33 +0000 (21:24 -0800)
committerSamuel Just <sjust@redhat.com>
Tue, 21 Feb 2017 05:24:33 +0000 (21:24 -0800)
commit2ed7759cfeb03e71f0fbd98fe7c2db2bb741861c
treeafabe7dff0873f19b1b28b5f474baa77463f23b0
parent4aebf59d906fa3e03d21bdac182f89fe3cd4c802
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>
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