]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoqa/workunits/rbd: new mirroring forced promotion test
Jason Dillaman [Tue, 13 Sep 2016 16:32:45 +0000 (12:32 -0400)]
qa/workunits/rbd: new mirroring forced promotion test

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11153 from dillaman/wip-17317
Mykola Golub [Fri, 23 Sep 2016 12:55:18 +0000 (15:55 +0300)]
Merge pull request #11153 from dillaman/wip-17317

test/rbd: fix possible mock journal race conditions

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11054 from rzarzynski/wip-rgw-postobj-nodynalloc
Orit Wasserman [Fri, 23 Sep 2016 12:20:00 +0000 (14:20 +0200)]
Merge pull request #11054 from rzarzynski/wip-rgw-postobj-nodynalloc

rgw: eradicate dynamic memory allocation in RGWPostObj.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11208 from tchaikov/wip-17380
Loic Dachary [Fri, 23 Sep 2016 07:26:29 +0000 (09:26 +0200)]
Merge pull request #11208 from tchaikov/wip-17380

osd: should not look up an empty pg

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #10949 from avnerbh/avnerbh-preforker-fix
Kefu Chai [Fri, 23 Sep 2016 07:16:41 +0000 (15:16 +0800)]
Merge pull request #10949 from avnerbh/avnerbh-preforker-fix

preforker: prevent call to 'write' on an fd that was already closed

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest: re-enable test_pg_scrub() test in ceph-helper.sh 11208/head
Kefu Chai [Fri, 23 Sep 2016 06:26:42 +0000 (14:26 +0800)]
test: re-enable test_pg_scrub() test in ceph-helper.sh

this reverts d053705. i disabled this test in hope to bisect the
offending tests that fail the mysterious jenkins failure, which was
fixed by 6f3ce3a.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoosd: should not look up an empty pg
Kefu Chai [Fri, 23 Sep 2016 06:20:37 +0000 (14:20 +0800)]
osd: should not look up an empty pg

this fixes the scrub timeouts we spotted in jenkins run and qa run.
it's a regression introduced by c2b7cdb

Fixes: http://tracker.ceph.com/issues/17380
Signed-off-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11205 from liewegas/wip-async-debug
Haomai Wang [Fri, 23 Sep 2016 01:53:50 +0000 (09:53 +0800)]
Merge pull request #11205 from liewegas/wip-async-debug

msg/async: less verbose debug messages at debug_ms=1

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #11181 from linuxbox2/rgw-legacy-time
Casey Bodley [Thu, 22 Sep 2016 20:27:54 +0000 (16:27 -0400)]
Merge pull request #11181 from linuxbox2/rgw-legacy-time

rgw_file:  pre-assign times

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11048 from jimifm/wip-FDCache-master
Sage Weil [Thu, 22 Sep 2016 19:02:19 +0000 (14:02 -0500)]
Merge pull request #11048 from jimifm/wip-FDCache-master

os/filestore/FDCache: fix bug when filestore_fd_cache_shards = 0

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: no need for ..."started." suffix 11205/head
Sage Weil [Thu, 22 Sep 2016 18:57:08 +0000 (14:57 -0400)]
msg/async: no need for ..."started." suffix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: less noisy about EventCenter owner
Sage Weil [Thu, 22 Sep 2016 18:56:22 +0000 (14:56 -0400)]
msg/async: less noisy about EventCenter owner

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: make rx line look like normal debug
Sage Weil [Thu, 22 Sep 2016 18:56:13 +0000 (14:56 -0400)]
msg/async: make rx line look like normal debug

The DispatchQueue prints the traditional ==== line.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: make send debug line look like SimpleMessenger's
Sage Weil [Thu, 22 Sep 2016 18:55:55 +0000 (14:55 -0400)]
msg/async: make send debug line look like SimpleMessenger's

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async/AsyncConnection: less noisy about connection top
Sage Weil [Thu, 22 Sep 2016 18:46:37 +0000 (14:46 -0400)]
msg/async/AsyncConnection: less noisy about connection top

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg/async/EventCenter: less noisy debug on events
Sage Weil [Thu, 22 Sep 2016 18:45:45 +0000 (14:45 -0400)]
msg/async/EventCenter: less noisy debug on events

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11190 from tchaikov/wip-memstore-clone-fixture
Casey Bodley [Thu, 22 Sep 2016 18:21:27 +0000 (14:21 -0400)]
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>
8 years agoMerge pull request #10587 from b-ranto/wip-logrotate-root
Boris Ranto [Thu, 22 Sep 2016 16:22:53 +0000 (18:22 +0200)]
Merge pull request #10587 from b-ranto/wip-logrotate-root

