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

FileJournal: New journal padding mode #6856

Closed
wants to merge 2 commits into from

Commits on Dec 8, 2015

  1. os/FileJournal: Remove unused parameter for func check_for_full.

    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng authored and XinzeChi committed Dec 8, 2015
    Configuration menu
    Copy the full SHA
    a672f88 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2015

  1. FileJournal: New journal padding mode

    Current, because the requirement of DirectIo, the padding mode
    is adding padding data for every entry.
    
    In fact, we fetch a couple of entries as a system write as possible
    as can. So we only make sure system-write content met the requirement
    of DirectIO. We adding a padding entry at the end of system-write
    content(for most case, this include a couple of entries).
    
    User could set the osd_journal_padding_ahead to decide which mode.
    osd_journal_padding_ahead = true is good choice for pcie-ssd.
    
    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    Signed-off-by: Xinze Chi <xinze@xsky.com>
    XinzeChi committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    33ab6a3 View commit details
    Browse the repository at this point in the history