]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filestore: add onreadable_sync callback
authorSage Weil <sage@newdream.net>
Fri, 26 Feb 2010 20:29:17 +0000 (12:29 -0800)
committerSage Weil <sage@newdream.net>
Fri, 26 Feb 2010 21:14:33 +0000 (13:14 -0800)
commit429a9ef071582b047a6980051a5db770e44c0710
treeb73fd50fe36e719af2af2ee33c64de16b3f0af4c
parent5e6b5aac1078e7667955efbf27cb793469501fff
filestore: add onreadable_sync callback

Add an additional completion context that gets called
synchronously when the operation completes, instead of getting
shunted to the async finisher thread.  This allows us to make
sure certain completion events happen without getting 'stuck
in line' behind other completions with conflicting locks.
src/os/FileStore.cc
src/os/FileStore.h
src/os/ObjectStore.h