]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/ObjectCacher: back off less during flush 1038/head
authorSage Weil <sage@inktank.com>
Fri, 3 Jan 2014 20:51:15 +0000 (12:51 -0800)
committerSage Weil <sage@inktank.com>
Fri, 3 Jan 2014 20:51:15 +0000 (12:51 -0800)
commite2ee52879e9de260abbf5eacbdabbd71973a6a83
treec67a8ee539da8b29fa1c351fc6f600077cb6a15e
parent312107876c34008efeaaf4d3b5b5277ceeb7e816
osdc/ObjectCacher: back off less during flush

In cce990efc8f2a58c8d0fa11c234ddf2242b1b856 we added a limit to avoid
holding the lock for too long.  However, if we back off, we currently
wait for a full second, which is probably a bit much--we really just want
to give other threads a chance.

Backport: emperor
Signed-off-by: Sage Weil <sage@inktank.com>
src/osdc/ObjectCacher.cc