]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomgr: add override in mgr subsystem 13436/head
liuchang0812 [Wed, 15 Feb 2017 13:39:38 +0000 (21:39 +0800)]
mgr: add override in mgr subsystem

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #13378 from liewegas/wip-luminous
Yuri Weinstein [Sun, 12 Feb 2017 16:13:26 +0000 (08:13 -0800)]
Merge pull request #13378 from liewegas/wip-luminous

qa/rados/upgrade/jewel-x-singleton: run luminous.yaml at the end

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
8 years agoMerge pull request #13365 from xiexingguo/wip-backoff-refleak
Sage Weil [Sun, 12 Feb 2017 14:50:38 +0000 (08:50 -0600)]
Merge pull request #13365 from xiexingguo/wip-backoff-refleak

osdc/Objecter: fix possible OSDSession leak on wrong connection

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13363 from jdurgin/wip-req-luminous-error
Sage Weil [Sun, 12 Feb 2017 14:49:57 +0000 (08:49 -0600)]
Merge pull request #13363 from jdurgin/wip-req-luminous-error

osd: clarify REQUIRE_LUMINOUS error message

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/rados/upgrade/jewel-x-singleton: run luminous.yaml at the end 13378/head
Sage Weil [Fri, 10 Feb 2017 20:08:54 +0000 (15:08 -0500)]
qa/rados/upgrade/jewel-x-singleton: run luminous.yaml at the end

renumber too

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13369 from idryomov/wip-doc-kernel-vers
Ilya Dryomov [Sat, 11 Feb 2017 15:01:02 +0000 (16:01 +0100)]
Merge pull request #13369 from idryomov/wip-doc-kernel-vers

doc: kernel client os-recommendations update

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13229 from trociny/wip-18335
Jason Dillaman [Sat, 11 Feb 2017 14:29:23 +0000 (09:29 -0500)]
Merge pull request #13229 from trociny/wip-18335

rbd-nbd: check /sys/block/nbdX/size to ensure kernel mapped correctly

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13292 from tchaikov/wip-script-sepia-bt-support-xenial
Kefu Chai [Sat, 11 Feb 2017 04:22:34 +0000 (12:22 +0800)]
Merge pull request #13292 from tchaikov/wip-script-sepia-bt-support-xenial

script/sepia_bt.sh: support xenial

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoosdc/Objecter: fix possible OSDSession leak on wrong connection 13365/head
xie xingguo [Sat, 11 Feb 2017 02:57:58 +0000 (10:57 +0800)]
osdc/Objecter: fix possible OSDSession leak on wrong connection

This is introduced by the newly added backoff logic.
Not sure if it will really happen, but just in case.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12342 from liewegas/wip-backoff 13366/head
Sage Weil [Sat, 11 Feb 2017 01:47:49 +0000 (19:47 -0600)]
Merge pull request #12342 from liewegas/wip-backoff

osd,osdc: pg and osd-based backoff

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agodoc/dev/rados-client-protocol: describe some of rados protocol, including backoffs 12342/head
Sage Weil [Thu, 2 Feb 2017 19:42:36 +0000 (14:42 -0500)]
doc/dev/rados-client-protocol: describe some of rados protocol, including backoffs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/thrash: vary backoff settings
Sage Weil [Thu, 2 Feb 2017 03:38:30 +0000 (22:38 -0500)]
qa/suites/rados/thrash: vary backoff settings

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: backoffs on individual objects
Sage Weil [Wed, 1 Feb 2017 22:37:39 +0000 (17:37 -0500)]
osd/PrimaryLogPG: backoffs on individual objects

Do these midway down do_op.  Reorder the scrub waitlist after the
degraded and unreadable waitlists.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosdc/Objecter: respect backoffs
Sage Weil [Wed, 1 Feb 2017 22:35:36 +0000 (17:35 -0500)]
osdc/Objecter: respect backoffs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: PG-wide backoffs
Sage Weil [Wed, 1 Feb 2017 22:30:32 +0000 (17:30 -0500)]
osd/PrimaryLogPG: PG-wide backoffs

