]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorgw: add cls _bucket_resharding_set and cls_bucket_resharding_clear
Orit Wasserman [Thu, 6 Apr 2017 18:58:37 +0000 (21:58 +0300)]
rgw: add cls _bucket_resharding_set and cls_bucket_resharding_clear

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: Add resharding flag and the new bucket instance id to RGWBucketInfo
Orit Wasserman [Thu, 6 Apr 2017 19:48:28 +0000 (22:48 +0300)]
rgw: Add resharding flag and the new bucket instance id to RGWBucketInfo

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoradosgw-admin: Add reshard add, list, execute and cancel commands
Orit Wasserman [Tue, 21 Mar 2017 13:57:58 +0000 (15:57 +0200)]
radosgw-admin: Add reshard add, list, execute and cancel commands

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoradosgw-admin: move resharding into a separate function
Orit Wasserman [Thu, 20 Oct 2016 14:30:54 +0000 (16:30 +0200)]
radosgw-admin: move resharding into a separate function

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add RGWReshard class
Orit Wasserman [Wed, 8 Mar 2017 15:56:39 +0000 (17:56 +0200)]
rgw: add RGWReshard class

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add reshard_pool
Orit Wasserman [Sun, 12 Mar 2017 12:49:20 +0000 (14:49 +0200)]
rgw: add reshard_pool

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add cls_rgw_reshard ops
Orit Wasserman [Tue, 28 Feb 2017 14:09:51 +0000 (16:09 +0200)]
rgw: add cls_rgw_reshard ops

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15119 from ceph/wip-rgw-config-docs
Casey Bodley [Fri, 2 Jun 2017 18:09:33 +0000 (14:09 -0400)]
Merge pull request #15119 from ceph/wip-rgw-config-docs

doc: mention certain conf vars should be in global

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14351 from yehudasa/wip-rgw-mdsearch
Yehuda Sadeh [Fri, 2 Jun 2017 16:16:07 +0000 (09:16 -0700)]
Merge pull request #14351 from yehudasa/wip-rgw-mdsearch

rgw: metadata search part 2

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #15427 from tchaikov/wip-vstart-osd-id
Sage Weil [Fri, 2 Jun 2017 15:34:45 +0000 (10:34 -0500)]
Merge pull request #15427 from tchaikov/wip-vstart-osd-id

vstart: print "start osd.$id" instead of "start osd$id"

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15217 from badone/wip-async-sleep-timer-fix
Sage Weil [Fri, 2 Jun 2017 15:32:15 +0000 (10:32 -0500)]
Merge pull request #15217 from badone/wip-async-sleep-timer-fix

osd: Move scrub sleep timer to osdservice

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15396 from jcsp/wip-ceph-status
Sage Weil [Fri, 2 Jun 2017 15:30:55 +0000 (10:30 -0500)]
Merge pull request #15396 from jcsp/wip-ceph-status

mon: revise "ceph status" output

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15011 from xiexingguo/wip-crush-tool
Sage Weil [Fri, 2 Jun 2017 15:20:44 +0000 (10:20 -0500)]
Merge pull request #15011 from xiexingguo/wip-crush-tool

tools/crushtool: replicated-rule API support

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15176 from SUSE/wip-mgr-fix-help
Sage Weil [Fri, 2 Jun 2017 15:20:27 +0000 (10:20 -0500)]
Merge pull request #15176 from SUSE/wip-mgr-fix-help

mgr,osd:  ceph-mgr --help, unify usage text of other daemons

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15395 from liewegas/wip-log-entity
Sage Weil [Fri, 2 Jun 2017 15:19:58 +0000 (10:19 -0500)]
Merge pull request #15395 from liewegas/wip-log-entity

common/LogEntry: include EntityName in log entries

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15398 from liewegas/wip-bluestore-leak
Sage Weil [Fri, 2 Jun 2017 15:19:26 +0000 (10:19 -0500)]
Merge pull request #15398 from liewegas/wip-bluestore-leak

