]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: Constrain max number of in-flight read requests 3407/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Oct 2014 18:47:19 +0000 (14:47 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 5 Feb 2015 18:50:57 +0000 (13:50 -0500)
commit91515e750bfe2453ce8ac9ec568b0e314823dd82
tree5c8ea456a28985faad84cbaabc296b97cdfef464
parent222aa22ebc0ccb1b04156e0c9d05f4e4733ec290
osdc: Constrain max number of in-flight read requests

Constrain the number of in-flight RADOS read requests to the
cache size.  This reduces the chance of the cache memory
ballooning during certain scenarios like copy-up which can
invoke many concurrent read requests.

Fixes: #9854
Backport: giant, firefly, dumpling
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/osdc/ObjectCacher.cc
src/osdc/ObjectCacher.h
src/test/librbd/test_librbd.cc