Issue at top of do_request.  Release on activation or peering
interval change.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: dispatch OSDBackoff messages into PG workqueue
Sage Weil [Fri, 10 Feb 2017 23:55:55 +0000 (18:55 -0500)]
osd: dispatch OSDBackoff messages into PG workqueue

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: split backoffs on PG split
Sage Weil [Wed, 1 Feb 2017 22:27:32 +0000 (17:27 -0500)]
osd: split backoffs on PG split

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: add pg helpers for managing backoffs
Sage Weil [Wed, 1 Feb 2017 22:27:20 +0000 (17:27 -0500)]
osd: add pg helpers for managing backoffs

Link Backoff into Session, PG.  Tear them down on session
reset.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoinclude/ceph_features: RADOS_BACKOFF feature bit
Sage Weil [Fri, 4 Nov 2016 22:11:40 +0000 (18:11 -0400)]
include/ceph_features: RADOS_BACKOFF feature bit

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosdc/Objecter: fix typo
Sage Weil [Tue, 1 Nov 2016 19:02:17 +0000 (15:02 -0400)]
osdc/Objecter: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocommon/hobject: use hash field for hash<>
Sage Weil [Tue, 1 Nov 2016 18:05:51 +0000 (14:05 -0400)]
common/hobject: use hash field for hash<>

No reason to waste CPU recalculating a hash value!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: add MOSDBackoff message type
Sage Weil [Mon, 17 Oct 2016 21:10:38 +0000 (17:10 -0400)]
osd: add MOSDBackoff message type

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: move Session class out of OSD
Sage Weil [Tue, 18 Oct 2016 22:43:09 +0000 (17:43 -0500)]
osd: move Session class out of OSD

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosdc/Objecter: attach OSDSession to Connection
Sage Weil [Thu, 22 Dec 2016 03:45:50 +0000 (22:45 -0500)]
osdc/Objecter: attach OSDSession to Connection

This lets us avoid an rbtree lookup.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: clarify REQUIRE_LUMINOUS error message 13363/head
Josh Durgin [Fri, 10 Feb 2017 22:27:14 +0000 (14:27 -0800)]
osd: clarify REQUIRE_LUMINOUS error message

This should be visible at the default log level, so users have some
hope of figuring out the problem.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agodoc: ref cephfs docs from os-recommendations 13369/head
John Spray [Wed, 19 Oct 2016 17:12:49 +0000 (18:12 +0100)]
doc: ref cephfs docs from os-recommendations

...instead of having potentially conflicting kernel
version information.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agodoc: update krbd kernel recommendations
Ilya Dryomov [Fri, 10 Feb 2017 20:20:16 +0000 (21:20 +0100)]
doc: update krbd kernel recommendations

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #13249 from liewegas/wip-mon-smooth
Kefu Chai [Fri, 10 Feb 2017 20:02:48 +0000 (04:02 +0800)]
Merge pull request #13249 from liewegas/wip-mon-smooth

mon: smooth io/recovery stats over longer period

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13264 from tchaikov/wip-print-failed-test-name
Kefu Chai [Fri, 10 Feb 2017 19:57:45 +0000 (03:57 +0800)]
Merge pull request #13264 from tchaikov/wip-print-failed-test-name

qa/workunits/rados/test.sh: print test name when it fails

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13362 from adamemerson/wip-oh-yeah
Kefu Chai [Fri, 10 Feb 2017 19:56:31 +0000 (03:56 +0800)]
Merge pull request #13362 from adamemerson/wip-oh-yeah

test: Fix mismatched sign comparison in histogram test

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13344 from gregsfortytwo/wip-osd-discussion-docs
Samuel Just [Fri, 10 Feb 2017 19:20:02 +0000 (11:20 -0800)]
Merge pull request #13344 from gregsfortytwo/wip-osd-discussion-docs

Wip osd discussion docs

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #13342 from athanatos/wip-17831-18583-18809
Samuel Just [Fri, 10 Feb 2017 19:18:02 +0000 (11:18 -0800)]
Merge pull request #13342 from athanatos/wip-17831-18583-18809

