]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
FileSTore: do not time out threads while they're waiting for op throttle 886/head
authorGreg Farnum <greg@inktank.com>
Wed, 4 Dec 2013 01:02:24 +0000 (17:02 -0800)
committerGreg Farnum <greg@inktank.com>
Wed, 4 Dec 2013 01:02:24 +0000 (17:02 -0800)
commit68fdcfa1cc249af859400a2ce4590fefbb2f525b
treee1605795b584b737ca38f3b537faed18839d0f0e
parentd8ccd73968fbd0753ca08916ebf1062cdb4d5ac1
FileSTore: do not time out threads while they're waiting for op throttle

In order to support this, we pass TPHandle* through the ObjectStore
interface, and then if we have one we suspend the timeouts while
waiting to get our op/byte throttles in the FileStore.
The OSD uses this when doing PG splits.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/os/FileStore.cc
src/os/FileStore.h
src/os/ObjectStore.h
src/osd/OSD.cc
src/osd/OSD.h