[
https://issues.apache.org/jira/browse/BOOKKEEPER-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15688067#comment-15688067
]
ASF GitHub Bot commented on BOOKKEEPER-816:
-------------------------------------------
GitHub user sijie opened a pull request:
https://github.com/apache/bookkeeper/pull/80
BOOKKEEPER-816: use native fallocate & sync_file_range to improve journal
allocation
- leverage filesystem fallocate for better journal allocation
- update marker on journal replaying
- more stats
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sijie/bookkeeper sijie/bookkeeper_fallocate
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/80.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #80
----
commit d9802962b20acf7a86209262871af7a2eb4cbed7
Author: Sijie Guo <[email protected]>
Date: 2014-01-28T07:03:07Z
bookie: fallocate & sync_file_range
- introduce fallocate & sync_file_range in NativeIO to provide better
preallocation & file sync logic.
- if journalAdaptiveGroupWrites is disabled, use sync_file_range to sync
range in better granularity
- add more stats on journal flush & creation.
RB_ID=260795
commit 014512c3563bd06bd90789db0c5d0369fe421a62
Author: Sijie Guo <[email protected]>
Date: 2016-11-18T01:32:15Z
fix merge conflicts
commit 6077ef8b97648aa5521d352609abb236b151b8ad
Author: Sijie Guo <[email protected]>
Date: 2016-11-18T01:42:36Z
Fix
----
> use native fallocate & sync_file_range to improve journal allocation
> --------------------------------------------------------------------
>
> Key: BOOKKEEPER-816
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-816
> Project: Bookkeeper
> Issue Type: Improvement
> Components: bookkeeper-server
> Reporter: Sijie Guo
> Assignee: Sijie Guo
> Fix For: 4.5.0
>
>
> it'd better to leverage filesystem fallocate & sync_file_range for journal
> performance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)