osd/: don't leak context for Blessed*Context or RecoveryQueueAsync

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agotest: Fix mismatched sign comparison in histogram test 13362/head
Adam C. Emerson [Fri, 10 Feb 2017 18:50:58 +0000 (13:50 -0500)]
test: Fix mismatched sign comparison in histogram test

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agoMerge pull request #13137 from jcsp/wip-18661
John Spray [Fri, 10 Feb 2017 17:48:05 +0000 (17:48 +0000)]
Merge pull request #13137 from jcsp/wip-18661

qa: fix race in Mount.open_background

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #13099 from jcsp/wip-18663
John Spray [Fri, 10 Feb 2017 17:42:37 +0000 (17:42 +0000)]
Merge pull request #13099 from jcsp/wip-18663

qa/tasks: force umount during kclient teardown

8 years agoMerge pull request #13281 from theanalyst/release/v12.0.0
Sage Weil [Fri, 10 Feb 2017 16:57:27 +0000 (10:57 -0600)]
Merge pull request #13281 from theanalyst/release/v12.0.0

doc: v12.0.0 release notes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13302 from YankunLi/lyk_clean_code
Sage Weil [Fri, 10 Feb 2017 16:53:14 +0000 (10:53 -0600)]
Merge pull request #13302 from YankunLi/lyk_clean_code

rgw: clean redundant code

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13304 from majianpeng/async-tracing
Sage Weil [Fri, 10 Feb 2017 16:52:45 +0000 (10:52 -0600)]
Merge pull request #13304 from majianpeng/async-tracing

msg/async: cleanup code.

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13329 from Adirl/fix_febe
Sage Weil [Fri, 10 Feb 2017 16:48:58 +0000 (10:48 -0600)]
Merge pull request #13329 from Adirl/fix_febe

msg: Fix calls to Messenger::create with new parameter

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13351 from tchaikov/wip-init-ceph-newline
Sage Weil [Fri, 10 Feb 2017 16:40:36 +0000 (10:40 -0600)]
Merge pull request #13351 from tchaikov/wip-init-ceph-newline

init-ceph: print trailing n in "status" output

Reviewed-by: Nathan Cutler <nculter@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13356 from rubenk/rgw-docs-fix-typo
Sage Weil [Fri, 10 Feb 2017 16:38:09 +0000 (10:38 -0600)]
Merge pull request #13356 from rubenk/rgw-docs-fix-typo

doc: Fix typo and grammar in RGW config reference

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/rados/test.sh: print test name when it fails 13264/head
Kefu Chai [Sun, 5 Feb 2017 15:11:13 +0000 (23:11 +0800)]
qa/workunits/rados/test.sh: print test name when it fails

we have

2017-02-04T16:15:46.090 INFO:tasks.workunit.client.0.mira032.stdout:error in 22088
2017-02-04T16:15:46.092 INFO:tasks.workunit.client.0.mira032.stderr:bash: line 1: 22092 Alarm clock             ceph_test_rados_api_aio 2>&1
2017-02-04T16:15:46.096 INFO:tasks.workunit.client.0.mira032.stderr:     22093 Done                    | tee ceph_test_rados_api_aio.log
2017-02-04T16:15:46.099 INFO:tasks.workunit.client.0.mira032.stderr:     22094 Done                    | sed "s/^/                  api_aio: /"
2017-02-04T16:15:46.102 INFO:tasks.workunit.client.0.mira032.stderr:+

if a unittest in rados/test.sh fails in teuthology.log, but it would
be desirable to have the failed test name in the line of "error in
22088".

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13258 from trociny/wip-18819
Jason Dillaman [Fri, 10 Feb 2017 15:17:23 +0000 (10:17 -0500)]
Merge pull request #13258 from trociny/wip-18819

common: possible lockdep false alarm for ThreadPool lock

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13287 from guihecheng/rbd-fix
Jason Dillaman [Fri, 10 Feb 2017 14:21:47 +0000 (09:21 -0500)]
Merge pull request #13287 from guihecheng/rbd-fix

