]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: Constrain max number of in-flight read requests 3654/head 3655/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 4 Feb 2015 10:07:32 +0000 (05:07 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 4 Feb 2015 10:51:41 +0000 (05:51 -0500)
commit34d35951e62f0985013e33c5f90938b28862bc35
tree6b463401aa887382a9838af66e02b33a5653fef3
parent8820d4c30a8bf62527ac552491e9825906c4a3d3
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