Skip to content

Wip wjw freebsd buildtools#7239

Closed
wjwithagen wants to merge 50 commits into
ceph:masterfrom
wjwithagen:wip-wjw-freebsd-buildtools
Closed

Wip wjw freebsd buildtools#7239
wjwithagen wants to merge 50 commits into
ceph:masterfrom
wjwithagen:wip-wjw-freebsd-buildtools

Conversation

@wjwithagen
Copy link
Copy Markdown
Contributor

Modifications to the autobuild tools to be able to build this on FreeBSD.
This pull does not contain changes to actual code that is compiled.

	stat(1) does not have %T
	and does not run btrfs

Signed-off-b: Willem Jan Withagen <wjw@digiware.nl>
Also added ./{do|autogen}_freebsd.sh files to have an easier
entry for more specific FreeBSD stuff.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
-  Mainly removal of -ldl lib inclusion, since it already goes with
   the default path
-  Install the required dependancies the FreeBSD way
-  Organise of building files which have FreeBSD specfic code.
	The actual files will be in a different pull request

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
ritz303 and others added 24 commits January 24, 2016 13:13
…ion under the bench sub-command

Fixes: #12899

Signed-off-by: ritz303 <ritz_303@yahoo.com>
The type of return value from JSONParser::parse() is bool, it never returns
a negative value.

Signed-off-by: Dunrong Huang <dunrong.huang@eayun.com>
The type of return value from uuid_d::parse() is bool, it never returns
a negative value.

Signed-off-by: Dunrong Huang <dunrong.huang@eayun.com>
Fixes: #11101
Signed-off-by: Kefu Chai <kchai@redhat.com>
Simplify config, and avoid immediate gift or reclaim when it doesn't match.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
- simplify tunables (min/max ratio of freespace between bluefs vs bluestore)
- add reclaim support

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Fixes: #14343
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Fixes: #14344
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: Ruifeng Yang <yangruifeng.09209@h3c.com>
Fixes: #14351
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
When booting up OSD, it loads all PGs and their respective logs. To speed
up processing later, these logs are accompanied by separate unordered_maps
which are also populated during PG load.
Delay that until we actually need to access it, so we don't occupy too much
memory right from start - and when we need it, populate just the map that
we want to use, not all 3 of them at once.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Fixes: #14352
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Readahead can break our mix of aio/dio and buffered io.  Although the
dio path will invalidate pages before and after initiating the IO, and we
do not issue racing buffered reads, the readahead code might.  That would
result in pages in the page cache that are not coherent with an aio write.

This is easy to reproduce with ceph_test_objectstore's Synthetic case
when bluestore_default_buffered_read=true.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xiexingguo and others added 21 commits January 24, 2016 13:13
Fixes: #14259
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Fixes: #14260
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Fixes: #14261
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Fixes: #14353
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
For the sake of performance.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
For the sake of performance.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
Signed-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
@wjwithagen wjwithagen closed this Jan 29, 2016
@ghost ghost added the trash label Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants