]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agocommon/config_opts: Set the HDD throttle cost to 1.5M 14808/head
Mark Nelson [Wed, 26 Apr 2017 15:00:37 +0000 (10:00 -0500)]
common/config_opts: Set the HDD throttle cost to 1.5M

Signed-off-by: Mark Nelson <mnelson@redhat.com>
8 years agoMerge pull request #14785 from idryomov/wip-krbd-exclusive-option
Ilya Dryomov [Wed, 26 Apr 2017 14:25:31 +0000 (16:25 +0200)]
Merge pull request #14785 from idryomov/wip-krbd-exclusive-option

rbd: recognize exclusive option

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #14804 from hrchu/rgwAdmin-apiDoc-getUsageInfo
Sage Weil [Wed, 26 Apr 2017 13:48:56 +0000 (08:48 -0500)]
Merge pull request #14804 from hrchu/rgwAdmin-apiDoc-getUsageInfo

doc: rgw: Get user usage needs to specify user

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14780 from liewegas/wip-osdmap-mempool
Sage Weil [Wed, 26 Apr 2017 13:33:05 +0000 (08:33 -0500)]
Merge pull request #14780 from liewegas/wip-osdmap-mempool

osd: put osdmap in mempool

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/workunits/rbd: test exclusive map option 14785/head
Ilya Dryomov [Mon, 24 Apr 2017 13:31:53 +0000 (15:31 +0200)]
qa/workunits/rbd: test exclusive map option

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #14781 from theanalyst/rgw/cleanup/ldap_err_msg
Matt Benjamin [Wed, 26 Apr 2017 13:04:15 +0000 (09:04 -0400)]
Merge pull request #14781 from theanalyst/rgw/cleanup/ldap_err_msg

rgw_ldap: log the ldap err in case of bind failure

8 years agoMerge pull request #13067 from cbodley/wip-rgw-test-multi-periods
Casey Bodley [Wed, 26 Apr 2017 12:50:00 +0000 (08:50 -0400)]
Merge pull request #13067 from cbodley/wip-rgw-test-multi-periods

test/rgw: fixes for test_multi_period_incremental_sync()

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agodoc: rgw: Get user usage needs to specify user 14804/head
hrchu [Wed, 26 Apr 2017 10:47:58 +0000 (10:47 +0000)]
doc: rgw: Get user usage needs to specify user

Signed-off-by: hrchu <petertc@gmail.com>
8 years agoMerge pull request #14796 from tchaikov/wip-init-ceph
Kefu Chai [Wed, 26 Apr 2017 08:52:00 +0000 (16:52 +0800)]
Merge pull request #14796 from tchaikov/wip-init-ceph

init-ceph: should have a space before "]"

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoinit-ceph: should have a space before "]" 14796/head
Kefu Chai [Wed, 26 Apr 2017 07:12:09 +0000 (15:12 +0800)]
init-ceph: should have a space before "]"

otherwise we will have

./bin/init-ceph: 269: [: missing ]

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12460 from umullan/bucketunlink
Kefu Chai [Wed, 26 Apr 2017 03:57:16 +0000 (11:57 +0800)]
Merge pull request #12460 from umullan/bucketunlink

doc: Correcting the remove bucket example and adding bucket link/unlink examples

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: Correcting the bucket unlink example with correct syntax 12460/head
Uday Mullangi [Tue, 13 Dec 2016 08:27:22 +0000 (13:57 +0530)]
doc: Correcting the bucket unlink example with correct syntax
Signed-off-by: Uday Mullangi <umullangi@walmartlabs.com>
8 years agoMerge pull request #14728 from dachary/wip-ceph-disk-lock
Kefu Chai [Wed, 26 Apr 2017 03:42:10 +0000 (11:42 +0800)]
Merge pull request #14728 from dachary/wip-ceph-disk-lock

ceph-disk: implement prepare --no-locking

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14755 from cbodley/wip-msg-direct
Yuri Weinstein [Tue, 25 Apr 2017 23:52:11 +0000 (16:52 -0700)]
Merge pull request #14755 from cbodley/wip-msg-direct

core: introduce DirectMessenger

Reviewed-by: Greg Farnum gfarnum@redhat.com
Reviewed-by: Sage Weil sage@redhat.com
8 years agoosd/OSDMap: put OSDMap[::Incremental] itself in mempool too 14780/head
Sage Weil [Tue, 25 Apr 2017 22:26:08 +0000 (18:26 -0400)]
osd/OSDMap: put OSDMap[::Incremental] itself in mempool too

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14783 from dachary/wip-crush-classe-test
Sage Weil [Tue, 25 Apr 2017 21:56:11 +0000 (16:56 -0500)]
Merge pull request #14783 from dachary/wip-crush-classe-test

test: use 7130 for crush-classes.sh

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14651 from tchaikov/wip-silent-boost-build
Sage Weil [Tue, 25 Apr 2017 21:53:58 +0000 (16:53 -0500)]
Merge pull request #14651 from tchaikov/wip-silent-boost-build

cmake: pass -d0 to b2 if not CMAKE_VERBOSE_MAKEFILE

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14731 from ceph/wip-bluestore-type
Sage Weil [Tue, 25 Apr 2017 21:53:44 +0000 (16:53 -0500)]
Merge pull request #14731 from ceph/wip-bluestore-type

os/bluestore: use correct bound encode size for unused

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #14738 from liupan1111/wip-fix-initial
Sage Weil [Tue, 25 Apr 2017 21:53:23 +0000 (16:53 -0500)]
Merge pull request #14738 from liupan1111/wip-fix-initial

src/common: change last_work_queue to next_work_queue.

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14757 from dmick/wip-einval
Sage Weil [Tue, 25 Apr 2017 21:52:46 +0000 (16:52 -0500)]
Merge pull request #14757 from dmick/wip-einval

common: Better handling for missing/inaccessible ceph.conf files

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #14764 from Liuchang0812/wip-strip-pglog-op-name
Sage Weil [Tue, 25 Apr 2017 21:52:28 +0000 (16:52 -0500)]
Merge pull request #14764 from Liuchang0812/wip-strip-pglog-op-name

osd: strip pglog op name

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14772 from majianpeng/bluestore-remove-extentfreelist
Sage Weil [Tue, 25 Apr 2017 21:52:14 +0000 (16:52 -0500)]
Merge pull request #14772 from majianpeng/bluestore-remove-extentfreelist

os/bluestore: Remove ExtentFreeListManager.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14777 from tchaikov/wip-19398
Sage Weil [Tue, 25 Apr 2017 21:51:53 +0000 (16:51 -0500)]
Merge pull request #14777 from tchaikov/wip-19398

osd/PGMonitor: always update pgmap with latest osdmap

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: Remove ExtentFreeListManager. 14772/head
Jianpeng Ma [Tue, 25 Apr 2017 20:25:47 +0000 (04:25 +0800)]
os/bluestore: Remove ExtentFreeListManager.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agotest/rgw: wait for realm reload after set_master_zone 13067/head
Casey Bodley [Tue, 25 Apr 2017 19:26:30 +0000 (15:26 -0400)]
test/rgw: wait for realm reload after set_master_zone

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: fixes for test_multi_period_incremental_sync()
Casey Bodley [Tue, 25 Apr 2017 19:22:49 +0000 (15:22 -0400)]
test/rgw: fixes for test_multi_period_incremental_sync()

test was only creating objects in subsequent periods, which wasn't
adding any entries to the mdlog. this wasn't correctly testing
incremental metadata sync across periods

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: meta checkpoint compares realm epoch
Casey Bodley [Tue, 25 Apr 2017 18:48:22 +0000 (14:48 -0400)]
test/rgw: meta checkpoint compares realm epoch

avoid marker comparisons between different periods

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorbd: recognize exclusive map option
Ilya Dryomov [Sun, 23 Apr 2017 19:49:37 +0000 (21:49 +0200)]
rbd: recognize exclusive map option

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agotest: use 7130 for crush-classes.sh 14783/head
Loic Dachary [Tue, 25 Apr 2017 17:44:28 +0000 (19:44 +0200)]
test: use 7130 for crush-classes.sh

7127 is already used by mon/misc.sh

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #14350 from batrick/maintainer-update
Sage Weil [Tue, 25 Apr 2017 17:25:21 +0000 (12:25 -0500)]
Merge pull request #14350 from batrick/maintainer-update

AUTHORS: update tech leads

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14352 from batrick/peoplemap-update
Sage Weil [Tue, 25 Apr 2017 17:25:03 +0000 (12:25 -0500)]
Merge pull request #14352 from batrick/peoplemap-update

peoplemap: add pdonnell alias

8 years agoMerge pull request #14494 from drunkard/master
Sage Weil [Tue, 25 Apr 2017 17:11:03 +0000 (12:11 -0500)]
Merge pull request #14494 from drunkard/master

doc: two minor fixes

8 years agoMerge pull request #14493 from johnzzpcrystal/FileJournal-typo
Sage Weil [Tue, 25 Apr 2017 17:10:28 +0000 (12:10 -0500)]
Merge pull request #14493 from johnzzpcrystal/FileJournal-typo

os/filestore/FileJournal: Fix typo in the comment

8 years agoMerge pull request #14503 from wjwithagen/wip-wjw-freebsd-doc-dev
Sage Weil [Tue, 25 Apr 2017 17:09:02 +0000 (12:09 -0500)]
Merge pull request #14503 from wjwithagen/wip-wjw-freebsd-doc-dev

doc/dev: add some info about FreeBSD

8 years agoMerge pull request #14560 from wjwithagen/wip-wjw-freebsd-init-ceph
Sage Weil [Tue, 25 Apr 2017 17:08:36 +0000 (12:08 -0500)]
Merge pull request #14560 from wjwithagen/wip-wjw-freebsd-init-ceph

src/init-ceph.in:  allow one((re)?start|stop) as commands

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #14625 from theanalyst/doc/releases/12.0.2
Sage Weil [Tue, 25 Apr 2017 17:06:24 +0000 (12:06 -0500)]
Merge pull request #14625 from theanalyst/doc/releases/12.0.2

doc: v12.0.2 (dev) release notes

8 years agoMerge pull request #14713 from smithfarm/wip-19740
Sage Weil [Tue, 25 Apr 2017 15:56:17 +0000 (10:56 -0500)]
Merge pull request #14713 from smithfarm/wip-19740

tests: set -x in suites/iozone.sh workunit

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agorgw_ldap: log the ldap err in case of bind failure 14781/head
Abhishek Lekshmanan [Tue, 25 Apr 2017 15:49:38 +0000 (17:49 +0200)]
rgw_ldap: log the ldap err in case of bind failure

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #14756 from yehudasa/wip-rgw-suite-fix
Sage Weil [Tue, 25 Apr 2017 15:44:41 +0000 (10:44 -0500)]
Merge pull request #14756 from yehudasa/wip-rgw-suite-fix

qa/suite: replace reference to fs/xfs.yaml

8 years agoMerge pull request #14747 from Liuchang0812/wip-mailmap
Abhishek L [Tue, 25 Apr 2017 15:12:52 +0000 (17:12 +0200)]
Merge pull request #14747 from Liuchang0812/wip-mailmap

mailmap: update organization info

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #14718 from liewegas/wip-bluestore-tool
Sage Weil [Tue, 25 Apr 2017 14:43:56 +0000 (09:43 -0500)]
Merge pull request #14718 from liewegas/wip-bluestore-tool

ceph-kvstore-tool: allow 'bluestore-kv' as kvdb type; add escaping, compaction

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agocore: introduce DirectMessenger 14755/head
Casey Bodley [Sun, 13 Mar 2016 20:38:20 +0000 (16:38 -0400)]
core: introduce DirectMessenger

DirectMessenger provides an efficient mechanism to support
in-process embedding of Ceph components (e.g., embedding of the
Ceph OSD in storage targets such as NFSv4 or iSCSI targets).

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoosd/PGMonitor: always update pgmap with latest osdmap 14777/head
Kefu Chai [Tue, 25 Apr 2017 14:24:46 +0000 (22:24 +0800)]
osd/PGMonitor: always update pgmap with latest osdmap

without this change, we always update the pgmap with the latest osdmap in
PGMonitor::check_osd_map(), but assign pending_inc.osdmap_epoch with the
epoch passed to PGMonitor::check_osd_map(), even if the osdmap could be
be much newer than "epoch". for example, we could end up with an
MOSDPGCreate with an ancient epoch, but carrying some creating pgs whose
pools do not exist in osdmap of that ancient epoch yet. this happens
when RetryCheckOSDMap is involved.

Fixes: http://tracker.ceph.com/issues/19398
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14725 from tchaikov/wip-cmake
Sage Weil [Tue, 25 Apr 2017 14:31:13 +0000 (09:31 -0500)]
Merge pull request #14725 from tchaikov/wip-cmake

cmake: do not compile crush twice

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14730 from tchaikov/wip-19744
Sage Weil [Tue, 25 Apr 2017 14:30:36 +0000 (09:30 -0500)]
Merge pull request #14730 from tchaikov/wip-19744

mon/OSDMonitor: update pg_creatings even the new acting set is empty

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14744 from ceph/wip-bluefs-alloc-size
Sage Weil [Tue, 25 Apr 2017 14:30:10 +0000 (09:30 -0500)]
Merge pull request #14744 from ceph/wip-bluefs-alloc-size

os/bluestore: align reclaim size to bluefs_alloc_size

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14749 from ifed01/wip-bluestore-nolock-alloc
Sage Weil [Tue, 25 Apr 2017 14:29:48 +0000 (09:29 -0500)]
Merge pull request #14749 from ifed01/wip-bluestore-nolock-alloc

os/bluestore: get rid off excessive lock at BitMapAllocator

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: move to 'osdmap' mempool
Sage Weil [Mon, 24 Apr 2017 22:54:16 +0000 (18:54 -0400)]
osd/OSDMap: move to 'osdmap' mempool

We leave a few things out:

- strings (to annoying, and they are small)
- erasure code profiles (ditto)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoinclude/mempool: add osdmap mempool
Sage Weil [Mon, 24 Apr 2017 22:10:12 +0000 (18:10 -0400)]
include/mempool: add osdmap mempool

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocrush: templatize weights arg for do_rule
Sage Weil [Mon, 24 Apr 2017 22:49:20 +0000 (18:49 -0400)]
crush: templatize weights arg for do_rule

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoinclude/encoding: use more auto
Sage Weil [Mon, 24 Apr 2017 22:33:02 +0000 (18:33 -0400)]
include/encoding: use more auto

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: use auto where possible
Sage Weil [Mon, 24 Apr 2017 22:27:42 +0000 (18:27 -0400)]
osd/OSDMap: use auto where possible

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14762 from zy751713126/add-bench-notes
Mykola Golub [Tue, 25 Apr 2017 12:07:49 +0000 (15:07 +0300)]
Merge pull request #14762 from zy751713126/add-bench-notes

rbd/bench: add notes of default values, it's easy to use

Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agorbd/bench: add notes of default values, it's more easy to use 14762/head
zy751713126 [Tue, 25 Apr 2017 02:52:12 +0000 (10:52 +0800)]
rbd/bench: add notes of default values, it's more easy to use

Signed-off-by: Zheng Yin <zhengyin@chinac.com>
8 years agosrc/common: change last_work_queue to next_work_queue. 14738/head
Pan Liu [Tue, 25 Apr 2017 10:05:20 +0000 (18:05 +0800)]
src/common: change last_work_queue to next_work_queue.

Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agomailmap: update organization info 14747/head
liuchang0812 [Mon, 24 Apr 2017 11:11:05 +0000 (19:11 +0800)]
mailmap: update organization info

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agosquashme: review comments 14757/head
Dan Mick [Tue, 25 Apr 2017 06:39:52 +0000 (23:39 -0700)]
squashme: review comments

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agotest/cli/ceph-conf/env-vs-args.t: accept new error messages
Dan Mick [Tue, 25 Apr 2017 06:36:38 +0000 (23:36 -0700)]
test/cli/ceph-conf/env-vs-args.t: accept new error messages

Failing to load ceph.conf now dumps more errors for the user

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agotest/librados_test_stub/LibradosTestStub.cc: accept ENOENT
Dan Mick [Tue, 25 Apr 2017 06:35:40 +0000 (23:35 -0700)]
test/librados_test_stub/LibradosTestStub.cc: accept ENOENT

Missing ceph.conf now returns ENOENT rather than EINVAL

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoglobal/global_init.cc global_pre_init: look for ENOENT
Dan Mick [Tue, 25 Apr 2017 06:34:27 +0000 (23:34 -0700)]
global/global_init.cc global_pre_init: look for ENOENT

EINVAL for no conf file found changes to ENOENT

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoosd/pglog: align pglog op name in ostream 14764/head
liuchang0812 [Tue, 25 Apr 2017 02:54:58 +0000 (10:54 +0800)]
osd/pglog: align pglog op name in ostream

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoosd/pglog: strip pglog op name
liuchang0812 [Tue, 25 Apr 2017 02:39:21 +0000 (10:39 +0800)]
osd/pglog: strip pglog op name

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agolibrados/librados.cc rados_conf_read_file: report errors to client
Dan Mick [Mon, 24 Apr 2017 22:37:49 +0000 (15:37 -0700)]
librados/librados.cc rados_conf_read_file: report errors to client

Previously all the error text was hidden; log it.
Note: ENOENT is noted as a 'parse error'

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agocommon/config.cc md_config_t::parse_config_files: return ENOENT
Dan Mick [Mon, 24 Apr 2017 22:36:45 +0000 (15:36 -0700)]
common/config.cc md_config_t::parse_config_files: return ENOENT

If the only error we get is ENOENT, pass that back instead of
EINVAL, as it more-accurately reflects the error(s)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agocommon/ConfUtils.cc parse_file: fix function name in errors
Dan Mick [Mon, 24 Apr 2017 22:36:00 +0000 (15:36 -0700)]
common/ConfUtils.cc parse_file: fix function name in errors

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agocommon/ConfUtils.cc: ConfFile:parse_file: warn about ENOENT
Dan Mick [Mon, 24 Apr 2017 22:35:14 +0000 (15:35 -0700)]
common/ConfUtils.cc: ConfFile:parse_file: warn about ENOENT

Consider ENOENT an error; it may or may not be reported, but
accumulate it as if it might be

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoceph.in, pybind/rados/rados.pyx: Handle EINVAL better
Dan Mick [Tue, 18 Apr 2017 20:52:03 +0000 (13:52 -0700)]
ceph.in, pybind/rados/rados.pyx:  Handle EINVAL better

Translate EINVAL to an exception type in rados.pyx
Print entire exception in ceph CLI

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoqa/suite: replace reference to fs/xfs.yaml 14756/head
Yehuda Sadeh [Mon, 24 Apr 2017 22:33:30 +0000 (15:33 -0700)]
qa/suite: replace reference to fs/xfs.yaml

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #14726 from batrick/i19583
John Spray [Mon, 24 Apr 2017 21:13:48 +0000 (22:13 +0100)]
Merge pull request #14726 from batrick/i19583

mds: change_attr++ and set ctime for set_vxattr

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #14652 from jcsp/wip-18816
John Spray [Mon, 24 Apr 2017 21:12:46 +0000 (22:12 +0100)]
Merge pull request #14652 from jcsp/wip-18816

mds: remove "mds log" config option

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #14636 from jcsp/wip-19691
John Spray [Mon, 24 Apr 2017 21:12:35 +0000 (22:12 +0100)]
Merge pull request #14636 from jcsp/wip-19691

osdc: remove journaler_allow_split_entries option

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #14317 from ukernel/wip-19306
John Spray [Mon, 24 Apr 2017 21:11:08 +0000 (22:11 +0100)]
Merge pull request #14317 from ukernel/wip-19306

client: make seeky readdir more efficiency

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12935 from stiopaa1/17855_evictClient
John Spray [Mon, 24 Apr 2017 21:10:01 +0000 (22:10 +0100)]
Merge pull request #12935 from stiopaa1/17855_evictClient

mds/Server.cc: Don't evict a slow client if...

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #14388 from shashalu/fix-create-bucket
Casey Bodley [Mon, 24 Apr 2017 15:56:38 +0000 (11:56 -0400)]
Merge pull request #14388 from shashalu/fix-create-bucket

rgw: using the same bucket num_shards as master zg when create bucket in secondary zg

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agodoc: v12.0.2 (dev) release notes 14625/head
Abhishek Lekshmanan [Tue, 18 Apr 2017 21:53:30 +0000 (23:53 +0200)]
doc: v12.0.2 (dev) release notes

Also adding the commits after 12.0.1 tag merged back into the master

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #14479 from swamireddy/v12.0.1_credits
Loic Dachary [Mon, 24 Apr 2017 15:08:32 +0000 (17:08 +0200)]
Merge pull request #14479 from swamireddy/v12.0.1_credits

mailmap: V12.0.1 credits

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #14611 from liewegas/wip-mon-warn-cleanup
Sage Weil [Mon, 24 Apr 2017 14:57:55 +0000 (09:57 -0500)]
Merge pull request #14611 from liewegas/wip-mon-warn-cleanup

mon/PGMonitor: clean up min/max span warning

Reviewed-by: David Zafman <dzafman@redhat.com>
8 years agoceph-kvstore-tool: compact{,-prefix,-range} 14718/head
Sage Weil [Fri, 21 Apr 2017 15:56:15 +0000 (11:56 -0400)]
ceph-kvstore-tool: compact{,-prefix,-range}

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph-kvstore-tool: (url) escape prefixes and keys
Sage Weil [Fri, 21 Apr 2017 15:48:33 +0000 (11:48 -0400)]
ceph-kvstore-tool: (url) escape prefixes and keys

Escape output; unescape input.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocommon/url_escape: add simple url_[un]escape() methods
Sage Weil [Fri, 21 Apr 2017 15:45:25 +0000 (11:45 -0400)]
common/url_escape: add simple url_[un]escape() methods

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: get rid off excessive lock at BitMapAllocator 14749/head
Igor Fedotov [Mon, 24 Apr 2017 14:12:28 +0000 (07:12 -0700)]
os/bluestore: get rid off excessive lock at BitMapAllocator

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoceph-kvstore-tool: tabs instead of : as delimiter
Sage Weil [Thu, 20 Apr 2017 22:11:19 +0000 (18:11 -0400)]
ceph-kvstore-tool: tabs instead of : as delimiter

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph-kvstore-tool: nicer failure message on open failure
Sage Weil [Thu, 20 Apr 2017 22:08:49 +0000 (18:08 -0400)]
ceph-kvstore-tool: nicer failure message on open failure

I have been hating this assert for a long time.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph-kvstore-tool: 'bluestore-kv' to open bluestore's embedded kv
Sage Weil [Fri, 21 Apr 2017 15:47:21 +0000 (11:47 -0400)]
ceph-kvstore-tool: 'bluestore-kv' to open bluestore's embedded kv

This is usually rocksdb on bluefs, but it should work with whatever kv
backend bluestore is configured to use.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph-bluestore-tool: add error handling to bluefs-export
Sage Weil [Fri, 31 Mar 2017 15:47:51 +0000 (11:47 -0400)]
ceph-bluestore-tool: add error handling to bluefs-export

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: BLUEFS_START -> SUPER_RESERVED
Sage Weil [Fri, 31 Mar 2017 15:37:58 +0000 (11:37 -0400)]
os/bluestore: BLUEFS_START -> SUPER_RESERVED

