Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/FileJournal: For journal-aio-mode, don't use aio when closing jour…
…nal. For jouranl-aio-mode when closing journal, the write_finish_thread_entry may exit before write_thread_entry. This cause no one wait last aios to complete. On some platform, after that the journal-header on journal corrupted. To avoid this, when closing jouranl we don't use aio. Fixes: 9073 Reported-by: Mark Kirkwood <mark.kirkwood@catalyst.net.nz> Tested-by: Mark Kirkwood <mark.kirkwood@catalyst.net.nz> Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com> (cherry picked from commit e870fd0)
- Loading branch information