]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/ObjectCacher: back off less during flush
authorSage Weil <sage@inktank.com>
Fri, 3 Jan 2014 20:51:15 +0000 (12:51 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 14 Apr 2014 17:04:55 +0000 (10:04 -0700)
commit25c32482046a3925024ef996ecc98053a7358e61
tree7d13eb4f1a897c7ee256584bcac8c7f843846283
parent3382fe3cc31be05002c4d349de313e78aa616cce
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>
(cherry picked from commit e2ee52879e9de260abbf5eacbdabbd71973a6a83)
src/osdc/ObjectCacher.cc