Skip to content
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

Merged
1 commit merged into from Oct 20, 2015

Commits on Aug 20, 2015

  1. os/FileJournal: Fix journal write fail, align for direct io

    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)
    liewegas committed Aug 20, 2015
    Copy the full SHA
    278d732 View commit details
    Browse the repository at this point in the history