Sage Weil
68f2158cdb
msg/async: make send debug line look like SimpleMessenger's
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-22 14:55:55 -04:00
Sage Weil
85901d92a9
msg/async/AsyncConnection: less noisy about connection top
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-22 14:46:37 -04:00
Sage Weil
004abe0b48
msg/async/EventCenter: less noisy debug on events
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-22 14:45:45 -04:00
Casey Bodley
3bb268a37f
Merge pull request #11190 from tchaikov/wip-memstore-clone-fixture
...
tests: use a fixture for memstore clone testing
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-09-22 14:21:27 -04:00
Haomai Wang
b0c20f93ab
msg/async: avoid set out of range ms_async_op_threads option
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-09-23 01:23:29 +08:00
Boris Ranto
bbf94ddfe0
Merge pull request #10587 from b-ranto/wip-logrotate-root
...
logrotate: Run as root/ceph
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-09-22 18:22:53 +02:00
Yuri Weinstein
ab42f60572
Merge pull request #7338 from ceph/cls-lua
...
Lua object class support
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Ken Dreyer (Red Hat) <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-22 09:17:57 -07:00
Loic Dachary
eb968f886e
Merge pull request #10135 from david-z/wip-enhance-ceph-disk-bluestore
...
ceph-disk: support creating block.db and block.wal with customized size for bluestore
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-09-22 18:13:00 +02:00
Yuri Weinstein
b846597f95
Merge pull request #10371 from Yan-waller/yj-wip-msgsimple-0720
...
msg/simple: close the failed socket fds
https://github.com/ceph/ceph/pull/11052
2016-09-22 09:10:01 -07:00
Yuri Weinstein
3edc5c0fba
Merge pull request #11052 from yuyuyu101/wip-shutdown-deadlock
...
OSD: avoid FileStore finisher deadlock in osd_lock when shutdown OSD
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-22 09:03:39 -07:00
Yuri Weinstein
729a43f859
Merge pull request #11082 from aiicore/nearfull_flag_fix
...
mon: OSDMonitor: Missing nearfull flag set
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-22 09:01:24 -07:00
Kefu Chai
8f8a7a46a2
Merge pull request #11089 from dachary/wip-16477-ceph-helper
...
cli: retry when the mon is not configured
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-22 23:26:32 +08:00
Sage Weil
4a6bb07e99
Merge pull request #11199 from yuyuyu101/wip-17378
...
msg/async: remove fd output in log prefix
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-22 10:25:09 -05:00
Sage Weil
233804acac
Merge pull request #11195 from xiexingguo/xxg-wip-csum-improve
...
os/bluestore: a few fixes about the global csum setting
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-22 10:14:20 -05:00
Haomai Wang
5588176b12
msg/async: remove fd output in log prefix
...
it's tricky to prevent fd racing in logs, otherwise we need to provide with
lock to totally avoid this. But I don't think it deserve lock
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-09-22 23:11:09 +08:00
Sage Weil
920418e19f
Merge pull request #11182 from ceph/wip-docs-rm-ink
...
remove old references to inktank premium support
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-22 09:59:37 -05:00
Kefu Chai
7f073e0734
Merge pull request #11194 from wjwithagen/wip-wjw-rocksdb-include
...
src/kv/CMakeLists.txt: force rocksdb/include to first include directory
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-22 22:57:20 +08:00
xie xingguo
07f697799b
os/bluestore: fix race condition of global csum setting
...
The global csum_type option can be changed dynamically and
can be fixed by upgrading into std::atomic.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-22 22:46:50 +08:00
xie xingguo
ef9013445d
os/bluestore: drop the global bluestore_csum option
...
We don't need this option as it can be properly covered
by the bluestore_csum_type option.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-22 22:43:19 +08:00
xie xingguo
62ba4d4e53
os/bluestore: use blob internal settings for csum checking
...
This is because:
1. It is more accurate, as the global csum settings may change dynamically.
2. bluestore_blob_t::verify_csum() can handle both csum-on and csum-off correctly.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-22 22:43:17 +08:00
Sage Weil
36ea571027
Merge pull request #11151 from ceph/wip-bluestore-error-injection
...
os/bluestore: add error injection
2016-09-22 09:17:06 -05:00
Sage Weil
545aac4ac9
Merge pull request #11184 from liewegas/wip-down-out
...
mon: wait 10m (not 5m) before marking down OSDs out
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
2016-09-22 09:15:52 -05:00
Sage Weil
ece2507c0d
Merge pull request #11186 from majianpeng/bluestore-allocator
...
os/bluestore: remove unused head file.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-22 09:15:20 -05:00
Matt Benjamin
969750e963
rgw_file: pre-assign times
...
Set unix timestamps based on RGW values for creation, modification
time for buckets, objects in stat requests. Regard any saved
value of these in unix attributes as an overlay.
Fixes: http://tracker.ceph.com/issues/17367
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-09-22 10:11:31 -04:00
Sage Weil
ed24107e31
Merge pull request #11192 from xiexingguo/xxg-wip-bluestore-0922
...
os/bluestore: a few cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-22 09:03:59 -05:00
Mykola Golub
ff7fda4cf1
Merge pull request #11152 from dillaman/wip-17198
...
librbd: potential deadlock closing image with in-flight readahead
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-09-22 16:31:57 +03:00
Sage Weil
1f09557ffa
Merge pull request #10506 from wjwithagen/wip-wjw-clock-realtime
...
FreeBSD: Define CLOCK_REALTIME_COARSE in compat.h
2016-09-22 08:31:34 -05:00
Kefu Chai
eb3f7c558c
lttng: build the tracepoint provider lib from .c files in repo
...
we should not have `TRACEPOINT_DEFINE` deinfed in both the application
we are tracing and the tracing provider library.
* tracing/*.c: reference the header file with path
* README.md: add instructions to add .c file
* CMakeLists.c:
- compile the .c file in repo, not the one generated by
lttng-gen-tp
- no need to mark the generated header file as GENEREATED,
they are marked so by default (they are listed in OUTPUT)
- do not generate .c file anymore, they are not used.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-22 21:24:02 +08:00
Willem Jan Withagen
2757209d77
src/kv/CMakeLists.txt: force rocksdb/include to first include directory
...
- Otherwise on FreeBSD older packages could be used for include
this then can result to missing declared functions because
includes and libs are out of sync
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-22 14:19:09 +02:00
Alfredo Deza
9bb7cf7211
doc/rados/troubleshooting: remove references to premium support from inktank.com
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-09-22 07:43:43 -04:00
Alfredo Deza
c8dc8d3998
doc/rados: remove references to premium support from inktank.com
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-09-22 07:43:43 -04:00
John Spray
6dea73d870
Merge pull request #11147 from ukernel/wip-17286
...
client: fix readdir vs fragmentation race
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-09-22 12:42:56 +01:00
John Spray
814a4cdd41
Merge pull request #10393 from ukernel/wip-mds-log-flush
...
reduce unnecessary mds log flush
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-09-22 12:41:27 +01:00
Mykola Golub
c4d88d4653
Merge pull request #11155 from dillaman/wip-17330
...
librbd: backward/forward compatibility for update_features
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-09-22 13:54:08 +03:00
Mykola Golub
83697fd5aa
Merge pull request #11148 from dillaman/wip-17310
...
librbd: block name prefix might overflow fixed size C-string
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-09-22 13:50:03 +03:00
Jianpeng Ma
765240a503
os/bluestore: remove unused head file.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-09-22 17:00:11 +08:00
Kefu Chai
1300a766c2
Merge pull request #11176 from zealoussnow/wip-0922
...
ceph_fuse: use sizeof get the buf length
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-22 16:56:32 +08:00
Kefu Chai
0cad3dc183
test_memstore_clone: use StoreTestFixture to do the setup/teardown
...
rename test case name from `MemStore` to `MemStoreClone`, because
if we use `TEST_F` to group the tests into a fixture, `MemStore`
will be used as the class name of the fixture, and hence conflicts
with the existing `MemStore` class under testing.
but the object store is created and destroyed for every test. before
this change, we do this for every test case. if it's a concern
we need to use SetUpTestCase() and TearDownTestCase() instead.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-22 15:50:47 +08:00
Kefu Chai
afac9345fd
ceph_test_objectstore: fail the test if SetUp() fails
...
so it will issues a fatal error if anything goes wrong, instead of continuing
with the test cases.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-22 15:45:35 +08:00
Kefu Chai
7f4dff2248
ceph_test_objectstore: extract StoreTestFixture into store_test_fixture.cc
...
so it can be reused by other tests like test_memstore_clone.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-22 15:45:35 +08:00
xie xingguo
fcaeb67de7
os/bluestore: clean up finishers properly
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-22 15:16:03 +08:00
xie xingguo
4213b43a41
os/bluestore: move lookup() of SharedBlobSet back into .h
...
Because the lookup() method is simple and easy,
and requires no dout for debugging.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-22 14:49:03 +08:00
Sage Weil
817d65bd46
mon: wait 10m (not 5m) before marking down OSDs out
...
5m isn't quite enough time for many boxes to reboot. 10m will do
a better job of masking transient crashes without having much
effect on time to repair.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-21 18:06:57 -04:00
Sage Weil
5723a69ffc
os/bluestore: add error injection
...
This is used by the teuthology repair_test.py.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-21 16:49:25 -04:00
Sage Weil
31b9ff0f69
Merge pull request #11122 from branch-predictor/bp-zlib-improvements
...
compressor/zlib: switch to raw deflate
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-21 14:48:21 -05:00
Sage Weil
6ce888dcc8
Merge pull request #11108 from liewegas/wip-bluefs-dirty-fnodes
...
os/bluestore/BlueFS: log dirty files at sync time
2016-09-21 14:47:38 -05:00
Leo Zhang
92f5903513
ceph_fuse: use sizeof get the buf length
...
Signed-off-by: LeoZhang <nguzcf@gmail.com>
2016-09-22 00:25:23 +08:00
Kefu Chai
bca2d370ca
Merge pull request #11173 from tchaikov/wip-17306
...
test/cli/crushtool: fix the test of compile-decompile-recompile.t
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-09-21 23:35:04 +08:00
Kefu Chai
404043980d
test/cli/crushtool: fix the test of compile-decompile-recompile.t
...
should read the map from $TESTDIR,
it's a regression introduced by b2c0a07
Fixes: http://tracker.ceph.com/issues/17306
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-21 23:00:55 +08:00
Patrick Donnelly
8d7d24e0a4
doc: add $pid metavar conf doc
...
$pid introduced in 2012 via cf2a0454
.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-09-21 10:58:45 -04:00