]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
John Spray [Mon, 24 Jul 2017 13:55:41 +0000 (14:55 +0100)]
Merge pull request #16365 from jcsp/wip-osd-marked-me-down
osd: rephrase "wrongly marked me down" clog message
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
John Spray [Mon, 17 Jul 2017 12:29:27 +0000 (08:29 -0400)]
qa: update whitelist for "wrongly marked me down"
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 16 Jul 2017 13:50:40 +0000 (09:50 -0400)]
osd: rephrase "wrongly marked me down" clog message
Rephrase as "Monitor daemon marked osd.<id> down, but it is
still running", which is more descriptive. Demote the
epoch information to DEBUG level.
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Mon, 24 Jul 2017 13:27:06 +0000 (08:27 -0500)]
Merge pull request #16326 from liewegas/wip-weight-set
crush,mon: add weight-set introspection and manipulation commands
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com
John Spray [Mon, 24 Jul 2017 13:00:51 +0000 (14:00 +0100)]
Merge pull request #16360 from dillaman/wip-rbd-mirror-service-daemon
mgr/dashboard: rbd mirroring status page
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 24 Jul 2017 11:40:52 +0000 (12:40 +0100)]
Merge pull request #16529 from Liuchang0812/wip-20750
mgr/status: row has incorrect number of values
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Mon, 24 Jul 2017 11:39:44 +0000 (19:39 +0800)]
Merge pull request #16503 from renhwztetecs/renhw-wip-mon-rebuild-doc
doc/mon: fix ceph-authtool command in rebuild mon's sample
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 24 Jul 2017 10:31:37 +0000 (18:31 +0800)]
Merge pull request #16523 from tchaikov/wip-ceph-disk-asok-dir
tests: add setup/teardown for asok dir
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
liuchang0812 [Mon, 24 Jul 2017 09:34:45 +0000 (17:34 +0800)]
mgr/status: row has incorrect number of values
Fixes: http://tracker.ceph.com/issues/20750
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Xie Xingguo [Mon, 24 Jul 2017 09:28:24 +0000 (17:28 +0800)]
Merge pull request #16507 from scienceluo/patch-1
Update .organizationmap
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
huanwen ren [Sat, 22 Jul 2017 08:06:45 +0000 (16:06 +0800)]
doc/mon: fix ceph-authtool create keyring
if use "ceph-authtool keyring -n mon. --cap mon allow 'allow *'"
as err:
[root]# ceph-authtool keyring -n mon. --cap mon allow 'allow *'
ceph-authtool: unexpected 'allow *'
Excessive "allow" is the cause of the error
Signed-off-by huanwen ren <ren.huanwen@zte.com.cn>
Kefu Chai [Mon, 24 Jul 2017 08:38:13 +0000 (16:38 +0800)]
vstart.sh: do not try to remove default asok_dir
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 24 Jul 2017 08:31:06 +0000 (16:31 +0800)]
tests: add setup/teardown for asok dir
ceph-disk.sh has its own setup/teardown, so update them also. so asok
files will have their parent directory when being created.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Orit Wasserman [Mon, 24 Jul 2017 08:25:21 +0000 (11:25 +0300)]
Merge pull request #16502 from weiqiaomiao/wip_weiqm_unlock_bucket
rgw: should unlock when reshard_log->update() reture non-zero in RGWB…
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
weiqiaomiao [Sat, 22 Jul 2017 05:43:10 +0000 (13:43 +0800)]
rgw: should unlock when reshard_log->update() reture non-zero in RGWBucketReshard::execute()
Signed-off-by: Wei Qiaomiao <wei.qiaomiao@zte.com.cn>
Sage Weil [Sun, 23 Jul 2017 02:14:36 +0000 (21:14 -0500)]
Merge pull request #16508 from liewegas/wip-mgr-lock-cycle
mgr: fix lock cycle
Sage Weil [Sat, 22 Jul 2017 18:07:43 +0000 (13:07 -0500)]
Merge pull request #16488 from liewegas/wip-skewed
common/options: remove mon_warn_osd_usage_min_max_delta from options.cc too
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sat, 22 Jul 2017 18:07:28 +0000 (13:07 -0500)]
Merge pull request #16490 from jdurgin/wip-20739
osd/PrimaryLogPG: skip deleted missing objects in pg[n]ls
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 22 Jul 2017 18:07:05 +0000 (13:07 -0500)]
Merge pull request #16501 from liewegas/wip-fix-mgr-commands
mon: do not dereference empty mgr_commands
Sage Weil [Sat, 22 Jul 2017 18:01:20 +0000 (13:01 -0500)]
Merge pull request #16500 from liewegas/wip-compact-sudo
qa/workunits/cephtool/test.sh: add sudo for daemon compact
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 22 Jul 2017 17:48:17 +0000 (13:48 -0400)]
mgr/PyModules: fix lock name
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 22 Jul 2017 17:48:00 +0000 (13:48 -0400)]
mgr/DaemonServer: fix lock cycle
This breaks a lock cycle with DaemonState::lock and PyModules::lock.
Signed-off-by: Sage Weil <sage@redhat.com>
luokexue [Sat, 22 Jul 2017 15:11:09 +0000 (23:11 +0800)]
Update .organizationmap
The list of contributors to ZTE looks better if it is in alphabetical order.
Signed-off-by: Luo Kexue luo.kexue@zte.com.cn
Sage Weil [Sat, 22 Jul 2017 03:38:42 +0000 (22:38 -0500)]
Merge pull request #15991 from dillaman/wip-rbd-auth-profile
mon,osd: new rbd-based cephx cap profiles
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 22 Jul 2017 03:36:26 +0000 (22:36 -0500)]
Merge pull request #16432 from liewegas/wip-mgr-daemonstate-lock
mgr: add per-DaemonState lock
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Sat, 22 Jul 2017 03:36:09 +0000 (22:36 -0500)]
Merge pull request #16460 from liewegas/wip-mgr-metadata
mon: add mgr metdata commands, and overall 'versions' command for all daemon versions
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 22 Jul 2017 03:35:43 +0000 (22:35 -0500)]
Merge pull request #16465 from xiexingguo/wip-shutup-noscrub-warn
mon: stop issuing not-[deep]-scrubbed warnings if disabled
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 22 Jul 2017 03:34:50 +0000 (22:34 -0500)]
Merge pull request #16477 from tchaikov/wip-health-mon
mon/HealthMonitor: trigger a proposal if stat updated
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sat, 22 Jul 2017 03:34:32 +0000 (22:34 -0500)]
Merge pull request #16478 from xiexingguo/wip-drop-empty-message
mon/HealthMonitor: avoid sending unnecessary MMonHealthChecks to leader
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 22 Jul 2017 03:34:08 +0000 (22:34 -0500)]
Merge pull request #16480 from jcsp/wip-rm-convert
common: remove config opt conversion utility
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Sage Weil [Sat, 22 Jul 2017 03:31:55 +0000 (23:31 -0400)]
mon: do not dereference empty mgr_commands
This may be empty before the initial quorum commits the static command
list.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 22 Jul 2017 03:18:03 +0000 (23:18 -0400)]
qa/workunits/cephtool/test.sh: add sudo for daemon compact
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:23:10 +0000 (13:23 -0700)]
Merge PR 16390 into master
* refs/remotes/upstream/pull/16390/head:
mds: cleanup with unique_ptr
mds: add to get version in the mds_commands
mds: cleanup
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:23:07 +0000 (13:23 -0700)]
Merge PR 16379 into master
* refs/remotes/upstream/pull/16379/head:
qa: fix MDS_CLIENT_RECALL copy error
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:23:04 +0000 (13:23 -0700)]
Merge PR 16337 into master
* refs/remotes/upstream/pull/16337/head:
mds: clear dirty rstat flag on non-auth inode when finishing scatter update
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:23:01 +0000 (13:23 -0700)]
Merge PR 16280 into master
* refs/remotes/upstream/pull/16280/head:
Client: mkdirs bugs when two clients send mkdir request for a same dir
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:22:58 +0000 (13:22 -0700)]
Merge PR 16278 into master
* refs/remotes/upstream/pull/16278/head:
MDSMonitor: show laggy MDSs at higher debug level
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:22:56 +0000 (13:22 -0700)]
Merge PR 16270 into master
* refs/remotes/upstream/pull/16270/head:
mds: improve wording of mdsmap dne logging
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:22:53 +0000 (13:22 -0700)]
Merge PR 16232 into master
* refs/remotes/upstream/pull/16232/head:
MDS: update the mlogger of mds in function check_memory_usage
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:22:50 +0000 (13:22 -0700)]
Merge PR 16231 into master
* refs/remotes/upstream/pull/16231/head:
Client: get rid of variable "butnot" in "client::get_caps"
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:22:47 +0000 (13:22 -0700)]
Merge PR 16226 into master
* refs/remotes/upstream/pull/16226/head:
qa: wait for OSDMap to propagate for snap purge
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:22:44 +0000 (13:22 -0700)]
Merge PR 16149 into master
* refs/remotes/upstream/pull/16149/head:
mds: misc cleanup
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 21 Jul 2017 20:22:36 +0000 (13:22 -0700)]
Merge PR 15942 into master
* refs/remotes/upstream/pull/15942/head:
client: add unlock_fh_pos when abort
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 21 Jul 2017 19:18:10 +0000 (15:18 -0400)]
crush: assume weight_set != null imples weight_set_size > 0
Signed-off-by: Sage Weil <sage@redhat.com>
Josh Durgin [Fri, 21 Jul 2017 19:02:53 +0000 (15:02 -0400)]
osd/PrimaryLogPG: skip deleted missing objects in pg[n]ls
Fixes: http://tracker.ceph.com/issues/20739
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Wed, 19 Jul 2017 20:43:13 +0000 (16:43 -0400)]
PendingReleaseNotes: added blurb for new RBD cap profiles
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 11 Jul 2017 12:09:26 +0000 (08:09 -0400)]
osd: expand profile caps upon construction to avoid potential race
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 10 Jul 2017 17:03:11 +0000 (13:03 -0400)]
qa/workunits/rbd: rbd-mirror tests should use 'mirror' user
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 7 Jul 2017 17:05:34 +0000 (13:05 -0400)]
qa/suites/rbd: mirroring tests should use rbd cap profiles
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 7 Jul 2017 17:10:11 +0000 (13:10 -0400)]
qa/workunits/rbd: devstack test should use auth profiles
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 7 Jul 2017 14:41:07 +0000 (10:41 -0400)]
doc: include details for new RBD cap profiles
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 30 Jun 2017 13:58:36 +0000 (09:58 -0400)]
mon,osd: drop the "allow" prefix for profile caps
The use of the a profile implies that it sets everything up. If
support for deny is ever added, it doesn't make much sense to
deny a profile.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 29 Jun 2017 01:42:41 +0000 (21:42 -0400)]
osd: new 'rbd'/'rbd-read-only' osd cap profiles
The 'rbd' profile provides read-only class access on all pools
to the 'rbd_children' object and write access to the optionally
specified pool. The 'rbd-read-only' profile does as its name
implies.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 29 Jun 2017 01:20:09 +0000 (21:20 -0400)]
osd: primitive cephx osd profile cap support
The two new example profiles are read-only and read-write
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 26 Jun 2017 20:56:23 +0000 (16:56 -0400)]
mon: added 'rbd' profile
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 26 Jun 2017 20:38:15 +0000 (16:38 -0400)]
mon: support regex-based restrictions on command caps
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 21 Jul 2017 18:24:28 +0000 (02:24 +0800)]
Merge pull request #16445 from tchaikov/wip-16895
test: create asok files in a temp directory under $TMPDIR
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 21 Jul 2017 17:50:31 +0000 (13:50 -0400)]
crush/CrushWrapper: only allocate weight_set if non-empty
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Jul 2017 17:46:04 +0000 (13:46 -0400)]
qa/workunits/mon/crush_ops.sh: fix in-use rule removal test
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Jul 2017 14:13:23 +0000 (10:13 -0400)]
qa/workunits/mon/crush_ops: require luminous clients for test
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 15 Jul 2017 02:32:53 +0000 (22:32 -0400)]
doc/rados/operations/crush-map: creating rules
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 22:14:31 +0000 (18:14 -0400)]
doc/rados/operations/crush-map: document weight set commands
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 22:06:15 +0000 (18:06 -0400)]
doc/rados/operations/crush-map*: restructure and clean up
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 21:06:42 +0000 (17:06 -0400)]
doc/rados/operations/crush-map: warn off manual crush map edits
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 21:06:28 +0000 (17:06 -0400)]
doc/rados/operations/crush-map: update crush location section
Fix various inaccuracies, simplify.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 21:05:45 +0000 (17:05 -0400)]
doc/rados/operations/crush-map: prune intro
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 20:55:11 +0000 (16:55 -0400)]
mon/OSDMonitor: 'osd crush rule ls' plaintext output
More suitable for scripting.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:37:12 +0000 (15:37 -0400)]
crush/CrushWrapper: remove_item_under: weight down weight-sets
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:36:57 +0000 (15:36 -0400)]
crush/CrushWrapper: remove_item_under whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:34:43 +0000 (15:34 -0400)]
crush/CrushWrapper: link_bucket whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:33:55 +0000 (15:33 -0400)]
crush/CrushWrapper: detach_bucket: weight down weight_sets
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:31:37 +0000 (15:31 -0400)]
crush/CrushWrapper: detach_bucket uninline
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:29:20 +0000 (15:29 -0400)]
crush/CrushWrapper: remove_item: weight down weight-sets
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:21:23 +0000 (15:21 -0400)]
crush/CrushWrapper: create_or_move_item whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:20:25 +0000 (15:20 -0400)]
crush/CrushWrapper: remove_item, bucket_remove_item whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:18:36 +0000 (15:18 -0400)]
crush/CrushWrapper: update_item whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:16:50 +0000 (15:16 -0400)]
crush/CrushWrapper: adjust_item_weight* whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:15:30 +0000 (15:15 -0400)]
crush/CrushWrapper: bucket_add_item whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:15:17 +0000 (15:15 -0400)]
crush/CrushWrapper: add_bucket: populate weight-sets
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 19:28:42 +0000 (15:28 -0400)]
crush/CrushWrapper: get_choose_args_positions helper
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 18:58:07 +0000 (14:58 -0400)]
crush/CrushWrapper: insert_item whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 13 Jul 2017 21:46:15 +0000 (17:46 -0400)]
mon: 'osd crush weight-set {ls,dump,create[-compat],rm[-compat],reweight[-compat]}' commands
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 12 Jul 2017 19:52:33 +0000 (15:52 -0400)]
crush/CrushWrapper: choose_arg_update_item_weight
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 13 Jul 2017 21:07:18 +0000 (17:07 -0400)]
common/cmdparse: allow vector<double>
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 13 Jul 2017 21:46:32 +0000 (17:46 -0400)]
crush/CrushWrapper: {create,rm}_choose_args(index)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 16:37:02 +0000 (12:37 -0400)]
test/mon/osd-crush: remove xml osd-crush-tree.rng test
I don't know how to generate or update this, and am not *that* interested
in learning more xml.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 17 Jul 2017 13:50:56 +0000 (09:50 -0400)]
test/cli/crushtool: fix osd tree output
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Jul 2017 18:48:29 +0000 (14:48 -0400)]
test/ceph_objectstore_tool.py: fix parsing of osd tree output
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 13 Jul 2017 21:45:43 +0000 (17:45 -0400)]
crush: dump weight-set values with 'osd crush tree'
For plain, include a column for each pool. Show only the first weight if
it is positional.
For formatted, include the full set of weights.
As far of this we switch 'ceph osd crush tree' to have a plaintext mode.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 12 Jul 2017 22:26:51 +0000 (18:26 -0400)]
crush/CrushTreeDumper: include parent in Item
This gives us info we need for the weight_sets...
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 17:12:02 +0000 (13:12 -0400)]
crush/CrushWrapper: make a compat/default choose_args
We can make a backward-compatible crush map for legacy clients only if we
have a single global choose_args for the whole map. Add a special
slot to store that of -1. (Normally the index is the pool id, so -1 is
unused by ceph.)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 13 Jul 2017 21:45:59 +0000 (17:45 -0400)]
crush/CrushWrapper: have_choose_args(index)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 13 Jul 2017 18:12:04 +0000 (14:12 -0400)]
crush/CrushWrapper: has_non_straw2_buckets()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 13 Jul 2017 21:34:06 +0000 (17:34 -0400)]
crush/CrushWrapper: whitespace cleanup in decode
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Jul 2017 17:09:34 +0000 (13:09 -0400)]
osd/OSDMap: fix CHOOSE_ARGS feature detection in get_features()
We need to include the mask in the CEPH_FEATURES_CRUSH value, and | in the
FEATUREMASK later, because this is a second-generation feature bit usage.
This fixes get_min_compat_client(), which was returning 'jewel' when
incompat choose_args were in use instead of 'luminous'. Now it is correct.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 13 Jul 2017 21:33:53 +0000 (17:33 -0400)]
crush/CrushWrapper: fix decoding of choose_args weight-set
Assert that ids_size matches the bucket while we are at it.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Jul 2017 17:36:23 +0000 (13:36 -0400)]
common/options: remove mon_warn_osd_usage_min_max_delta from options.cc too
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 20 Jul 2017 11:20:04 +0000 (19:20 +0800)]
test: create asok files in a temp directory under $TMPDIR
to shorten the pathname of unix domain socket created for admin socket,
so it does not exceed the limit of 107 on GNU/Linux:
* ceph-helper.sh: the temp directory is named ${TMPDIR:-/tmp}/ceph-asok.$$
* vstart.sh: the temp directory is named `mktemp -u -d "${TMPDIR:-/tmp}/ceph-asok.XXXXXX"`
Fixes: http://tracker.ceph.com/issues/16895
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 21 Jul 2017 16:41:02 +0000 (09:41 -0700)]
Merge pull request #16408 from yanghonggang/master
osd: fix pg ref leaks when osd shutdown
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 21 Jul 2017 16:01:39 +0000 (11:01 -0500)]
Merge pull request #16449 from smithfarm/wip-obsolete-xio
build/ops: rpm: Drop legacy libxio support
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>