librbd: fix segfault on EOPNOTSUPP returned while fetching snapshot timestamp

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agodoc: Fix typo and grammar in RGW config reference 13356/head
Ruben Kerkhof [Fri, 10 Feb 2017 11:04:17 +0000 (12:04 +0100)]
doc: Fix typo and grammar in RGW config reference

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
8 years agoMerge pull request #13322 from ceph/wip-include-workqueue
Jason Dillaman [Fri, 10 Feb 2017 13:58:38 +0000 (08:58 -0500)]
Merge pull request #13322 from ceph/wip-include-workqueue

librbd: Include WorkQueue.h since we use it

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoinit-ceph: print trailing n in "status" output 13351/head
Kefu Chai [Fri, 10 Feb 2017 09:34:53 +0000 (17:34 +0800)]
init-ceph: print trailing n in "status" output

the version command is handled by HelpHook, which does not print newline
at the end of the returned JSON. so the output of "status" subcommand
looks like:

=== osd.1 ===
osd.1: running {"version":"Development"}=== osd.2 ===
osd.2: not running.

with this change, a newline is added to the end of version.

also use the "daemon" subcommand to talk to the asok, let the "ceph" cli
to figure out the asok path.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13338 from kshtsk/add-bc-to-deps
Nathan Cutler [Fri, 10 Feb 2017 09:28:10 +0000 (10:28 +0100)]
Merge pull request #13338 from kshtsk/add-bc-to-deps

ceph.spec.in, debian/control: Add bc to build dependencies

Reviewed-by: Dan Mick <dan.mick@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13334 from tchaikov/wip-osd-scrub-repair-more-patient
Kefu Chai [Fri, 10 Feb 2017 02:36:10 +0000 (10:36 +0800)]
Merge pull request #13334 from tchaikov/wip-osd-scrub-repair-more-patient

tests: osd-scrub-repair.sh disable scrub backoff in test

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoceph.spec.in, debian/control: Add bc to build dependencies 13338/head
Kyr Shatskyy [Wed, 8 Feb 2017 15:02:52 +0000 (16:02 +0100)]
ceph.spec.in, debian/control: Add bc to build dependencies

The bc is missing for ceph-helpers.sh

Fixes: http://tracker.ceph.com/issues/18876
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
8 years agoOSD: update OSD backfill discussion comments 13344/head
Greg Farnum [Thu, 26 Jan 2017 01:15:56 +0000 (17:15 -0800)]
OSD: update OSD backfill discussion comments

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #13309 from dachary/wip-mailmap
Loic Dachary [Thu, 9 Feb 2017 23:13:26 +0000 (00:13 +0100)]
Merge pull request #13309 from dachary/wip-mailmap

mailmap updates

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agotests: osd-scrub-repair.sh disable scrub backoff in test 13334/head
Kefu Chai [Thu, 9 Feb 2017 16:54:54 +0000 (00:54 +0800)]
tests: osd-scrub-repair.sh disable scrub backoff in test

there is good chance that the newly scheduled scrub fail to pass the
flip-coin check: the probability of scheduling a new scrub 1/3 every
time we flip the coin. so, instead hardwiring the probability to 1/3,
a new option named "osd_scrub_backoff_ratio" is introduced. so we can
override it when performing test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13325 from liewegas/wip-fsck
Sage Weil [Thu, 9 Feb 2017 14:39:03 +0000 (08:39 -0600)]
Merge pull request #13325 from liewegas/wip-fsck

ceph_test_objectstore: tolerate fsck EOPNOTSUPP too

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13208 from ceph/wip-dalgaaf-sca-20170131
Sage Weil [Thu, 9 Feb 2017 14:30:44 +0000 (08:30 -0600)]
Merge pull request #13208 from ceph/wip-dalgaaf-sca-20170131

