-
Notifications
You must be signed in to change notification settings - Fork 527
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
curvebs: support 512 aligned IO #1231
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ s3.throttle.iopsWriteLimit={{ s3_throttle_iopsWriteLimit }} | |
s3.throttle.bpsTotalMB= {{ s3_throttle_bpsTotalLimit }} | ||
s3.throttle.bpsReadMB= {{ s3_throttle_bpsReadLimit }} | ||
s3.throttle.bpsWriteMB= {{ s3_throttle_bpsWriteLimit }} | ||
s3.useVirtualAddressing=False | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this configuration for? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it was introduced by #1253 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,8 @@ chunk_size=16777216 | |
chunkserver_walfilepool_segment_size=8388608 | ||
retain_pool=False | ||
walfilepool_use_chunk_file_pool=True | ||
chunkserver_meta_page_size=4096 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider chunkserver_meta_page_size, which is automatically calculated by chunkserver according to the chunkserver_block_size? |
||
chunkserver_block_size=4096 | ||
|
||
[snapshotclone_nginx:vars] | ||
snapshot_nginx_package_version="0.0.6.1.1+7af4d6a4" | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this value be verified on the mds side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have three verifications:
global.block_size
in chunkserver's conf and chunkfilepool's metafile, if they aren't equal, chunkserver will quit.block_size
, and when it starts, we will verify this item with block size recorded in etcd, if they aren't equal, mds will quit.and for compatibility,