]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: add OpRequest flag point when commit is sent
authorSage Weil <sage@inktank.com>
Mon, 21 Jan 2013 22:14:25 +0000 (14:14 -0800)
committerSage Weil <sage@inktank.com>
Tue, 22 Jan 2013 22:47:40 +0000 (14:47 -0800)
commitb685f727d4c37a26cb78bd4a04cce041428ceb52
treec7e52eee42d5e2fcb99a7f9b0e7ae755d2d16def
parenta1bf8220e545f29b83d965f07b1abfbea06238b3
osd: add OpRequest flag point when commit is sent

With writeahead journaling in particular, we can get requests that
stay in the queue for a long time even after the commit is sent to the
client while we are waiting for the transaction to apply to the fs.
Instead of showing up as 'waiting for subops', make it clear that the
client has gotten its reply and it is local state that is slow.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OpRequest.h
src/osd/ReplicatedPG.cc