New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osd: os/FileJournal: Fix journal write fail, align for direct io #5619
Conversation
when config journal_zero_on_create true, osd mkfs will fail when zeroing journal. journal open with O_DIRECT, buf should align with blocksize. Backport: giant, firefly, dumpling Signed-off-by: Xie Rui <875016668@qq.com> Reviewed-by: Sage Weil <sage@redhat.com> (cherry picked from commit 80473f6)
What is the corresponding issue ? There does not seem to be a matching pull request for the cherry picked commit. |
@smithfarm reading the comment helps... sorry for the noise ;-) |
@dachary Actually, I created the issue and added it to the comment :-) |
@dachary, is this ready to go? |
@dmick @smithfarm knows how much testing it saw. |
@dmick I would not say it is ready yet. It was in the last round of firefly integration tests. The rados suite results are here: http://tracker.ceph.com/issues/11644#note-102 I am scheduling suites for a new round, now. |
New rados suite: http://tracker.ceph.com/issues/11644#note-110 |
…gn for direct io Reviewed-by: Loic Dachary <ldachary@redhat.com>
os/FileJournal: Fix journal write fail, align for direct io Reviewed-by: Loic Dachary <ldachary@redhat.com> Reviewed-by: Nathan Cutler <ncutler@suse.cz>
http://tracker.ceph.com/issues/12945