]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: unify throttling model
authorSage Weil <sage@redhat.com>
Mon, 3 Apr 2017 20:44:42 +0000 (16:44 -0400)
committerSage Weil <sage@redhat.com>
Wed, 5 Apr 2017 14:26:56 +0000 (10:26 -0400)
commitb4b800f3e27895ddd801e8f50eb62264db7586fa
tree18cd6831edc062ac35eebac4694073423a88806a
parent5075b27f007a63e097d4c442f3b3160f086f164a
os/bluestore: unify throttling model

Implement a super simple model for the cost of a transaction
for the purposes of throttling.  This replaces two independent
throttles (one for transaction ops, one for bytes) and puts
them both under the 'bytes' throttle.  The txc model cost is
expressed in terms of bytes as this is probably the simplest
thing for users to reason about.

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