os/bluestore: fix buffers pinned by indefinitely deferred writes

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15402 from liewegas/wip-bluestore-mempools
Sage Weil [Fri, 2 Jun 2017 15:19:03 +0000 (10:19 -0500)]
Merge pull request #15402 from liewegas/wip-bluestore-mempools

os/bluestore: improve mempool usage

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15403 from liewegas/wip-mempool-dump
Sage Weil [Fri, 2 Jun 2017 15:18:38 +0000 (10:18 -0500)]
Merge pull request #15403 from liewegas/wip-mempool-dump

mempool: improve dump; fix buffer accounting bugs

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15431 from rzarzynski/wip-rgw-vim-modeline-for-orhpantool
Casey Bodley [Fri, 2 Jun 2017 14:05:17 +0000 (10:05 -0400)]
Merge pull request #15431 from rzarzynski/wip-rgw-vim-modeline-for-orhpantool

rgw: add the Vim's modeline into rgw_orphan.cc.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15425 from yaozongyou/fix-build-error
Kefu Chai [Fri, 2 Jun 2017 13:56:03 +0000 (21:56 +0800)]
Merge pull request #15425 from yaozongyou/fix-build-error

cmake: link against fcgi only if enabled

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorgw: add the Vim's modeline into rgw_orphan.cc. 15431/head
Radoslaw Zarzynski [Fri, 2 Jun 2017 12:03:44 +0000 (14:03 +0200)]
rgw: add the Vim's modeline into rgw_orphan.cc.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agovstart: print "start osd.$id" instead of "start osd$id" 15427/head
Kefu Chai [Fri, 2 Jun 2017 07:10:38 +0000 (15:10 +0800)]
vstart: print "start osd.$id" instead of "start osd$id"

"osd.9" is more consistent with other places where an osd is referenced.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15408 from yonghengdexin735/wip-zzz-add_const
Jos Collin [Fri, 2 Jun 2017 05:41:58 +0000 (11:11 +0530)]
Merge pull request #15408 from yonghengdexin735/wip-zzz-add_const

include/lru.h: add const to member functions

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoFix cmake build error. 15425/head
Yao Zongyou [Fri, 2 Jun 2017 04:11:59 +0000 (12:11 +0800)]
Fix cmake build error.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
8 years agoMerge pull request #15420 from yuriw/wip_remove_default_idle_timeout
Sage Weil [Fri, 2 Jun 2017 03:08:31 +0000 (22:08 -0500)]
Merge pull request #15420 from yuriw/wip_remove_default_idle_timeout

qa: Removed all 'default_idle_timeout' due to chnage in rwg task

8 years agoMerge pull request #15397 from dzafman/wip-20089
Sage Weil [Fri, 2 Jun 2017 02:40:29 +0000 (21:40 -0500)]
Merge pull request #15397 from dzafman/wip-20089

osd: Object level shard errors are tracked and used if no auth available

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/workunits/cephtool/test.sh: adjust watch test 15395/head
Sage Weil [Fri, 2 Jun 2017 02:22:24 +0000 (22:22 -0400)]
qa/workunits/cephtool/test.sh: adjust watch test

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15417 from smithfarm/wip-cond-epoch-2
Sage Weil [Fri, 2 Jun 2017 02:14:13 +0000 (21:14 -0500)]
Merge pull request #15417 from smithfarm/wip-cond-epoch-2

build/ops: rpm: move _epoch_prefix below Epoch definition

8 years agoinclude/lru: add const to member function 15408/head
yonghengdexin735 [Thu, 1 Jun 2017 08:20:55 +0000 (16:20 +0800)]
include/lru: add const to member function

