]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: drop bad session nref assert 2443/head
authorSage Weil <sage@redhat.com>
Wed, 10 Sep 2014 00:28:54 +0000 (17:28 -0700)
committerSage Weil <sage@redhat.com>
Wed, 10 Sep 2014 00:28:54 +0000 (17:28 -0700)
commit5a784cd3ebd87d7b626b70600184ecfb26a809c7
treea82b317444c0f9cbfeb2aac61fc22795ef41d197
parent3c6e8884dfa9a7457b9f14d200d51ede44a97815
osdc/Objecter: drop bad session nref assert

This is a bad assert.  Specifically, handle_osd_op_reply may still be
holding the session ref while it is calling the completion for a previous
request.  This is safe: it is only holding the session ref after it dropped
the global map rwlock because of the per-session completion locks.  The
request in question was already marked completed by the time our thread
took the session lock.

Fixes: #9241
Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Objecter.cc