]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: Keep LogSegment ref for openc backtrace 206/head
authorSam Lang <sam.lang@inktank.com>
Mon, 8 Apr 2013 14:09:41 +0000 (09:09 -0500)
committerSam Lang <sam.lang@inktank.com>
Mon, 8 Apr 2013 17:45:54 +0000 (12:45 -0500)
commit3cdc61eca27d05de93b3693e618cb922294f76a4
tree5798ad69909e3af3fce772855311f5b2b714971b
parentf5ba0fbbe73e11418634bc95e1fc36d17edccf37
mds: Keep LogSegment ref for openc backtrace

The MDRequest is destroyed once the client reply is sent, but
we need the reference to the LogSegment for updating the backtrace, so
store a temporary ref to the LogSegment for later.

Fixes #4660.
Signed-off-by: Sam Lang <sam.lang@inktank.com>
src/mds/Server.cc