]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: Constrain max number of in-flight read requests 2820/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Oct 2014 18:47:19 +0000 (14:47 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 11 Nov 2014 03:20:58 +0000 (22:20 -0500)
commitcd784eab22a329cd3eb3798feb9d975a4506c57e
tree5aeddcd5557af50e5dea9739dba146b2e1c6361b
parent2e2fc44f9929b1d6df3f808451a716a10f43a9d6
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