misc: SCA and Coverity Fixes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomsg: Fix calls to Messenger::create with new parameter 13329/head
Sarit Zubakov [Wed, 8 Feb 2017 10:42:46 +0000 (10:42 +0000)]
msg: Fix calls to Messenger::create with new parameter

Update all calls to Messenger::create()
take 'ms_public_type' or 'ms_cluster_type' instead of 'ms_type'

issue: 971661

Change-Id: Ib234daf393d1838ef596dde35a6d83c1aeecaf10
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
8 years agoMerge pull request #13306 from tchaikov/wip-18464
Kefu Chai [Thu, 9 Feb 2017 09:31:05 +0000 (17:31 +0800)]
Merge pull request #13306 from tchaikov/wip-18464

rocksdb: sync with upstream

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13313 from smithfarm/wip-18856
Nathan Cutler [Thu, 9 Feb 2017 09:14:20 +0000 (10:14 +0100)]
Merge pull request #13313 from smithfarm/wip-18856

tests: update SUSE yaml facets in qa/distros/all

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agolibrbd: Include WorkQueue.h since we use it 13322/head
Boris Ranto [Wed, 8 Feb 2017 22:47:57 +0000 (23:47 +0100)]
librbd: Include WorkQueue.h since we use it

We use m_work_queue of type ContextWQ in handle_update function but we
do not include common/WorkQueue.h that defines ContextWQ. This results
in dereference of an incomplete type and causes build error in latest
Fedora rawhide (future 26).

Fixes: http://tracker.ceph.com/issues/18862
Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoscript/sepia_bt.sh: support xenial 13292/head
Kefu Chai [Tue, 7 Feb 2017 03:28:24 +0000 (11:28 +0800)]
script/sepia_bt.sh: support xenial

* support xenial
* support "rados" cli debugging
* do not include the ending "'" in the prog name sending to gdb

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoRadosStriperImpl.cc: fix double free 13208/head
Danny Al-Gaaf [Tue, 31 Jan 2017 21:23:28 +0000 (22:23 +0100)]
RadosStriperImpl.cc: fix double free

Some variables have been already free'd by calling
release(), no need to call delete() again on them.

CID 1396200 (#1 of 1): Double free (USE_AFTER_FREE)
 double_free: Calling operator delete frees pointer
 getxattr_completion which has already been freed.
CID 1396206 (#1 of 1): Double free (USE_AFTER_FREE)
 double_free: Calling operator delete frees pointer
 getxattr_completion which has already been freed.
CID 1396214 (#1 of 1): Double free (USE_AFTER_FREE)
 double_free: Calling operator delete frees pointer
 stat_completion which has already been freed.
CID 1396218 (#1 of 1): Double free (USE_AFTER_FREE)
 double_free: Calling operator delete frees pointer
 stat_completion which has already been freed.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agoosdc/ObjectCacher.cc: fix wrong self assignment
Danny Al-Gaaf [Tue, 31 Jan 2017 21:05:10 +0000 (22:05 +0100)]
osdc/ObjectCacher.cc: fix wrong self assignment

Fix for:

CID 1395468 (#1 of 1): Self assignment (NO_EFFECT)
self_assign: Assigning bh->last_write to itself has no effect.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agocommon/Checksummer.h: close resource leak
Danny Al-Gaaf [Tue, 31 Jan 2017 19:41:32 +0000 (20:41 +0100)]
common/Checksummer.h: close resource leak

CID 1395784 (#2-1 of 2): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable state going out of scope
 leaks the storage it points to.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_main.cc: close leak in error case
Danny Al-Gaaf [Tue, 31 Jan 2017 18:13:48 +0000 (19:13 +0100)]
rgw/rgw_main.cc: close leak in error case

ID 1398895 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable config going out of scope leaks
 the storage it points to.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_rados.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 17:01:32 +0000 (18:01 +0100)]
rgw/rgw_rados.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_main.cc: reorder framework detection
Danny Al-Gaaf [Tue, 31 Jan 2017 16:58:44 +0000 (17:58 +0100)]
rgw/rgw_main.cc: reorder framework detection

Fix for:

CID 1398896: Resource leak (RESOURCE_LEAK)
 overwrite_var: Overwriting fe in fe = new
 RGWLoadGenFrontend(env, config) leaks the storage that fe
 points to.

Do not check again and again for framework if there is
already a match, make use of if/else. This should also
fix the RESOURCE_LEAK warning.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_compression.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:25:40 +0000 (17:25 +0100)]
rgw/rgw_compression.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_common.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:19:10 +0000 (17:19 +0100)]
rgw/rgw_common.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_torrent.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:18:41 +0000 (17:18 +0100)]
rgw/rgw_torrent.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agoRDMAConnectedSocketImpl.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:18:21 +0000 (17:18 +0100)]
RDMAConnectedSocketImpl.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agomon/OSDMonitor.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 16:17:51 +0000 (17:17 +0100)]
mon/OSDMonitor.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agomds/Mantle.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 13:40:10 +0000 (14:40 +0100)]
mds/Mantle.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_lc.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 13:39:08 +0000 (14:39 +0100)]
rgw/rgw_lc.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agorgw/rgw_token.h: remove redundant and slow call to c_str()
Danny Al-Gaaf [Tue, 31 Jan 2017 13:36:58 +0000 (14:36 +0100)]
rgw/rgw_token.h: remove redundant and slow call to c_str()

