ceph/ceph — pull request #2296 by majianpeng (2014-08-21 07:27:45+00:00)
Title: os/FileJournal: For journal-aio-mode, don't use aio when closing journal

....

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
Tested-by: Mark Kirkwood
Signed-off-by: Ma Jianpeng