logrotate: Run as root/ceph

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #7338 from ceph/cls-lua
Yuri Weinstein [Thu, 22 Sep 2016 16:17:57 +0000 (09:17 -0700)]
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>
8 years agoMerge pull request #10135 from david-z/wip-enhance-ceph-disk-bluestore
Loic Dachary [Thu, 22 Sep 2016 16:13:00 +0000 (18:13 +0200)]
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>
8 years agoMerge pull request #10371 from Yan-waller/yj-wip-msgsimple-0720
Yuri Weinstein [Thu, 22 Sep 2016 16:10:01 +0000 (09:10 -0700)]
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

8 years agoMerge pull request #11052 from yuyuyu101/wip-shutdown-deadlock
Yuri Weinstein [Thu, 22 Sep 2016 16:03:39 +0000 (09:03 -0700)]
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>
8 years agoMerge pull request #11082 from aiicore/nearfull_flag_fix
Yuri Weinstein [Thu, 22 Sep 2016 16:01:24 +0000 (09:01 -0700)]
Merge pull request #11082 from aiicore/nearfull_flag_fix

mon: OSDMonitor: Missing nearfull flag set

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11089 from dachary/wip-16477-ceph-helper
Kefu Chai [Thu, 22 Sep 2016 15:26:32 +0000 (23:26 +0800)]
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>
8 years agoMerge pull request #11199 from yuyuyu101/wip-17378
Sage Weil [Thu, 22 Sep 2016 15:25:09 +0000 (10:25 -0500)]
Merge pull request #11199 from yuyuyu101/wip-17378

msg/async: remove fd output in log prefix

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11195 from xiexingguo/xxg-wip-csum-improve
Sage Weil [Thu, 22 Sep 2016 15:14:20 +0000 (10:14 -0500)]
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>
8 years agomsg/async: remove fd output in log prefix 11199/head
Haomai Wang [Thu, 22 Sep 2016 15:11:09 +0000 (23:11 +0800)]
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>
8 years agoMerge pull request #11182 from ceph/wip-docs-rm-ink
Sage Weil [Thu, 22 Sep 2016 14:59:37 +0000 (09:59 -0500)]
Merge pull request #11182 from ceph/wip-docs-rm-ink

remove old references to inktank premium support

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11194 from wjwithagen/wip-wjw-rocksdb-include
Kefu Chai [Thu, 22 Sep 2016 14:57:20 +0000 (22:57 +0800)]
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>
8 years agoos/bluestore: fix race condition of global csum setting 11195/head
xie xingguo [Thu, 22 Sep 2016 11:59:05 +0000 (19:59 +0800)]
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>
8 years agoos/bluestore: drop the global bluestore_csum option
xie xingguo [Thu, 22 Sep 2016 11:07:31 +0000 (19:07 +0800)]
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>
8 years agoos/bluestore: use blob internal settings for csum checking
xie xingguo [Thu, 22 Sep 2016 07:38:44 +0000 (15:38 +0800)]
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>
8 years agoMerge pull request #11151 from ceph/wip-bluestore-error-injection
Sage Weil [Thu, 22 Sep 2016 14:17:06 +0000 (09:17 -0500)]
Merge pull request #11151 from ceph/wip-bluestore-error-injection

os/bluestore: add error injection

8 years agoMerge pull request #11184 from liewegas/wip-down-out
Sage Weil [Thu, 22 Sep 2016 14:15:52 +0000 (09:15 -0500)]
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>
8 years agoMerge pull request #11186 from majianpeng/bluestore-allocator
Sage Weil [Thu, 22 Sep 2016 14:15:20 +0000 (09:15 -0500)]
Merge pull request #11186 from majianpeng/bluestore-allocator

