]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: track unconnected_watchers and when they expire
authorSage Weil <sage@newdream.net>
Fri, 12 Nov 2010 16:53:16 +0000 (08:53 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 29 Nov 2010 20:56:10 +0000 (12:56 -0800)
commitec15c465179ae9720a228228a1d8c1cf78ed3d6d
tree051390c8d2cd431c10cc60bb8b47acc804171145
parent376870fafa106d7f2278123d9429700cb4933340
osd: track unconnected_watchers and when they expire

- set up an initial expiration when we load the obc off disk
- remove expiration when we connect to an existing watch
- add an expiration when a connection resets

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/OSD.cc
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h