Signed-off-by: yonghengdexin735 <zhang.zezhu@zte.com.cn>
8 years agoRemoved all 'default_idle_timeout' due to chnage in rwg task 15420/head
Yuri Weinstein [Thu, 1 Jun 2017 21:01:30 +0000 (14:01 -0700)]
Removed all 'default_idle_timeout' due to chnage in rwg task
https://github.com/ceph/ceph/commit/8c74c8a639cd3dead52e1942b36f6eb3f1ceab2c#diff-995b04809fcabacc3e3ecfaea903a41aL539

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
8 years agoqa/tasks/rgw_multisite.py: adjust zone init 14351/head
Yehuda Sadeh [Thu, 1 Jun 2017 18:28:22 +0000 (11:28 -0700)]
qa/tasks/rgw_multisite.py: adjust zone init

zone is now a ZoneConn object. Also, change import to make it relative
so that qa task can locate it.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agobuild/ops: rpm: move _epoch_prefix below Epoch definition 15417/head
Nathan Cutler [Thu, 1 Jun 2017 19:37:09 +0000 (21:37 +0200)]
build/ops: rpm: move _epoch_prefix below Epoch definition

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #15400 from yehudasa/wip-20128
Sage Weil [Thu, 1 Jun 2017 19:22:39 +0000 (14:22 -0500)]
Merge pull request #15400 from yehudasa/wip-20128

qa/rgw_snaps: move default_idle_timeout config under the client

8 years agoosd: Object level shard errors are tracked and used if no auth available 15397/head
David Zafman [Wed, 31 May 2017 22:39:19 +0000 (15:39 -0700)]
osd: Object level shard errors are tracked and used if no auth available

Shards with object mismatch are tracked to mark them inconsistent
Fix test because storing omap_digest in object_info not behaving as before

Fixes: http://tracker.ceph.com/issues/20089
Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoosd-scrub-repair: Fix broken test and correctly handle ec overwrite testing
David Zafman [Thu, 1 Jun 2017 03:53:28 +0000 (20:53 -0700)]
osd-scrub-repair: Fix broken test and correctly handle ec overwrite testing

Caused by: 3ca750d41dfe33c6efea4abc96d2bd426a9742b9

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #15212 from neha-ojha/wip-fix-recovery-sleep-configurable
Sage Weil [Thu, 1 Jun 2017 16:54:58 +0000 (11:54 -0500)]
Merge pull request #15212 from neha-ojha/wip-fix-recovery-sleep-configurable

osd: Implement asynchronous recovery sleep

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15262 from Adirl/revert_cm
Sage Weil [Thu, 1 Jun 2017 16:54:33 +0000 (11:54 -0500)]
Merge pull request #15262 from Adirl/revert_cm

msg/async: Revert RDMA-CM

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15307 from ovh/bp-64bit-mem-is-zero
Sage Weil [Thu, 1 Jun 2017 16:54:19 +0000 (11:54 -0500)]
Merge pull request #15307 from ovh/bp-64bit-mem-is-zero

inline_memory: optimized mem_is_zero for non-x64

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15340 from wjwithagen/wip-wjw-libcommon
Sage Weil [Thu, 1 Jun 2017 16:53:54 +0000 (11:53 -0500)]
Merge pull request #15340 from wjwithagen/wip-wjw-libcommon

cmake: do not link libcommon against some libs

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15342 from chardan/jfw-wip-add_VLA_warning
Sage Weil [Thu, 1 Jun 2017 16:53:32 +0000 (11:53 -0500)]
Merge pull request #15342 from chardan/jfw-wip-add_VLA_warning

build: Adds C++ warning flag for C Variable-Length Arrays.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15364 from joscollin/wip-cleanup-putto-operator-const
Sage Weil [Thu, 1 Jun 2017 16:52:57 +0000 (11:52 -0500)]
Merge pull request #15364 from joscollin/wip-cleanup-putto-operator-const

src: put-to operator function - const input cleanup

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15372 from ganeshmaharaj/reuse-isal
Sage Weil [Thu, 1 Jun 2017 16:52:40 +0000 (11:52 -0500)]
Merge pull request #15372 from ganeshmaharaj/reuse-isal