os/bluestore: remove unused head file.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw_file: pre-assign times 11181/head
Matt Benjamin [Wed, 21 Sep 2016 21:18:20 +0000 (17:18 -0400)]
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>
8 years agoMerge pull request #11192 from xiexingguo/xxg-wip-bluestore-0922
Sage Weil [Thu, 22 Sep 2016 14:03:59 +0000 (09:03 -0500)]
Merge pull request #11192 from xiexingguo/xxg-wip-bluestore-0922

os/bluestore: a few cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11152 from dillaman/wip-17198
Mykola Golub [Thu, 22 Sep 2016 13:31:57 +0000 (16:31 +0300)]
Merge pull request #11152 from dillaman/wip-17198

librbd: potential deadlock closing image with in-flight readahead

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #10506 from wjwithagen/wip-wjw-clock-realtime
Sage Weil [Thu, 22 Sep 2016 13:31:34 +0000 (08:31 -0500)]
Merge pull request #10506 from wjwithagen/wip-wjw-clock-realtime

FreeBSD: Define CLOCK_REALTIME_COARSE in compat.h

8 years agosrc/kv/CMakeLists.txt: force rocksdb/include to first include directory 11194/head
Willem Jan Withagen [Thu, 22 Sep 2016 12:19:09 +0000 (14:19 +0200)]
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>
8 years agodoc/rados/troubleshooting: remove references to premium support from inktank.com 11182/head
Alfredo Deza [Wed, 21 Sep 2016 21:57:06 +0000 (17:57 -0400)]
doc/rados/troubleshooting: remove references to premium support from inktank.com

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agodoc/rados: remove references to premium support from inktank.com
Alfredo Deza [Wed, 21 Sep 2016 21:56:41 +0000 (17:56 -0400)]
doc/rados: remove references to premium support from inktank.com

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #11147 from ukernel/wip-17286
John Spray [Thu, 22 Sep 2016 11:42:56 +0000 (12:42 +0100)]
Merge pull request #11147 from ukernel/wip-17286

client: fix readdir vs fragmentation race

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #10393 from ukernel/wip-mds-log-flush
John Spray [Thu, 22 Sep 2016 11:41:27 +0000 (12:41 +0100)]
Merge pull request #10393 from ukernel/wip-mds-log-flush

reduce unnecessary mds log flush

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11155 from dillaman/wip-17330
Mykola Golub [Thu, 22 Sep 2016 10:54:08 +0000 (13:54 +0300)]
Merge pull request #11155 from dillaman/wip-17330

librbd: backward/forward compatibility for update_features

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11148 from dillaman/wip-17310
Mykola Golub [Thu, 22 Sep 2016 10:50:03 +0000 (13:50 +0300)]
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>
8 years agoos/bluestore: remove unused head file. 11186/head
Jianpeng Ma [Mon, 19 Sep 2016 13:32:43 +0000 (21:32 +0800)]
os/bluestore: remove unused head file.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoMerge pull request #11176 from zealoussnow/wip-0922
Kefu Chai [Thu, 22 Sep 2016 08:56:32 +0000 (16:56 +0800)]
Merge pull request #11176 from zealoussnow/wip-0922

ceph_fuse: use sizeof get the buf length

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest_memstore_clone: use StoreTestFixture to do the setup/teardown 11190/head
Kefu Chai [Thu, 22 Sep 2016 06:09:04 +0000 (14:09 +0800)]
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>
8 years agoceph_test_objectstore: fail the test if SetUp() fails
Kefu Chai [Thu, 22 Sep 2016 05:46:54 +0000 (13:46 +0800)]
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>
8 years agoceph_test_objectstore: extract StoreTestFixture into store_test_fixture.cc
Kefu Chai [Thu, 22 Sep 2016 05:08:46 +0000 (13:08 +0800)]
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>
8 years agoos/bluestore: clean up finishers properly 11192/head
xie xingguo [Thu, 22 Sep 2016 07:16:03 +0000 (15:16 +0800)]
os/bluestore: clean up finishers properly

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: move lookup() of SharedBlobSet back into .h
xie xingguo [Thu, 22 Sep 2016 03:26:48 +0000 (11:26 +0800)]
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>
8 years agomon: wait 10m (not 5m) before marking down OSDs out 11184/head
Sage Weil [Wed, 21 Sep 2016 22:06:57 +0000 (18:06 -0400)]
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>
8 years agoos/bluestore: add error injection 11151/head
Sage Weil [Wed, 21 Sep 2016 20:49:25 +0000 (16:49 -0400)]
os/bluestore: add error injection

