]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Patrick Donnelly [Thu, 28 Sep 2017 23:01:00 +0000 (16:01 -0700)]
mds: improve cap min/max ratio descriptions
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 28 Sep 2017 22:56:26 +0000 (15:56 -0700)]
mds: fix whitespace
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 27 Sep 2017 17:39:01 +0000 (10:39 -0700)]
mds: cap client recall to min caps per client
Fixes: http://tracker.ceph.com/issues/21575
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 27 Sep 2017 16:29:39 +0000 (09:29 -0700)]
mds: fix conf types
This correct an assertion failure.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 27 Sep 2017 16:29:23 +0000 (09:29 -0700)]
mds: fix whitespace
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
ren.huanwen [Mon, 18 Sep 2017 07:51:29 +0000 (15:51 +0800)]
doc/cephfs: add client min cache and max cache ratio describe
Signed-off-by: ren.huanwen <ren.huanwen@zte.com.cn>
ren.huanwen [Mon, 18 Sep 2017 07:14:19 +0000 (15:14 +0800)]
mds: adding tunable features for caps_per_client
Sometimes we need to raise or lower the value of "max_caps_per_client" and
"min_caps_per_client" to improve recall_client_state efficiency
Signed-off-by: ren.huanwen <ren.huanwen@zte.com.cn>
Kefu Chai [Sun, 17 Sep 2017 11:42:52 +0000 (19:42 +0800)]
Merge pull request #17737 from ivancich/wip-pull-updated-dmclock
osd: update dmclock library w git subtree pull
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Sat, 16 Sep 2017 18:00:50 +0000 (02:00 +0800)]
Merge pull request #17762 from yaozongyou/fix-typo-in-php-rst
doc: fix typo in php.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 16 Sep 2017 17:59:12 +0000 (12:59 -0500)]
Merge pull request #17763 from xiexingguo/wip-21409
qa: fix pool-quota related tests
Reviewed-by: Sage Weil <sage@redhat.com>
Yao Zongyou [Sat, 16 Sep 2017 05:54:03 +0000 (13:54 +0800)]
doc: fix typo in php.rst
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
xie xingguo [Sat, 16 Sep 2017 02:04:56 +0000 (10:04 +0800)]
qa: fix pool-quota related tests
https://github.com/ceph/ceph/pull/17371 introduces support of
per-pool space-full flag, which turns out to set both
full and full_no_quota flags now if a pool is currently running out
of quota.
Actually this test is fragile as long as we keep appending new flags
at pool granularity, but let's not bother with that complexity now.
Fixes: http://tracker.ceph.com/issues/21409
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sat, 16 Sep 2017 05:30:26 +0000 (13:30 +0800)]
Merge pull request #17615 from tchaikov/wip-osx
cmake,common: changes to port part of ceph to osx
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Wed, 13 Sep 2017 09:44:35 +0000 (17:44 +0800)]
client: use st_mtimespec instea of st_mtime on osx
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 09:21:38 +0000 (17:21 +0800)]
msg/msg_types: fix the dencoder of entity_addr_t
improve the interoperability between freebsd/osx and GNU/Linux, because
the their layouts of sockaddr_storage are different, and we use the
one of linux as the wire format. so need to convert it on freebsd/osx
side.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 16 Sep 2017 02:48:27 +0000 (21:48 -0500)]
Merge pull request #17698 from liewegas/wip-bluestore-big-allocations
os/bluestore: allocate entire write in one go
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Wed, 13 Sep 2017 09:20:05 +0000 (17:20 +0800)]
crc32c: pass integer param by uint64_t
the assembly is expecting 64bits input, so make this explicit.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 07:28:08 +0000 (15:28 +0800)]
crc32c: mach-o 64 follows the same calling convention as elf64 does
so reuse the register-parameter/variable mappings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 05:09:40 +0000 (13:09 +0800)]
test/encoding/readable.sh: use sysctl -n hw.ncpu instead of nproc on osx also
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 04:17:30 +0000 (12:17 +0800)]
cmake: check for fdatasync() on non osx
on osx, fdatasync() is a syscall without userspace wrapper.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 04:03:37 +0000 (12:03 +0800)]
mds: use the best-effort if procfs is not available
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 03:40:21 +0000 (11:40 +0800)]
cmake: allows undefined symbol in plugin on osx
clang on osx erros out when linking a dynamic library if any symbols is
missing by default. so disable this behavior.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 03:23:21 +0000 (11:23 +0800)]
cmake: disable plugins using isa-l on osx
clang on osx emits functions with leading underscore, but the isa-l
assembly's functions have no leading underscore. we could label the
function declaration like `int foo asm("foo")` to remove the leading
underscore, but isa-l is a git submodule, let do this later. and in the
meanwhile, disable this plugin on osx.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 03:09:49 +0000 (11:09 +0800)]
crc32: label assembler functions without leading underscore
clang onder osx adds leading undescore to the function names to be
ABI compatible. but the assembly code does not do so. so we need to
control the name using gcc/clang extension. see
https://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Asm-Labels.html#Asm-Labels
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 10 Sep 2017 18:00:44 +0000 (02:00 +0800)]
compat: consolidate definitions of osx and freebsd
on osx, ENODATA = 96, so we need to fix it. also define
CLOCK_MONOTONIC_COARSE and CLOCK_REALTIME_COARSE for osx, ceph_time.h
defines this also, but i don't want to include compat.h in ceph_time.h
at this moment.
and silence the warning of
#warning ENODATA already defined to a value different from 87 (ENOATRR), refining to fix
because it is fired everywhere on osx when "compat.h" is included.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 10 Sep 2017 13:38:56 +0000 (21:38 +0800)]
msg/msg_types: fix the denc of sockaddr_storage on freebsd/osx
the layout of sockaddr_in and sockaddr_in6 are different on
GNU/Linux and FreeBSD/OSX:
- on GNU/Linux, sockaddr does not have sa_len,
- on GNU/Linux, sockaddr* use a 16 bit integer for sa_family, but
on FreeBSD, a 32bit integer is used.
so we need to be more care when memcpy() between sockaddr_storage()
and ceph_sockaddr_storage().
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 10 Sep 2017 08:10:27 +0000 (16:10 +0800)]
msg/msg_types: consolidate sockaddr_storage dencoders
utilize ceph_sockaddr_storage on FreeBSD and osx to perform the
dencoding, to improve the readability.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 10 Sep 2017 04:35:46 +0000 (12:35 +0800)]
cmake: do not pass --exclude-libs on osx
it is not supported by osx linker
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 18:45:24 +0000 (02:45 +0800)]
crc32c: only add qualifiers for elf64 format
they are not understood by non-elf formats
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 18:36:41 +0000 (02:36 +0800)]
cmake: compile Mach-O format instead of ELF on OSX
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 18:26:35 +0000 (02:26 +0800)]
cmake: link against libresolv on OSX
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 17:19:28 +0000 (01:19 +0800)]
time: use mach_absolute_time() for monotonic time
* use mach_absolute_time() for monotonic time
mach_absolute_time() is faster and monotonic, see
https://developer.apple.com/library/content/qa/qa1398/_index.html
for its implementation, see
https://opensource.apple.com/source/xnu/xnu-3248.60.10/libsyscall/wrappers/mach_absolute_time.s
it's using rdtsc.
* and remove unnecessary headers from ceph_time.h
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 16:49:15 +0000 (00:49 +0800)]
cmake: remove unnecessary linkage of librt
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 16:48:37 +0000 (00:48 +0800)]
cmake: do not link against librt on osx
as osx does not offer librt
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 16:15:18 +0000 (00:15 +0800)]
common/util: port collect_sys_info() to osx
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 15:08:27 +0000 (23:08 +0800)]
msg/simple: port to osx
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 14:45:27 +0000 (22:45 +0800)]
common/fd: port dump_open_fds() to osx
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 14:41:15 +0000 (22:41 +0800)]
cmake: move MemoryModel.cc to $mds_srcs
as it is only used by mds.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 14:40:12 +0000 (22:40 +0800)]
global/signal_handler: port get_name_by_pid() to osx
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 14:16:36 +0000 (22:16 +0800)]
cmake: check for osx using `APPLE` not `DARWIN`
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 14:12:04 +0000 (22:12 +0800)]
os,common: check __APPLE__ for osx not DARWIN
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 13:45:44 +0000 (21:45 +0800)]
common/io_priority: include <errno.h> on osx
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Sep 2017 13:18:53 +0000 (21:18 +0800)]
cmake: s/-Wl,-export-dynamic/$CMAKE_EXE_EXPORTS_C_FLAG/
* s/-Wl,-export-dynamic/$CMAKE_EXE_EXPORTS_C_FLAG/
this address the issue on osx:
ld: unknown option: --export-dynamic
because ld on osx does not support `-export-dynamic`, it supports
`-export_dynamic` though.
CMAKE_EXE_EXPORTS_C_FLAG is set to -Wl,-export-dynamic on FreeBSD
and GNU/Linux.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 16 Sep 2017 01:56:13 +0000 (09:56 +0800)]
Merge pull request #17718 from kungf/scrub_loadavg
osd: get loadavg per cpu for scrub load threshold check
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 16 Sep 2017 01:55:34 +0000 (09:55 +0800)]
Merge pull request #17704 from liewegas/wip-osd-deq
osd: minor optimizations for op wq
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Kefu Chai [Sat, 16 Sep 2017 01:54:06 +0000 (09:54 +0800)]
Merge pull request #17666 from david-z/wip-objectore-tool
tools/ceph-objectstore-tool: split filestore directories offline to target hash level
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sat, 16 Sep 2017 01:53:33 +0000 (09:53 +0800)]
Merge pull request #17748 from tchaikov/wip-mon-constness
mon: more constness
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Sat, 16 Sep 2017 01:52:03 +0000 (09:52 +0800)]
Merge pull request #17727 from tchaikov/wip-pybind-cleanup
pybind: remove unused get_ceph_version()
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sat, 16 Sep 2017 01:51:18 +0000 (09:51 +0800)]
Merge pull request #17749 from tchaikov/wip-vstart
vstart.sh: simplify the objectstore related logic
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Kefu Chai [Sat, 16 Sep 2017 01:50:17 +0000 (09:50 +0800)]
Merge pull request #17418 from Songweibin/wip-osdmap-full-try
rados: support python API of "set_osdmap_full_try"
Reviewed-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sat, 16 Sep 2017 01:48:06 +0000 (09:48 +0800)]
Merge pull request #17295 from david-z/wip-compress-scrub-warning
mon: Compress the warnings of pgs not scrubbed or deep-scrubbed
Reviewed-by: Sage Weil <sage@redhat.com>
Jos Collin [Sat, 16 Sep 2017 01:04:57 +0000 (01:04 +0000)]
Merge pull request #17732 from Songweibin/wip-fix-comments
doc,os,osdc: drop and modify comments
Reviewed-by: Jos Collin <jcollin@redhat.com>
Sage Weil [Fri, 15 Sep 2017 21:25:34 +0000 (16:25 -0500)]
Merge pull request #17675 from theanalyst/doc-rgw-reshard
doc: rgw: add a note for resharding in 12.2.1 docs
Abhishek Lekshmanan [Fri, 15 Sep 2017 21:20:27 +0000 (23:20 +0200)]
doc: rgw: add a note for resharding in 12.2.1 docs
Since we're now enabling dynamic resharding, mention this in release
notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:35 +0000 (14:12 -0700)]
Merge PR #17701 into master
* refs/remotes/upstream/pull/17701/head:
qa/cephfs: Fix error in test_filtered_df
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:33 +0000 (14:12 -0700)]
Merge PR #17694 into master
* refs/remotes/upstream/pull/17694/head:
qa/cephfs: kill mount if it gets evicted by mds
qa/cephfs: fix test_evict_client
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:31 +0000 (14:12 -0700)]
Merge PR #17681 into master
* refs/remotes/upstream/pull/17681/head:
mon: remove mdsmap-derived perf counters
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:29 +0000 (14:12 -0700)]
Merge PR #17676 into master
* refs/remotes/upstream/pull/17676/head:
qa/tasks/cephfs: Whitelist POOL_APP_NOT_ENABLED for test_misc
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:27 +0000 (14:12 -0700)]
Merge PR #17671 into master
* refs/remotes/upstream/pull/17671/head:
messages: Initilization of left memebers
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:25 +0000 (14:12 -0700)]
Merge PR #17670 into master
* refs/remotes/upstream/pull/17670/head:
messages: Initialization of member variables
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:23 +0000 (14:12 -0700)]
Merge PR #17652 into master
* refs/remotes/upstream/pull/17652/head:
client: use unsigned trim_caps count
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:22 +0000 (14:12 -0700)]
Merge PR #17598 into master
* refs/remotes/upstream/pull/17598/head:
messages: Initialization of members MMDSCacheRejion
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:20 +0000 (14:12 -0700)]
Merge PR #17595 into master
* refs/remotes/upstream/pull/17595/head:
ceph-fuse: should free array using "delete[]"
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:19 +0000 (14:12 -0700)]
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 15 Sep 2017 21:12:04 +0000 (14:12 -0700)]
Merge PR #17542 into master
* refs/remotes/upstream/pull/17542/head:
client: Delete onsafe
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 15 Sep 2017 20:35:03 +0000 (15:35 -0500)]
Merge pull request #17709 from liewegas/wip-bluestore-repair
ceph-bluestore-tool: better fsck/repair, bluefs-bdev-{expand,sizes}
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 15 Sep 2017 17:23:56 +0000 (01:23 +0800)]
Merge pull request #17388 from tchaikov/wip-rocksdb
rocksdb: sync with upstream
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:57:36 +0000 (19:57 +0800)]
Merge pull request #17706 from liewegas/wip-test-listsnaps
ceph_test_rados_api_tier: add ListSnap test
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:55:55 +0000 (19:55 +0800)]
Merge pull request #17705 from dzafman/wip-21328
osd: Only scan for omap corruption once
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:54:58 +0000 (19:54 +0800)]
Merge pull request #17703 from dzafman/wip-misc
Erasure code read test and code cleanup
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:54:04 +0000 (19:54 +0800)]
Merge pull request #17699 from tchaikov/wip-lookout-for-large-elen
msg/msg_types: fix the entity_addr_t's decoder
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:52:08 +0000 (19:52 +0800)]
Merge pull request #17667 from scienceluo/wip-luo-fix-cli-output-branch
pybind/ceph_argparse: fix cli output info
Reviewed-by: Chang Liu <liuchang0812@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:51:31 +0000 (19:51 +0800)]
Merge pull request #17664 from Yan-waller/wip-walle-0912moninjectargs
common: fix daemon abnormal exit at parsing invalid arguments
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:51:01 +0000 (19:51 +0800)]
Merge pull request #17655 from optimistyzy/911_2
src/bluestore/NVMEDevice: make all read use aio_submit
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
Kefu Chai [Fri, 15 Sep 2017 11:49:52 +0000 (19:49 +0800)]
Merge pull request #17611 from chardan/jfw-wip-atomic_t-cleanup
follow-up fixups for atomic_t spinlocks
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:49:02 +0000 (19:49 +0800)]
Merge pull request #17605 from jcsp/wip-21253
mgr: fix py calls for dne service perf counters
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:48:40 +0000 (19:48 +0800)]
Merge pull request #17568 from amitkumar50/cov-msg-2
msg: Initializing class members in module msg
Reviewed-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 11:48:08 +0000 (19:48 +0800)]
Merge pull request #16699 from jcsp/wip-mgr-perf-threshold
mgr: apply a threshold to perf counter prios
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Sep 2017 14:55:58 +0000 (22:55 +0800)]
msg/msg_types: fix the entity_addr_t's decoder
the daemon is vulnerable to malicious client, which is able to send
large elen, and corrupt the stack, etc.
* throw at seeing corrupted entity_addr_t where its elen exceeds
the length of sockaddr
* handle the exception thrown when decoding entity_addr_t in messenger
layer.
* if a malicious client manages to send a corrutped entity_addr_t to
daemon, daemon will crash because decode fails and the exception is
not handled. it's better than continuing working with the bogus
message.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 6 Sep 2017 02:46:13 +0000 (10:46 +0800)]
cmake: build portable rocksdb
* so rocksdb is not built with -march=native, because
- this is not portable
- -march=native is not supported by older version of GCC on aarch64.
* and drop the sse42 specific settings for rocksdb. since rocksdb uses
"target" attribute to build sse42 optimized crc32, as long as the
compiler on building host is able to emit sse42 instructions.
see https://github.com/facebook/rocksdb/pull/2807
Fixes: http://tracker.ceph.com/issues/20529
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Aug 2017 05:02:08 +0000 (13:02 +0800)]
kv/RocksDBStore: update to accomodate the change in rocksdb 5.6.0
per rocksdb's HISTORY.md, it
> replace global variable `PerfContext perf_context` with `PerfContext*
> get_perf_context()`.
hence the change.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Aug 2017 04:54:16 +0000 (12:54 +0800)]
rocksdb: sync with upstream
to pickup the fix of https://github.com/facebook/rocksdb/pull/2692.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 15 Sep 2017 04:42:48 +0000 (12:42 +0800)]
vstart.sh: simplify the objectstore related logic
also avoid overriding --memstore specified by command line with
the default "bluestore"
Reported-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 14 Sep 2017 08:11:15 +0000 (16:11 +0800)]
mon: more constness
Signed-off-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Fri, 15 Sep 2017 03:38:36 +0000 (20:38 -0700)]
Merge pull request #17361 from kungf/ulimit_setup
run-make-check.sh: run ulimit without sudo
Reviewed-by: Dan Mick <dmick@redhat.com>
yang.wang [Wed, 30 Aug 2017 08:32:49 +0000 (16:32 +0800)]
run-make-check.sh: run ulimit without sudo
ulimit is a shell builtin like cd, not a separate program.
sudo looks for a binary to run, but there is no ulimit binary,
then you will get an error message like:
"sudo: ulimit: command not found"
ulimit can only be run with root if you want raise the ulimit -n
Change-Id: I59ab09240cb15cabe5b0a7342c3f562cd50c75e9
Signed-off-by: yang.wang <yang.wang@easystack.cn>
Dan Mick [Fri, 15 Sep 2017 02:07:11 +0000 (19:07 -0700)]
Merge pull request #17713 from tchaikov/wip-ceph.in-python
ceph.in: execv using the same python
Josh Durgin [Thu, 14 Sep 2017 23:36:26 +0000 (16:36 -0700)]
Merge pull request #17583 from neha-ojha/wip-cbt-teuthology-integration
qa: add cbt task for performance testing
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
vasukulkarni [Thu, 14 Sep 2017 23:13:37 +0000 (16:13 -0700)]
Merge pull request #17680 from ceph/wip-smoke-whitelist
qa/tests: Various whitelists for smoke suite
Vasu Kulkarni [Tue, 12 Sep 2017 20:49:39 +0000 (13:49 -0700)]
Various whitelists for tests to pass
See tracker http://tracker.ceph.com/issues/21376 for details
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Sage Weil [Wed, 13 Sep 2017 22:33:21 +0000 (18:33 -0400)]
ceph-bluestore-tool: better default logging; --log-file and --log-level options
- keep derr going to stderr (so we see 'fsck error' messages)
- hide the rest
- add friendly --log-file option
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 10 Sep 2017 19:37:10 +0000 (15:37 -0400)]
os/bluestore: fsck: fix error prefixes
__func__ is now _fsck instead of fsck
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Sep 2017 22:27:20 +0000 (18:27 -0400)]
ceph-bluestore-tool: add 'bluefs-bdev-expand' to expand wal or db usage
If you are using the wal or db devices, this will expand bluefs's usage to
include the entire block device.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Sep 2017 22:20:27 +0000 (18:20 -0400)]
ceph-bluestore-tool: add 'bluefs-bdev-sizes' command
Show bdev sizes vs owned extents.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Sep 2017 22:12:21 +0000 (18:12 -0400)]
ceph-bluestore-tool: factor out bluefs mount
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Sep 2017 16:29:32 +0000 (12:29 -0400)]
os/bluestore: allow repair invocation
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Sep 2017 16:27:35 +0000 (12:27 -0400)]
os/ObjectStore: add repair interface
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 14 Sep 2017 14:53:47 +0000 (22:53 +0800)]
Merge pull request #17733 from yaozongyou/fix-doc-boolean-type-zero-to-false
doc: change boolean option default value from zero to false.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 14 Sep 2017 14:18:41 +0000 (09:18 -0500)]
Merge pull request #17610 from liewegas/wip-bluestore-fm-mas
os/bluestore: set bitmap freelist resolution to min_alloc_size
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@gmail.com>
Kefu Chai [Thu, 14 Sep 2017 13:42:56 +0000 (21:42 +0800)]
Merge pull request #17617 from liewegas/wip-drop-disk-log
mon/PGMap: drop DISK LOG column
Reviewed-by: Kefu Chai <kchai@redhat.com>