erasure-code: Remove duplicate of isa-l files

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoos/bluestore: release aios and pinned buffers on io complete 15398/head
Sage Weil [Wed, 31 May 2017 22:44:02 +0000 (18:44 -0400)]
os/bluestore: release aios and pinned buffers on io complete

Once we're done with our IO, clear the aio list so that the pinned buffers
are unpinned.  This ensures we release memory quickly, even if the
TransContext sticks around for a while (e.g., in the osr q).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: submit deferred if txc cleanup is blocked
Sage Weil [Wed, 31 May 2017 22:38:36 +0000 (18:38 -0400)]
os/bluestore: submit deferred if txc cleanup is blocked

If we have a single deferred write, and then a uniform workload with *no*
deferred writes, we will never actually submit it.  Meanwhile, the txc is
stuck on the osr q and nothing ever gets retired.

Simple fix is to submit any deferred ops if the osr queue is blocked by
a queued deferred write and the osr queue length is above some
threshold.  This prevents memory from being pinned indefinitely.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15209 from liewegas/wip-sortbitwise-notes 15644/head
Sage Weil [Thu, 1 Jun 2017 16:26:06 +0000 (11:26 -0500)]
Merge pull request #15209 from liewegas/wip-sortbitwise-notes

doc/release-notes: update which jewel version does sortbitwise warning

8 years agoMerge pull request #15274 from liewegas/wip-auto-ccache
Sage Weil [Thu, 1 Jun 2017 16:25:36 +0000 (11:25 -0500)]
Merge pull request #15274 from liewegas/wip-auto-ccache

do_cmake.sh: enable ccache if installed

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodo_cmake.sh: enable ccache if installed 15274/head
Sage Weil [Thu, 1 Jun 2017 16:25:11 +0000 (12:25 -0400)]
do_cmake.sh: enable ccache if installed

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15391 from liewegas/wip-authors
Sage Weil [Thu, 1 Jun 2017 15:15:30 +0000 (10:15 -0500)]
Merge pull request #15391 from liewegas/wip-authors

AUTHORS: update with release manager, backport team

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #15410 from dachary/wip-19941-ceph-disk
Loic Dachary [Thu, 1 Jun 2017 14:31:38 +0000 (16:31 +0200)]
Merge pull request #15410 from dachary/wip-19941-ceph-disk

ceph-disk: do not setup_statedir on trigger

Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15412 from dachary/wip-choose-args
Kefu Chai [Thu, 1 Jun 2017 12:57:25 +0000 (20:57 +0800)]
Merge pull request #15412 from dachary/wip-choose-args

crush: add missing tunable in tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocrush: add missing tunable in tests 15412/head
Loic Dachary [Thu, 1 Jun 2017 11:50:51 +0000 (13:50 +0200)]
crush: add missing tunable in tests

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #15286 from smithfarm/wip-cond-epoch
Kefu Chai [Thu, 1 Jun 2017 11:41:41 +0000 (19:41 +0800)]
Merge pull request #15286 from smithfarm/wip-cond-epoch

build/ops: rpm: apply epoch only if %epoch macro is defined

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15240 from ukernel/wip-20055
John Spray [Thu, 1 Jun 2017 10:33:51 +0000 (11:33 +0100)]
Merge pull request #15240 from ukernel/wip-20055

osdc/Journaler: avoid executing on_safe contexts prematurely

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15282 from david-z/wip-fix-mantle
John Spray [Thu, 1 Jun 2017 10:28:46 +0000 (11:28 +0100)]
Merge pull request #15282 from david-z/wip-fix-mantle

mds: Pass empty string to clear mantle balancer

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15314 from renhwztetecs/renhw-wip-client-cleanup
John Spray [Thu, 1 Jun 2017 10:25:44 +0000 (11:25 +0100)]
Merge pull request #15314 from renhwztetecs/renhw-wip-client-cleanup