This is used by the teuthology repair_test.py.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11122 from branch-predictor/bp-zlib-improvements
Sage Weil [Wed, 21 Sep 2016 19:48:21 +0000 (14:48 -0500)]
Merge pull request #11122 from branch-predictor/bp-zlib-improvements

compressor/zlib: switch to raw deflate

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11108 from liewegas/wip-bluefs-dirty-fnodes
Sage Weil [Wed, 21 Sep 2016 19:47:38 +0000 (14:47 -0500)]
Merge pull request #11108 from liewegas/wip-bluefs-dirty-fnodes

os/bluestore/BlueFS: log dirty files at sync time

8 years agoceph_fuse: use sizeof get the buf length 11176/head
Leo Zhang [Wed, 21 Sep 2016 16:25:23 +0000 (00:25 +0800)]
ceph_fuse: use sizeof get the buf length

Signed-off-by: LeoZhang <nguzcf@gmail.com>
8 years agoMerge pull request #11173 from tchaikov/wip-17306
Kefu Chai [Wed, 21 Sep 2016 15:35:04 +0000 (23:35 +0800)]
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>
8 years agotest/cli/crushtool: fix the test of compile-decompile-recompile.t 11173/head
Kefu Chai [Wed, 21 Sep 2016 14:58:49 +0000 (22:58 +0800)]
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>
8 years agoMerge pull request #11166 from xiexingguo/xxg-wip-bluestore-0921
Sage Weil [Wed, 21 Sep 2016 14:11:52 +0000 (09:11 -0500)]
Merge pull request #11166 from xiexingguo/xxg-wip-bluestore-0921

os/bluestore: simplify calculation of collection key range

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11131 from ceph/rgw-lifecycle-testing
Casey Bodley [Wed, 21 Sep 2016 14:05:57 +0000 (10:05 -0400)]
Merge pull request #11131 from ceph/rgw-lifecycle-testing

Rgw lifecycle testing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoLifecycle testing 11131/head
Daniel Gryniewicz [Thu, 14 Jul 2016 16:40:29 +0000 (12:40 -0400)]
Lifecycle testing

Add new config option - rgw_lc_debug_interval - that modifies the
lifecycle algorithm.  It treats days as being the configured number of
seconds.  This allows lifecycle to be tested in minutes, rather than
days.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
8 years agoLifecycle - Fix config locking
Daniel Gryniewicz [Wed, 14 Sep 2016 17:38:36 +0000 (13:38 -0400)]
Lifecycle - Fix config locking

The lifecycle config lock was not setting a cookie.  This means that all
instances of that lock conflict, causing errors to be returned to the
client.

Set a unique cookie on each lock instance.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
8 years agoMerge pull request #11031 from yangdongsheng/du
Jason Dillaman [Wed, 21 Sep 2016 12:56:05 +0000 (08:56 -0400)]
Merge pull request #11031 from yangdongsheng/du

rbd: return error if we specified a wrong image name for rbd du

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11163 from jcsp/wip-cmake-vstart
John Spray [Wed, 21 Sep 2016 09:18:04 +0000 (10:18 +0100)]
Merge pull request #11163 from jcsp/wip-cmake-vstart

doc: Update developer docs for cmake paths

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agodoc: update vstart guide for cmake-ish paths 11163/head
John Spray [Wed, 21 Sep 2016 07:59:45 +0000 (08:59 +0100)]
doc: update vstart guide for cmake-ish paths

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agodoc: update build instructions for cmake
John Spray [Wed, 21 Sep 2016 07:54:24 +0000 (08:54 +0100)]
doc: update build instructions for cmake

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoos/bluestore: simplify calculation of collection key range 11166/head
xie xingguo [Wed, 21 Sep 2016 05:57:39 +0000 (13:57 +0800)]
os/bluestore: simplify calculation of collection key range

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11083 from ifed01/wip-load-plugins-fix
Kefu Chai [Wed, 21 Sep 2016 03:59:55 +0000 (11:59 +0800)]
Merge pull request #11083 from ifed01/wip-load-plugins-fix

