]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoceph.in: drop semicolons; relax priority arg ordering 14793/head
Dan Mick [Sat, 29 Apr 2017 01:22:00 +0000 (18:22 -0700)]
ceph.in: drop semicolons; relax priority arg ordering

Priority had to be the last of the non-numeric arguments,
or it'd be overwritten

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agopybind/ceph_daemon.py: _gettermsize fails on non-terminals
Dan Mick [Thu, 27 Apr 2017 23:07:22 +0000 (16:07 -0700)]
pybind/ceph_daemon.py: _gettermsize fails on non-terminals

default to 80x25; this should be for terminalless tests only

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoceph.spec.in, debian/control: add dep for python-prettytable
Dan Mick [Thu, 27 Apr 2017 04:11:47 +0000 (21:11 -0700)]
ceph.spec.in, debian/control: add dep for python-prettytable

mgr/pybind/fsstatus already required this, but ceph.in does now.
Add as a build dependency as well to handle tests.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoceph.in: daemonperf: add 'ls' as a synonym for 'list'
Dan Mick [Thu, 27 Apr 2017 02:55:11 +0000 (19:55 -0700)]
ceph.in: daemonperf: add 'ls' as a synonym for 'list'

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoosd: clean up perf counter priorities whitespace
Sage Weil [Wed, 26 Apr 2017 15:05:44 +0000 (11:05 -0400)]
osd: clean up perf counter priorities whitespace

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: set priorities
Sage Weil [Wed, 26 Apr 2017 14:27:33 +0000 (10:27 -0400)]
os/bluestore/BlueFS: set priorities

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: set priorities
Sage Weil [Wed, 26 Apr 2017 14:27:28 +0000 (10:27 -0400)]
os/bluestore: set priorities

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agopybind/ceph_daemon: preserve ordering
Sage Weil [Wed, 26 Apr 2017 14:27:20 +0000 (10:27 -0400)]
pybind/ceph_daemon: preserve ordering

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agopybind/ceph_daemon: default to prio 0 if unspecified
Sage Weil [Wed, 26 Apr 2017 14:23:54 +0000 (10:23 -0400)]
pybind/ceph_daemon: default to prio 0 if unspecified

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph.in, pybind/ceph_daemon.py: add 'daemonperf list'
Dan Mick [Tue, 25 Apr 2017 22:44:46 +0000 (15:44 -0700)]
ceph.in, pybind/ceph_daemon.py: add 'daemonperf list'

respect statpats and priority; display as a PrettyTable

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoceph.in, pybind/ceph_daemon.py: add priority filtering
Dan Mick [Fri, 21 Apr 2017 18:15:34 +0000 (11:15 -0700)]
ceph.in, pybind/ceph_daemon.py: add priority filtering

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agopybind/ceph_daemon.py: allow sections to split for 'fitting'
Dan Mick [Wed, 19 Apr 2017 03:48:38 +0000 (20:48 -0700)]
pybind/ceph_daemon.py: allow sections to split for 'fitting'

Relax requirement that entire section fit; show whatever stats
fit out of the sections selected.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoceph.in, pybind/ceph_daemon.py: allow stat filter patterns
Dan Mick [Wed, 19 Apr 2017 03:47:29 +0000 (20:47 -0700)]
ceph.in, pybind/ceph_daemon.py: allow stat filter patterns

optional second argument to ceph

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agopybind/ceph_daemon.py: reprint headers as soon as they disappear
Dan Mick [Tue, 18 Apr 2017 22:57:24 +0000 (15:57 -0700)]
pybind/ceph_daemon.py: reprint headers as soon as they disappear

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agopybind/ceph_daemon.py: stop early termination of sleep
Dan Mick [Tue, 18 Apr 2017 22:56:42 +0000 (15:56 -0700)]
pybind/ceph_daemon.py: stop early termination of sleep

Any unignored signal will EINTR underneath and cause early
return of sleep().  Fix that by sleeping until end time is
reached.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agopybind/ceph_daemon.py: DaemonWatcher: fit display to window size
Dan Mick [Tue, 18 Apr 2017 22:24:22 +0000 (15:24 -0700)]
pybind/ceph_daemon.py: DaemonWatcher: fit display to window size

Keep track of terminal width/height, and output as many
candidate statistics as will fit in the window.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoceph.in: Move daemonperf to its own function
Dan Mick [Fri, 14 Apr 2017 03:20:30 +0000 (20:20 -0700)]
ceph.in: Move daemonperf to its own function

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoceph.in: move daemon commands to their own function
Dan Mick [Wed, 5 Apr 2017 02:36:33 +0000 (19:36 -0700)]
ceph.in: move daemon commands to their own function

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agocommon/perf_counters: replace suppress_nicks with prio adjustment
Sage Weil [Tue, 4 Apr 2017 21:33:17 +0000 (17:33 -0400)]
common/perf_counters: replace suppress_nicks with prio adjustment

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosdc/Objecter: set perf counter priorities
Sage Weil [Tue, 4 Apr 2017 20:58:15 +0000 (16:58 -0400)]
osdc/Objecter: set perf counter priorities

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds: add perf counter nicks, priorities
Sage Weil [Tue, 4 Apr 2017 20:55:44 +0000 (16:55 -0400)]
mds: add perf counter nicks, priorities

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: set perf counter priorities
Sage Weil [Tue, 4 Apr 2017 17:43:39 +0000 (13:43 -0400)]
osd: set perf counter priorities

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: clean up whitespace in create_logger()
Sage Weil [Tue, 28 Mar 2017 02:54:11 +0000 (22:54 -0400)]
osd: clean up whitespace in create_logger()

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agocommon/perf_counters: allow priorities to be assigned to perf counters
Sage Weil [Tue, 28 Mar 2017 02:45:09 +0000 (22:45 -0400)]
common/perf_counters: allow priorities to be assigned to perf counters

The idea is that higher priority counters can be surfaced by user tools
automatically (e.g., 'ceph daemonperf') without enshrining knowledge in
the tool of the internal workings of the daemon.  Similarly, the tool
may not know which counters are in use for a particular daemon (e.g.,
filestore vs bluestore).

This requires a bit of discipline in the ceph code to use consistent
priorities, but as long as developers are using the tools that consume
the priorities (and I expect they will if we make the counters useful)
we should converge on good values.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agocommon/perf_counters: require nicks be <= 4 chars
Sage Weil [Tue, 28 Mar 2017 02:41:39 +0000 (22:41 -0400)]
common/perf_counters: require nicks be <= 4 chars

This keeps the column sizes at 5 chars for 'ceph daemonperf'.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosdc/Objecter: rename nicks to be <= 4 chars
Sage Weil [Tue, 28 Mar 2017 02:40:43 +0000 (22:40 -0400)]
osdc/Objecter: rename nicks to be <= 4 chars

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: rename nicks to be <= 4 chars
Sage Weil [Tue, 28 Mar 2017 02:40:36 +0000 (22:40 -0400)]
osd: rename nicks to be <= 4 chars

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: rename nicks to be <= 4 chars
Sage Weil [Tue, 28 Mar 2017 02:40:27 +0000 (22:40 -0400)]
os/bluestore: rename nicks to be <= 4 chars

Signed-off-by: Sage Weil <sage@redhat.com>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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

9 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

9 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

9 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>
9 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

9 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>
9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>