client: fix display ino in the ldout

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #15300 from ukernel/wip-20083
John Spray [Thu, 1 Jun 2017 10:24:09 +0000 (11:24 +0100)]
Merge pull request #15300 from ukernel/wip-20083

mds: properly create aux subtrees for pinned directory

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15278 from viCEnTECheNg/wip-data-pools-type
John Spray [Thu, 1 Jun 2017 10:23:33 +0000 (11:23 +0100)]
Merge pull request #15278 from viCEnTECheNg/wip-data-pools-type

mds: change the type of data_pools

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15205 from batrick/i20039
John Spray [Thu, 1 Jun 2017 10:23:02 +0000 (11:23 +0100)]
Merge pull request #15205 from batrick/i20039

mds: check export pin during replay

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoceph-disk: do not setup_statedir on trigger 15410/head
Loic Dachary [Thu, 1 Jun 2017 09:37:20 +0000 (11:37 +0200)]
ceph-disk: do not setup_statedir on trigger

trigger may run when statedir is unavailable and does not use it.

Fixes: http://tracker.ceph.com/issues/19941
Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #15406 from tchaikov/wip-setuptools-vendors-six-or-not
Kefu Chai [Thu, 1 Jun 2017 07:17:15 +0000 (15:17 +0800)]
Merge pull request #15406 from tchaikov/wip-setuptools-vendors-six-or-not

install-deps.sh: workaround setuptools' dependency on six

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoinstall-deps.sh: workaround setuptools' dependency on six 15406/head
Kefu Chai [Thu, 1 Jun 2017 06:05:07 +0000 (14:05 +0800)]
install-deps.sh: workaround setuptools' dependency on six

see also https://github.com/pypa/setuptools/issues/1042

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: mempools for writing and writing_deferred 15402/head
Sage Weil [Thu, 1 Jun 2017 02:50:04 +0000 (22:50 -0400)]
os/bluestore: mempools for writing and writing_deferred

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: bluestore_txc mempool
Sage Weil [Thu, 1 Jun 2017 02:45:11 +0000 (22:45 -0400)]
os/bluestore: bluestore_txc mempool

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: rename cache mempools to bluestore_cache_*
Sage Weil [Thu, 1 Jun 2017 02:43:17 +0000 (22:43 -0400)]
os/bluestore: rename cache mempools to bluestore_cache_*

These map directly onto the bluestore_cache_size setting.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: maybe_rebuild before adding to cache too
Sage Weil [Wed, 31 May 2017 19:41:33 +0000 (15:41 -0400)]
os/bluestore: maybe_rebuild before adding to cache too

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoAUTHORS: update with release manager, backport team 15391/head
Sage Weil [Thu, 1 Jun 2017 02:32:13 +0000 (22:32 -0400)]
AUTHORS: update with release manager, backport team

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15370 from liewegas/wip-jewel-tunables
Sage Weil [Thu, 1 Jun 2017 02:26:17 +0000 (21:26 -0500)]
Merge pull request #15370 from liewegas/wip-jewel-tunables

crush, mon: make jewel the lower bound for client/crush compat for new clusters

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agotest/cli/osdmaptool/: fix tests 15370/head
Sage Weil [Thu, 1 Jun 2017 02:25:26 +0000 (22:25 -0400)]
test/cli/osdmaptool/: fix tests

CRUSH tunables now default to jewel; outputs vary and
upmap results are a bit different.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuffer: fix some append_buffer vs mempool assignment; add tests 15403/head
Sage Weil [Thu, 1 Jun 2017 02:19:51 +0000 (22:19 -0400)]
buffer: fix some append_buffer vs mempool assignment; add tests

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomempool: make dump more concise
Sage Weil [Wed, 31 May 2017 20:53:33 +0000 (16:53 -0400)]
mempool: make dump more concise

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/cli/crushtool: adjust tests
Sage Weil [Wed, 31 May 2017 13:44:27 +0000 (09:44 -0400)]
test/cli/crushtool: adjust tests