common/compressor: add libcommon as a dependency for zlib and snappy p…

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #10975 from stiopaa1/osd_replicatedbackend_moveSomeClassesToCC
Kefu Chai [Wed, 21 Sep 2016 03:59:01 +0000 (11:59 +0800)]
Merge pull request #10975 from stiopaa1/osd_replicatedbackend_moveSomeClassesToCC

osd/PGBackend.h: move structs to .cc file

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11073 from badone/wip-remove-check_disk_write_cache
Kefu Chai [Wed, 21 Sep 2016 03:58:38 +0000 (11:58 +0800)]
Merge pull request #11073 from badone/wip-remove-check_disk_write_cache

FileJournal: Remove obsolete _check_disk_write_cache function

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #11060 from stiopaa1/mon_osdmonitor_removeAssign
Kefu Chai [Wed, 21 Sep 2016 03:57:14 +0000 (11:57 +0800)]
Merge pull request #11060 from stiopaa1/mon_osdmonitor_removeAssign

mon/OSDMonitor.cc: remove use of boost assign

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11039 from stiopaa1/osd_inprogress_removingCount
Kefu Chai [Wed, 21 Sep 2016 03:56:24 +0000 (11:56 +0800)]
Merge pull request #11039 from stiopaa1/osd_inprogress_removingCount

osd/OSD.cc: remove unneeded searching of maps

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge branch 'wip-rocksdb-librados-test'
Josh Durgin [Wed, 21 Sep 2016 03:13:44 +0000 (20:13 -0700)]
Merge branch 'wip-rocksdb-librados-test'

qa: add test of envlibrados for rocksdb

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoadd qa test of envlibrados for rocksdb
Ryne Li [Thu, 11 Aug 2016 20:33:27 +0000 (16:33 -0400)]
add qa test of envlibrados for rocksdb

Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
8 years agoMerge pull request #11146 from tchaikov/wip-17307
Kefu Chai [Wed, 21 Sep 2016 02:56:01 +0000 (10:56 +0800)]
Merge pull request #11146 from tchaikov/wip-17307

os/filestore/FileJournal: error out if FileJournal is not a file

Reviewed-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #11103 from liewegas/wip-clone-range
Sage Weil [Tue, 20 Sep 2016 22:36:31 +0000 (17:36 -0500)]
Merge pull request #11103 from liewegas/wip-clone-range

ceph_test_objectstore: test clone_range and fix a few bugs

8 years agoceph_test_objectstore: disable filestore_fiemap 11103/head
Sage Weil [Thu, 15 Sep 2016 21:29:45 +0000 (17:29 -0400)]
ceph_test_objectstore: disable filestore_fiemap

This very reliably triggers a test failure for
ObjectStore/StoreTest.Synthetic/1.

FIEMAP is bad!  Do not use it!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_objectstore: exercise clone_range from synthetic
Sage Weil [Thu, 15 Sep 2016 21:15:25 +0000 (17:15 -0400)]
ceph_test_objectstore: exercise clone_range from synthetic

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/memstore: fix bug in BufferlistObject::write
Sage Weil [Thu, 15 Sep 2016 19:48:07 +0000 (15:48 -0400)]
os/memstore: fix bug in BufferlistObject::write

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/ObjectStore: clarify clone_range semantics
Sage Weil [Thu, 15 Sep 2016 19:38:01 +0000 (15:38 -0400)]
os/ObjectStore: clarify clone_range semantics

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11157 from cbodley/wip-memstore-clone
Sage Weil [Tue, 20 Sep 2016 22:35:34 +0000 (17:35 -0500)]
Merge pull request #11157 from cbodley/wip-memstore-clone

memstore: clone zero-fills holes from source range

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10991 from weiqiaomiao/wqm-wip-sync-error
Casey Bodley [Tue, 20 Sep 2016 20:31:14 +0000 (16:31 -0400)]
Merge pull request #10991 from weiqiaomiao/wqm-wip-sync-error

rgw: fix failed to create bucket if a non-master zonegroup has a single zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #10942 from JellevdK/master
Jason Dillaman [Tue, 20 Sep 2016 20:31:00 +0000 (16:31 -0400)]
Merge pull request #10942 from JellevdK/master