Do not call c_str() if the parameter is already of type string.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agokv/MemDB.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 13:36:00 +0000 (14:36 +0100)]
kv/MemDB.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agocls/rgw/cls_rgw.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Tue, 31 Jan 2017 13:35:12 +0000 (14:35 +0100)]
cls/rgw/cls_rgw.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
8 years agoMerge pull request #12539 from liewegas/wip-mon-pg-creates
Sage Weil [Thu, 9 Feb 2017 02:52:18 +0000 (20:52 -0600)]
Merge pull request #12539 from liewegas/wip-mon-pg-creates

mon: fix force_pg_create pg stuck in creating bug

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12923 from liewegas/wip-df-avail
Sage Weil [Thu, 9 Feb 2017 02:51:46 +0000 (20:51 -0600)]
Merge pull request #12923 from liewegas/wip-df-avail

mon/PGMap: factor mon_osd_full_ratio into MAX AVAIL calc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoceph_test_objectstore: tolerate fsck EOPNOTSUPP too 13325/head
Sage Weil [Thu, 9 Feb 2017 02:48:11 +0000 (21:48 -0500)]
ceph_test_objectstore: tolerate fsck EOPNOTSUPP too

44c3ec81e9a638150b7d4aa5afb38e73ed92078f is problematic for filestore etc.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13278 from liewegas/wip-luminous
Josh Durgin [Thu, 9 Feb 2017 00:18:36 +0000 (16:18 -0800)]
Merge pull request #13278 from liewegas/wip-luminous

mon,osd: luminous feature bits, require flags, upgrade gates

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12829 from ovh/wip-perf-counters-histogram
Yuri Weinstein [Thu, 9 Feb 2017 00:18:08 +0000 (16:18 -0800)]
Merge pull request #12829 from ovh/wip-perf-counters-histogram

common, osd, tools: Add histograms to performance counters

Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: whu_liuchang <nfcj000@qq.com>
Reviewed-by: Alexey Sheplyakov <asheplyakov@mirantis.com>
8 years agoMerge pull request #13296 from liewegas/wip-kill-sortbitwise
Yuri Weinstein [Thu, 9 Feb 2017 00:12:10 +0000 (16:12 -0800)]
Merge pull request #13296 from liewegas/wip-kill-sortbitwise

osd: remove sortbitwise thrashing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13097 from ceph/wip-osd-after-mon
Nathan Cutler [Wed, 8 Feb 2017 23:31:23 +0000 (00:31 +0100)]
Merge pull request #13097 from ceph/wip-osd-after-mon

systemd: Start OSDs after MONs

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13319 from smithfarm/wip-buildpackages-py
Nathan Cutler [Wed, 8 Feb 2017 23:28:35 +0000 (00:28 +0100)]
Merge pull request #13319 from smithfarm/wip-buildpackages-py

