Skip to content

Commit

Permalink
Merge pull request ceph#41889 from ChenFanTony/mkfs_wait_complete
Browse files Browse the repository at this point in the history
osd/OSD: mkfs need wait for transcation completely finish

Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov authored Jun 25, 2021
2 parents d45f9e4 + 0ffadad commit 423f8d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osd/OSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2142,6 +2142,7 @@ int OSD::mkfs(CephContext *cct,
<< "queue_transaction returned " << cpp_strerror(ret) << dendl;
return ret;
}
ch->flush();
}

ret = write_meta(cct, store.get(), sb.cluster_fsid, sb.osd_fsid, whoami, osdspec_affinity);
Expand Down

0 comments on commit 423f8d3

Please sign in to comment.