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

os/filestore/FileJournal: bufferlist rebuild #13980

Merged
merged 3 commits into from Mar 20, 2017

Conversation

Projects
None yet
3 participants
@majianpeng
Member

majianpeng commented Mar 15, 2017

No description provided.

@majianpeng

This comment has been minimized.

Member

majianpeng commented Mar 16, 2017

@liewegas. please review. Thanks!

majianpeng added some commits Mar 16, 2017

os/filestore: Only directio mode, it do bufferlist::rebuild_align.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
os/filestore/FileJournal: change func align_bl to check_align.
In fact, this function only check bufferlist whether size&address aling.
It don't do any retune work. So change name to check_align.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
os/filestore/FileJournal: Only write w/ directio fail, it check buffe…
…rlist whether align.

Move check bufferlist align into after direct-write which met error. Because check_align basilly
don't met error.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>

@liewegas liewegas changed the title from Filejournal bufferlist rebuild to os/filestore/FileJournal: bufferlist rebuild Mar 16, 2017

@yuriw yuriw merged commit 9b3c2da into ceph:master Mar 20, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment