]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorgw: remove rgw_realm_reconfigure_delay 13070/head
Casey Bodley [Tue, 21 Mar 2017 16:19:01 +0000 (12:19 -0400)]
rgw: remove rgw_realm_reconfigure_delay

when the master zone is changed, this config variable was increasing the
window of time where the old master zone would continue to handle
requests to modify metadata. those changes would not be reflected by the
new metadata master zone, and would be lost to the cluster

it was an attempt to optimize for the unlikely case of multiple period
changes in a short period of time, but the logic in reload() handles this
case correctly as is

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: require --yes-i-really-mean-it to promote zone with stale metadata
Casey Bodley [Tue, 21 Mar 2017 20:10:27 +0000 (16:10 -0400)]
rgw: require --yes-i-really-mean-it to promote zone with stale metadata

if a zone is promoted to master before it has a chance to sync from the
previous master zone, any metadata entries after its sync position will
be lost

print an error if 'period commit' is trying to promote a zone that is
more than one period behind the current master, and only allow the
commit to proceed if the --yes-i-really-mean-it flag is provided

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: period commit uses sync status markers
Casey Bodley [Mon, 20 Mar 2017 20:13:03 +0000 (16:13 -0400)]
rgw: period commit uses sync status markers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: use RGWShardCollectCR for RGWReadSyncStatusCoroutine
Casey Bodley [Mon, 1 Aug 2016 19:21:52 +0000 (15:21 -0400)]
rgw: use RGWShardCollectCR for RGWReadSyncStatusCoroutine

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: change metadata read_sync_status interface
Casey Bodley [Mon, 1 Aug 2016 18:35:53 +0000 (14:35 -0400)]
rgw: change metadata read_sync_status interface

makes the same change to read_sync_status() in RGWMetaSyncStatusManager,
needed to support multiple concurrent readers for the rest interface

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: sync status ignores shard markers from previous periods
Casey Bodley [Tue, 25 Apr 2017 19:32:26 +0000 (15:32 -0400)]
test/rgw: sync status ignores shard markers from previous periods

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: store realm epoch with sync status markers
Casey Bodley [Fri, 17 Mar 2017 13:55:47 +0000 (09:55 -0400)]
rgw: store realm epoch with sync status markers

sync status markers can't be compared between periods, so we need to
record the current period's realm epoch with its markers. when the
rgw_meta_sync_info.realm_epoch is more recent than the marker's
realm_epoch, we must treat the marker as empty

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: RGWBackoffControlCR only retries until success
Casey Bodley [Mon, 27 Feb 2017 20:19:54 +0000 (15:19 -0500)]
rgw: RGWBackoffControlCR only retries until success

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: clean up RGWInitDataSyncStatusCoroutine
Casey Bodley [Tue, 7 Mar 2017 17:28:33 +0000 (12:28 -0500)]
rgw: clean up RGWInitDataSyncStatusCoroutine

RGWInitDataSyncStatusCoroutine operates on a given rgw_data_sync_status
pointer, which saves us from having to read it back from rados

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: fix marker comparison to detect end of mdlog period
Casey Bodley [Tue, 7 Mar 2017 16:16:43 +0000 (11:16 -0500)]
rgw: fix marker comparison to detect end of mdlog period

Fixes: http://tracker.ceph.com/issues/18639
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: add == and != operators for period history cursor
Casey Bodley [Tue, 23 Aug 2016 02:06:15 +0000 (22:06 -0400)]
rgw: add == and != operators for period history cursor

RGWMetaSyncCR was using operator== but it always returned true!

Signed-off-by: Casey Bodley <cbodley@redhat.com>
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 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 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 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 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 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>
8 years agoMerge pull request #14729 from joscollin/wip-cleanup-osdc-comparision
Brad Hubbard [Mon, 24 Apr 2017 05:01:41 +0000 (15:01 +1000)]
Merge pull request #14729 from joscollin/wip-cleanup-osdc-comparision

osdc: silence warning from `-Wsign-compare`

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14711 from jcsp/wip-19738
Kefu Chai [Mon, 24 Apr 2017 04:20:42 +0000 (12:20 +0800)]
Merge pull request #14711 from jcsp/wip-19738

mon: don't call propose_pending in prepare_update()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: align reclaim size to bluefs_alloc_size 14744/head
Haomai Wang [Mon, 24 Apr 2017 04:11:21 +0000 (12:11 +0800)]
os/bluestore: align reclaim size to bluefs_alloc_size

otherwise it will crash because of unaligned alloc size

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #14740 from petermaloney/master
Kefu Chai [Mon, 24 Apr 2017 04:02:28 +0000 (12:02 +0800)]
Merge pull request #14740 from petermaloney/master

doc: fix link that pointed to a nonexistent file

Reviewed-by: Kefu Chai <kchai@redhat.com>