]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD: mkfs need wait for transcation completely finish 43418/head
authorChen Fan <fan.chen@easystack.cn>
Wed, 9 Jun 2021 05:29:03 +0000 (13:29 +0800)
committerMykola Golub <mgolub@suse.com>
Tue, 5 Oct 2021 08:05:31 +0000 (11:05 +0300)
commit8db4e04eb7b8860c69914b79345f9112f12a41a7
tree8391327d282aee06b5e69e2eafaefbc5af30be3b
parent7db57e66f3cc91ef199a67d197af9dfc25c3eed1
osd/OSD: mkfs need wait for transcation completely finish

when do ceph-osd mkfs, when ceph-osd process exit, sometimes
the block data could be written incompletely. we need add
wait for it complete.

Signed-off-by: Chen Fan <fan.chen@easystack.cn>
(cherry picked from commit 0ffadad3a83b3ca634d7d58a80c84d1d8761e2ea)
src/osd/OSD.cc