Specify chooseleaf_stable for --build tests to match prior output.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: set mon_osd_initial_require_min_compat_client = jewel
Sage Weil [Tue, 30 May 2017 17:55:18 +0000 (13:55 -0400)]
mon: set mon_osd_initial_require_min_compat_client = jewel

IMO a jewel lower bound is reasonable for new clusters.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocrush: set default tunables to jewel
Sage Weil [Tue, 30 May 2017 17:54:16 +0000 (13:54 -0400)]
crush: set default tunables to jewel

For new clusters.

This is the last "disruptive" tunable change we've made (where adjusting/
fixing it requires lots of data movement).  For new clusters a lower bound
of jewel seems pretty reasonable, and this has been upstream in Linux
for a while now.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15267 from joscollin/wip-cleanup-redundant-headers-5
Brad Hubbard [Thu, 1 Jun 2017 00:39:15 +0000 (10:39 +1000)]
Merge pull request #15267 from joscollin/wip-cleanup-redundant-headers-5

common: Remove redundant includes - 5

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoqa/rgw_snaps: move default_idle_timeout config under the client 15400/head
Yehuda Sadeh [Thu, 1 Jun 2017 00:13:41 +0000 (17:13 -0700)]
qa/rgw_snaps: move default_idle_timeout config under the client

Fixes: http://tracker.ceph.com/issues/20128
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #15311 from dachary/wip-crush-add-remove
Sage Weil [Wed, 31 May 2017 23:09:36 +0000 (18:09 -0500)]
Merge pull request #15311 from dachary/wip-crush-add-remove

crush: update choose_args when items are added/removed

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15318 from tchaikov/wip-20067
Sage Weil [Wed, 31 May 2017 23:09:06 +0000 (18:09 -0500)]
Merge pull request #15318 from tchaikov/wip-20067

mon: trim the creating_pgs after updating it with pgmap

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15352 from liewegas/wip-buffer-mempools
Sage Weil [Wed, 31 May 2017 23:08:49 +0000 (18:08 -0500)]
Merge pull request #15352 from liewegas/wip-buffer-mempools

buffer: allow buffers to be accounted in arbitrary mempools

8 years agoMerge pull request #15357 from ceph/typo_bluestore
Sage Weil [Wed, 31 May 2017 23:08:34 +0000 (18:08 -0500)]
Merge pull request #15357 from ceph/typo_bluestore

os/bluestore: fix a typo about bleustore

Reviewed-by: Varada Kari <varada.kari@gmail.com>
8 years agoMerge pull request #15385 from myoungwon/wip-20114
Sage Weil [Wed, 31 May 2017 23:06:40 +0000 (18:06 -0500)]
Merge pull request #15385 from myoungwon/wip-20114

test/osd/TestRados.cc: run set-redirect test after finishing setup

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoRevert "osd: When scrub finds an attr error mark shard inconsistent"
David Zafman [Wed, 31 May 2017 20:49:18 +0000 (13:49 -0700)]
Revert "osd: When scrub finds an attr error mark shard inconsistent"

This reverts commit 44736aac74493b5532c9e3574a37a3642766f212.

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #14457 from ceph/wip-rest-flask
Sage Weil [Wed, 31 May 2017 22:48:43 +0000 (17:48 -0500)]
Merge pull request #14457 from ceph/wip-rest-flask

ceph-mgr: Implement new pecan-based rest api

8 years agorgw: fix import
Yehuda Sadeh [Wed, 31 May 2017 22:01:56 +0000 (15:01 -0700)]
rgw: fix import

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agomon: revise "ceph status" output 15396/head
John Spray [Wed, 31 May 2017 21:51:52 +0000 (17:51 -0400)]
mon: revise "ceph status" output

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15222 from guihecheng/rgw_file-fix-unlink
Matt Benjamin [Wed, 31 May 2017 20:57:20 +0000 (16:57 -0400)]
Merge pull request #15222 from guihecheng/rgw_file-fix-unlink