tests: drop buildpackages.py

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agorocksdb: sync with upstream 13306/head
Kefu Chai [Wed, 8 Feb 2017 08:50:30 +0000 (16:50 +0800)]
rocksdb: sync with upstream

and update the CMakeLists.txt accordingly, as upstream changed the
target name to build the static library.

5647d5e reverted the previous change by accident.

Fixes: http://tracker.ceph.com/issues/18464
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agotests: drop buildpackages.py 13319/head
Nathan Cutler [Wed, 8 Feb 2017 20:23:54 +0000 (21:23 +0100)]
tests: drop buildpackages.py

The buildpackages suite has been moved to teuthology. This cleans up a file
that was left behind by https://github.com/ceph/ceph/pull/13297

Fixes: http://tracker.ceph.com/issues/18846
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoqa/suites/rados/upgrade/jewel-x-singleton: upgrade mons first; box thrasher 13278/head
Sage Weil [Wed, 8 Feb 2017 20:05:15 +0000 (15:05 -0500)]
qa/suites/rados/upgrade/jewel-x-singleton: upgrade mons first; box thrasher

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc: v12.0.0 release notes 13281/head
Abhishek Lekshmanan [Mon, 6 Feb 2017 19:21:15 +0000 (20:21 +0100)]
doc: v12.0.0 release notes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge remote-tracking branch 'gh/luminous'
Sage Weil [Wed, 8 Feb 2017 19:02:43 +0000 (14:02 -0500)]
Merge remote-tracking branch 'gh/luminous'

8 years agoMerge pull request #13218 from guits/ceph_detect_init
Loic Dachary [Wed, 8 Feb 2017 14:29:11 +0000 (15:29 +0100)]
Merge pull request #13218 from guits/ceph_detect_init

ceph-detect-init: Add docker detection

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agotests: update SUSE yaml facets in qa/distros/all 13313/head
Nathan Cutler [Wed, 8 Feb 2017 14:27:00 +0000 (15:27 +0100)]
tests: update SUSE yaml facets in qa/distros/all

Fixes: http://tracker.ceph.com/issues/18856
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agomsg/async: cleanup code. 13304/head
Jianpeng Ma [Wed, 8 Feb 2017 14:21:25 +0000 (22:21 +0800)]
msg/async: cleanup code.

Only WITH_EVENTTRACE, it declare local paramter utime_t ltt_recv_stamp.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years ago12.0.0 v12.0.0
Jenkins Build Slave User [Wed, 8 Feb 2017 13:57:33 +0000 (13:57 +0000)]
12.0.0

8 years agomailmap: Yankun Li affiliation 13309/head
Loic Dachary [Wed, 8 Feb 2017 11:09:39 +0000 (12:09 +0100)]
mailmap: Yankun Li affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Ronak Jain affiliation
Loic Dachary [Wed, 8 Feb 2017 11:09:23 +0000 (12:09 +0100)]
mailmap: Ronak Jain affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Rishabh Kumar affiliation
Loic Dachary [Wed, 8 Feb 2017 11:09:10 +0000 (12:09 +0100)]
mailmap: Rishabh Kumar affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Pascal Bach affiliation
Loic Dachary [Wed, 8 Feb 2017 11:08:54 +0000 (12:08 +0100)]
mailmap: Pascal Bach affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: optimistyzy affiliation
Loic Dachary [Wed, 8 Feb 2017 11:08:37 +0000 (12:08 +0100)]
mailmap: optimistyzy affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: John Lin affiliation
Loic Dachary [Wed, 8 Feb 2017 11:08:18 +0000 (12:08 +0100)]
mailmap: John Lin affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomailmap: Jamin W. Collins affiliation
Loic Dachary [Wed, 8 Feb 2017 11:08:02 +0000 (12:08 +0100)]
mailmap: Jamin W. Collins affiliation

Signed-off-by: Loic Dachary <ldachary@redhat.com>