]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objecter: set linger op target pg when a linger is resent
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 11 Feb 2011 21:21:05 +0000 (13:21 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 11 Feb 2011 21:21:52 +0000 (13:21 -0800)
commitb7d1d0522f1cfe0cad15802ac8fd568a42528e0c
tree66fb04be302eab773e7221ca07e9b3e0db50d8db
parentaf755be94101569227e6bfee3ea5fe2d1061fb02
objecter: set linger op target pg when a linger is resent

send_linger always creates a new Op, but op_submit does not fill in
the target pg if an existing session is passed in, so when a linger
was resent, it had the wrong pg set.

This caused a crash in cosd with debugging turned on when running
testlibrbd twice. This occurred because the object context for the
linger in the wrong pg had no object name set.
src/osdc/Objecter.cc