]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
objecter: don't serialize responses if there's no object name
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 28 May 2014 19:12:31 +0000 (12:12 -0700)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:00 +0000 (01:34 +0100)
commite76cfcc6cf9db44e6fd286a9e2d5d8c2cff0900c
tree6b1615befce822243b0bfc95f293a210cb01d935
parentcdb8899a416a239b8eb06dfc5ef9d36feccd330f
objecter: don't serialize responses if there's no object name

This implicitly fixes an issue with the list_objects() being reentrant,
and triggers a lock dependency issue. The better solution would be to
have the callback context specify whether it's reentrant or not, but
will require a much bigger change.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/osdc/Objecter.cc