Danny Al-Gaaf
33de6f7014
rgw/rgw_compression.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
ecf83f9eef
rgw/rgw_common.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
a8f4d635b4
rgw/rgw_torrent.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
21a797f823
RDMAConnectedSocketImpl.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
704c9e4758
mon/OSDMonitor.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
e9652c0e7b
mds/Mantle.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
d4b640c04b
rgw/rgw_lc.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
249832b72c
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>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
49be2bf396
kv/MemDB.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Danny Al-Gaaf
1e88a13293
cls/rgw/cls_rgw.cc: prefer ++operator for non-primitive iterators
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2017-02-08 21:54:25 -05:00
Josh Durgin
d0792bc00f
Merge pull request #13278 from liewegas/wip-luminous
...
mon,osd: luminous feature bits, require flags, upgrade gates
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-08 16:18:36 -08:00
Yuri Weinstein
6ff5c5f076
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>
2017-02-08 16:18:08 -08:00
Yuri Weinstein
f15639b679
Merge pull request #13296 from liewegas/wip-kill-sortbitwise
...
osd: remove sortbitwise thrashing
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-08 16:12:10 -08:00
Nathan Cutler
fb7dabffa3
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>
2017-02-09 00:31:23 +01:00
Nathan Cutler
d23fd45407
Merge pull request #13319 from smithfarm/wip-buildpackages-py
...
tests: drop buildpackages.py
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-02-09 00:28:35 +01:00
Nathan Cutler
6b7443fb50
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>
2017-02-08 21:23:54 +01:00
Sage Weil
c1f26b330b
qa/suites/rados/upgrade/jewel-x-singleton: upgrade mons first; box thrasher
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-08 15:05:15 -05:00
Sage Weil
b0f85b96aa
Merge remote-tracking branch 'gh/luminous'
2017-02-08 14:02:43 -05:00
Loic Dachary
72d6cd3170
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>
2017-02-08 15:29:11 +01:00
Jenkins Build Slave User
b7d9d6eb54
12.0.0
2017-02-08 13:57:33 +00:00
Guillaume Abrioux
f7230984f6
ceph-detect-init: Add docker detection
...
if running `ceph-detect-init` from a container, the given output is the
reference from the hosting system. This patch add the capability of
detecting if the tool is being run inside a container.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2017-02-08 11:31:17 +01:00
Kefu Chai
d25b3550da
Merge pull request #12586 from ktdreyer/wip-18313-rgw-upstart
...
upstart: start radosgw-all according to runlevel
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-02-08 13:15:43 +08:00
Kefu Chai
df540ba1cb
Merge pull request #12086 from wjwithagen/wip-wjw-freebsd-ceph-disk
...
ceph-disk: FreeBSD changes to get it working and passing tests
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-08 11:37:22 +08:00
Kefu Chai
6be8ec5c88
Merge pull request #13015 from chuanhong-wang/dev_change_osd_df_tree_output
...
mon: in output of "ceph osd df tree", display "-", not "0", for pg amount of a bucket
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-08 11:34:07 +08:00
Kefu Chai
8736c2d7d7
Merge pull request #13159 from bassam/pr-fix-embedded-zstd
...
compressor/zstd: add zstd to embedded ceph
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-08 11:33:53 +08:00
Kefu Chai
ec55b398a9
Merge pull request #13236 from adamemerson/wip-alarum
...
cleanup: resolve compiler warnings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-08 11:33:33 +08:00
Kefu Chai
38f3d7433e
Merge pull request #13265 from tchaikov/wip-librados-hide-private-symbols
...
librados: do not expose non-public symbols
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-08 11:32:40 +08:00
Kefu Chai
40713870e4
Merge pull request #13268 from tchaikov/wip-better-error-ping-mon
...
ceph: do not throw TypeError on connection failure
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-08 11:32:25 +08:00
Kefu Chai
75434ff70b
Merge pull request #13286 from Liuchang0812/remove-useless-close
...
msg/async: remove useless close function
Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-02-08 11:31:50 +08:00
Kefu Chai
1f9ca87080
Merge pull request #13288 from dmick/master
...
ceph.in: add help for locally-handled commands
Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-02-08 11:31:02 +08:00
Sage Weil
eafbe4486e
Merge pull request #9976 from songbaisen/a13
...
mon: PGMonitor add check only concern our self cluster command
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-07 17:14:14 -06:00
Sage Weil
402b3580ed
Merge pull request #10150 from songbaisen/b
...
mon: avoid start election twice when quorum enter
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-07 17:13:47 -06:00
Sage Weil
af3d311a82
Merge pull request #10309 from songbaisen/b8
...
mon: OSDMonitor add check only concern our self cluster command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-07 17:13:13 -06:00
Yuri Weinstein
9f937aaf9b
Merge pull request #12273 from songbaisen/s4
...
mon: add warn info for osds were removed from osdmap but still kept in crushmap
Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-07 13:05:27 -08:00
Yuri Weinstein
1a8e3534b3
Merge pull request #13121 from LiumxNL/wip-170125
...
osd: we know the definite epoch of marking down
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-07 13:00:21 -08:00
Loic Dachary
3134606163
Merge pull request #13297 from dachary/wip-buildpackages
...
buildpackages: remove because it does not belong
Reviewed-by: Nathan Cutler <ncutler@suse.cz>
2017-02-07 21:40:58 +01:00
Sage Weil
d62a4948a9
Merge pull request #13162 from liewegas/wip-bluestore-reshard
...
os/bluestore: partial reshard support
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-02-07 13:01:48 -06:00
Sage Weil
8226159e7c
mon: prevent sortbitwise flag from being unset
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 14:00:32 -05:00
Loic Dachary
5a43f8d579
buildpackages: remove because it does not belong
...
It should live in teuthology, not in Ceph. And it is currently broken:
there is no need to keep it around.
Fixes: http://tracker.ceph.com/issues/18846
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-02-07 18:37:26 +01:00
Sage Weil
8015544617
osd/PG: drop sortbitwise feature check assert
...
This feature bit will get deprecated shortly anyway.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 12:17:07 -05:00
Sage Weil
5ca13ff7c0
osd/PG: drop osd_debug_randomize_hobj_sort_order
...
This is required post-jewel; no need to thrash it.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 12:15:41 -05:00
Sage Weil
c5a3bc07b9
qa/suites/rados: stop thrashing sortbitwise
...
This is required to upgrade past jewel; no need to keep testing it
on master.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 12:14:13 -05:00
Sage Weil
2620cb33c3
osd/OSDMap: fix kraken feature requirement
...
Use the FEATUREMASK since this is a reused bit.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 10:37:43 -05:00
Sage Weil
d4e37cc3e5
mon/OSDMonitor: use HAVE_FEATURE for kraken, jewel feature tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 10:36:32 -05:00
Sage Weil
3592121156
mon: apply monmap features to quorum requirements
...
Previously this was indirect..
monmap requirements -> compatset -> quorum requirements
However, how that we are consistently using the monmap features, we no
longer need to use the compatset features when the monmap already
communicates the same thing. Rename the helper to reflect that
quorum requirements come from both the compatset and the monmap.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 10:36:32 -05:00
Sage Weil
d1115ffbf9
mon: fix kraken requirement to use FEATUREMASK, HAVE_FEATURE macro
...
The KRAKEN_SERVER bit was reused.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 10:36:32 -05:00
Sage Weil
e8c50f78e0
osd: require luminous mons before starting
...
Require that mons are upgraded to luminous first. This will ensure that
the last_force_op_resend flag is set for pre-luminous clients so that
luminous OSDs can safely discard them. (This will come in a future patch.)
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 10:36:31 -05:00
Sage Weil
b5e3e56e04
osd: drop redundant check for hammer OSDs
...
The OSDMAP_REQUIRE_JEWEL flag requirement implies that there are no
pre-0.94.4 (early hammer) OSDs running.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 10:36:31 -05:00
Sage Weil
b053bca71f
mon/mon_types: add sticky FEATURE_LUMINOUS feature bit
...
Once mons upgrade to luminous, you can't go back.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 10:36:31 -05:00
Sage Weil
c7a9c041cb
mon/OSDMonitor: all upgrades pass through luminous
...
Prevent post-luminous OSDs from starting before require_luminous_osds is
set.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-07 10:36:31 -05:00