]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: use rctx transaction for PG removal
authorSage Weil <sage@redhat.com>
Fri, 9 Mar 2018 01:46:03 +0000 (19:46 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:26:58 +0000 (08:26 -0500)
commit740b7809af540b4f3fe0cd3c0f05d5a25633ee0c
treee288712ed19713f11f8e611c4d0e3db2f659cf46
parent11a9fbecf9436ef7244f2e58c9597977031f502f
osd: use rctx transaction for PG removal

In the normal case, queue up the removal work on the rctx transaction.

For the final cleanup, since we need to block, dispatch it ourselves, and
do not do so in OSD.cc.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.cc
src/osd/PG.h