We reserve the first 8k for bluestore and bluefs superblocks even if
bluefs isn't enabled at mkfs time.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14741 from trociny/wip-19405
Jason Dillaman [Mon, 24 Apr 2017 13:35:04 +0000 (09:35 -0400)]
Merge pull request #14741 from trociny/wip-19405

test/rbd_mirror: race in TestMockLeaderWatcher.AcquireError

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12792 from david-z/wip-mds-use-tcmalloc
John Spray [Mon, 24 Apr 2017 12:27:25 +0000 (13:27 +0100)]
Merge pull request #12792 from david-z/wip-mds-use-tcmalloc

mds: remove boost::pool usage and use tcmalloc directly

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #14575 from jcsp/wip-cephfs-suites
John Spray [Mon, 24 Apr 2017 10:20:59 +0000 (11:20 +0100)]
Merge pull request #14575 from jcsp/wip-cephfs-suites

qa: Tidy up fs/ suite

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoqa: switch off btrfs for multimds and kcephfs 14575/head
John Spray [Sun, 16 Apr 2017 15:45:04 +0000 (16:45 +0100)]
qa: switch off btrfs for multimds and kcephfs

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: update links for modified fs subsuite names
John Spray [Sun, 16 Apr 2017 16:05:32 +0000 (17:05 +0100)]
qa: update links for modified fs subsuite names

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa/tasks/cephfs: clean up mount point setup
John Spray [Sat, 15 Apr 2017 14:14:37 +0000 (15:14 +0100)]
qa/tasks/cephfs: clean up mount point setup

Previously were sometimes trying to maintain a mounted
client across a filesystem destroy/create.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa/suites: don't use btrfs for cephfs testing
John Spray [Sat, 15 Apr 2017 10:51:56 +0000 (11:51 +0100)]
qa/suites: don't use btrfs for cephfs testing

This change happened a while back, but it got rolled back
when the generic objectstore/ dir had its filestore
entry split out into xfs and btrfs in 208675af.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: remove unused fs/ dir
John Spray [Sat, 15 Apr 2017 10:47:15 +0000 (11:47 +0100)]
qa: remove unused fs/ dir

The objectstore/ dir is now selecting the backing fs.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa/suites/fs: more meaningful names for sub suites
John Spray [Sat, 15 Apr 2017 10:31:41 +0000 (11:31 +0100)]
qa/suites/fs: more meaningful names for sub suites

The "recovery" sub suite was originally tests for
client/mds recovery in certain failure cases, it has
since grown to include lots of unit testing of
various features using CephFSTestCase.

The "basic" suite is now specifically just running workloads
now that I've moved out the smaller functional tests.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa/suites/fs: put simple functional tests together
John Spray [Sat, 15 Apr 2017 10:29:33 +0000 (11:29 +0100)]
qa/suites/fs: put simple functional tests together

Most of what's in basic/ is "workload" type testing
(i.e. a simple cluster cluster configuration and then
running a script inside the client), which gets
permuted in various ways.  Move the simpler
functional tests out with the others like themselves.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: don't permute object store for functional tests
John Spray [Sat, 15 Apr 2017 10:28:10 +0000 (11:28 +0100)]
qa: don't permute object store for functional tests

These are unit tests for specific CephFS functionality,
it is gratuitous to repeat them with different underlying
RADOS object stores.

We retain coverage of XFS vs. bluestore in the workload tests.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #14018 from jcsp/wip-17939
John Spray [Mon, 24 Apr 2017 10:12:26 +0000 (11:12 +0100)]
Merge pull request #14018 from jcsp/wip-17939

client: getattr before returning quota/layout xattrs

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agomailmap: shiqi name normalization 14479/head
Swami Reddy [Fri, 21 Apr 2017 15:21:11 +0000 (20:51 +0530)]
mailmap: shiqi name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
8 years agomds: remove boost::pool usage and use tcmalloc directly 12792/head
Zhi Zhang [Mon, 24 Apr 2017 06:37:37 +0000 (14:37 +0800)]
mds: remove boost::pool usage and use tcmalloc directly

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>