]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/rbd-ggate: close log before running postfork 30858/head
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 29 Aug 2019 13:54:30 +0000 (15:54 +0200)
committerJason Dillaman <dillaman@redhat.com>
Thu, 10 Oct 2019 23:22:39 +0000 (19:22 -0400)
commit647040e29b2b40712518ec2e84d28ad2ce58df15
tree3d775d9937acaf87d11aa76bbfc8eb133dbf20a9
parentbed903698004511c41161b23e4e568202a6faab7
tools/rbd-ggate: close log before running postfork

Otherwise the assert in Log:open() will trigger since
all data is kept during the fork and also the `is_started` flag

Fixes: https://tracker.ceph.com/issues/41592
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
(cherry picked from commit 21bdd4c6ecd24b2a7dbf8691705f228ac11481ad)

Conflicts:
src/tools/rbd_ggate/main.cc : Resolved in do_map
src/tools/rbd_ggate/main.cc