systemd: add install section to rbdmap.service file

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agotest: add tests for memstore clone_range 11157/head
Casey Bodley [Mon, 19 Sep 2016 20:46:23 +0000 (16:46 -0400)]
test: add tests for memstore clone_range

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agomemstore: clone zero-fills holes from source range
Casey Bodley [Fri, 16 Sep 2016 19:34:57 +0000 (15:34 -0400)]
memstore: clone zero-fills holes from source range

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agomemstore: use const_iterator instead of const_cast
Casey Bodley [Mon, 19 Sep 2016 14:57:42 +0000 (10:57 -0400)]
memstore: use const_iterator instead of const_cast

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11070 from VictorDenisov/consistency_groups_extract_module
Jason Dillaman [Tue, 20 Sep 2016 18:54:47 +0000 (14:54 -0400)]
Merge pull request #11070 from VictorDenisov/consistency_groups_extract_module

librbd: extract group module from librbd/internal

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: update_features should handle Infernalis OSDs 11155/head
Jason Dillaman [Tue, 20 Sep 2016 18:47:36 +0000 (14:47 -0400)]
librbd: update_features should handle Infernalis OSDs

Fixes: http://tracker.ceph.com/issues/17330
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agocls/rbd: set_features should adjust the mask to known features
Jason Dillaman [Tue, 20 Sep 2016 18:34:16 +0000 (14:34 -0400)]
cls/rbd: set_features should adjust the mask to known features

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agotest/rbd: fix possible mock journal race conditions 11153/head
Jason Dillaman [Tue, 20 Sep 2016 17:31:36 +0000 (13:31 -0400)]
test/rbd: fix possible mock journal race conditions

Fixes: http://tracker.ceph.com/issues/17317
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #9844 from rzarzynski/wip-rgw-swift-website
Casey Bodley [Tue, 20 Sep 2016 16:57:21 +0000 (12:57 -0400)]
Merge pull request #9844 from rzarzynski/wip-rgw-swift-website

rgw: add support for Static Website of Swift API

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agolibrbd: potential deadlock closing image with in-flight readahead 11152/head
Jason Dillaman [Tue, 20 Sep 2016 14:19:45 +0000 (10:19 -0400)]
librbd: potential deadlock closing image with in-flight readahead

Fixes: http://tracker.ceph.com/issues/17198
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11149 from xiexingguo/xxg-wip-bluestore-0920
Sage Weil [Tue, 20 Sep 2016 12:50:53 +0000 (07:50 -0500)]
Merge pull request #11149 from xiexingguo/xxg-wip-bluestore-0920

os/bluestore: narrow condition of sanity check when get_object_key()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11121 from stiopaa1/osd_osd_moveMembersToPrivate
Sage Weil [Tue, 20 Sep 2016 12:00:25 +0000 (07:00 -0500)]
Merge pull request #11121 from stiopaa1/osd_osd_moveMembersToPrivate

osd/OSD.h: move some members under private

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10563 from stiopaa1/mon_healthmonitor_removeUnneededInclude
Sage Weil [Tue, 20 Sep 2016 11:59:16 +0000 (06:59 -0500)]
Merge pull request #10563 from stiopaa1/mon_healthmonitor_removeUnneededInclude

mon/HealthMonitor: remove unneeded include

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10515 from stiopaa1/mon_monitor_addOverride
Sage Weil [Tue, 20 Sep 2016 11:58:44 +0000 (06:58 -0500)]
Merge pull request #10515 from stiopaa1/mon_monitor_addOverride

mon/Monitor.h: add override to virtual functions

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10333 from stiopaa1/msg_EventSelect_RemoveIncFromHeader
Sage Weil [Tue, 20 Sep 2016 11:58:06 +0000 (06:58 -0500)]
Merge pull request #10333 from stiopaa1/msg_EventSelect_RemoveIncFromHeader

msg/EventSelect: move includes to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10269 from stiopaa1/osd_watch_removeUnneededForwardDecl
Sage Weil [Tue, 20 Sep 2016 11:57:34 +0000 (06:57 -0500)]
Merge pull request #10269 from stiopaa1/osd_watch_removeUnneededForwardDecl

osd/Watch.h: remove unneeded forward declaration

Reviewed-by: Sage Weil <sage@redhat.com>