]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/newstore: throttle over entire write lifecycle
authorSage Weil <sage@redhat.com>
Thu, 23 Apr 2015 21:51:51 +0000 (14:51 -0700)
committerSage Weil <sage@redhat.com>
Tue, 1 Sep 2015 17:39:40 +0000 (13:39 -0400)
commit41886c5420934dea85121c497bef370cfd290fc2
tree560a18f307a413acb266ed084df0f5dc585cb7b8
parentb1136fbd33936e355f332ae9535aa19a85c37211
os/newstore: throttle over entire write lifecycle

Take a global throttle when we submit ops and release when they complete.
The first throttles cover the period from submit to commit, while the wal
ones also cover the async post-commit wal work.  The configs are additive
since the wal ones cover both periods; this should make them reasonably
idiot-proof.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/os/newstore/NewStore.cc
src/os/newstore/NewStore.h