rgw_file: fix flags set on unsuccessful unlink

8 years agoMerge pull request #15329 from guihecheng/rgw_file-readdir
Matt Benjamin [Wed, 31 May 2017 20:35:37 +0000 (16:35 -0400)]
Merge pull request #15329 from guihecheng/rgw_file-readdir

rgw_file: add lock protection for readdir against gc

8 years agoMerge pull request #14871 from ceph/wip-selinux-optimize
Boris Ranto [Wed, 31 May 2017 18:53:14 +0000 (20:53 +0200)]
Merge pull request #14871 from ceph/wip-selinux-optimize

selinux: Do parallel relabel on package install

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agomempool: dump total, too 15352/head
Sage Weil [Tue, 30 May 2017 18:47:04 +0000 (14:47 -0400)]
mempool: dump total, too

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: (loosely) mark cached map bl buffers as osd_mapbl
Sage Weil [Mon, 29 May 2017 20:55:28 +0000 (16:55 -0400)]
osd: (loosely) mark cached map bl buffers as osd_mapbl

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: mark buffer caches buffers as bluestore_data
Sage Weil [Mon, 29 May 2017 01:21:20 +0000 (21:21 -0400)]
os/bluestore: mark buffer caches buffers as bluestore_data

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuffer: remove buffer_data mempool
Sage Weil [Tue, 30 May 2017 19:58:53 +0000 (15:58 -0400)]
buffer: remove buffer_data mempool

We are explicitly accounting for buffers via arbitrary pools, defaulting
to buffer_anon, so we don't need buffer_data anymore.  It leads to
double-counting.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuffer: allow buffers to map into arbitrary mempools
Sage Weil [Mon, 29 May 2017 01:21:05 +0000 (21:21 -0400)]
buffer: allow buffers to map into arbitrary mempools

- default is buffer_anon
- buffer_data includes *all* buffers across all mempools, and is the
*actual* allocation (includes raw_combined).
- buffer_meta is other buffer-related overhead.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomempool: allow pool counts to be adjusted explicitly
Sage Weil [Mon, 29 May 2017 01:19:44 +0000 (21:19 -0400)]
mempool: allow pool counts to be adjusted explicitly

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuffer: fix mempool accounting for claimed chars
Sage Weil [Mon, 8 May 2017 18:50:43 +0000 (14:50 -0400)]
buffer: fix mempool accounting for claimed chars

These are allocated by the caller, outside of the mempool; do not
deallocate via the mempool.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomempool: kill unittest_? mempools
Sage Weil [Fri, 5 May 2017 19:48:46 +0000 (15:48 -0400)]
mempool: kill unittest_? mempools

These were just annoying.  Use some real ones that will be empty
for the unit tests.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15291 from liewegas/wip-osdmap-pgtemp
Sage Weil [Wed, 31 May 2017 18:47:00 +0000 (13:47 -0500)]
Merge pull request #15291 from liewegas/wip-osdmap-pgtemp

osd/OSDMap: make pg_temp more efficient

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15321 from liewegas/wip-failed-msg
Sage Weil [Wed, 31 May 2017 18:46:09 +0000 (13:46 -0500)]
Merge pull request #15321 from liewegas/wip-failed-msg

mon/OSDMonitor: change info in 'osd failed' messages

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agopybind/rados: add monitor_log2
Sage Weil [Wed, 31 May 2017 16:54:49 +0000 (12:54 -0400)]
pybind/rados: add monitor_log2

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agolibrados: add rados_monitor_log2 that includes EntityName
Sage Weil [Wed, 31 May 2017 16:56:51 +0000 (12:56 -0400)]
librados: add rados_monitor_log2 that includes EntityName

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agolibrados: use EntityName in monitor_log line
Sage Weil [Wed, 31 May 2017 16:57:06 +0000 (12:57 -0400)]
librados: use EntityName in monitor_log line

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