Commit Graph

76809 Commits

Author SHA1 Message Date
Adam C. Emerson
49f3d58b49 common: Add in_place_t/in_place_type_t from C++17
To better signal in-place construction among other overloads.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-08-08 22:53:12 -04:00
Adam C. Emerson
fa99d3f126 {os,mds,common}: Disambiguate std::max and ceph::max
There will be a more thorough reckoning regarding namespaces later.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-08-08 22:39:20 -04:00
Adam C. Emerson
d08191e2da common: Add locking template functions and macros
These infer the type of the unique/shared/shunique lock from the type of
the mutex.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-08-08 22:39:20 -04:00
Sage Weil
8a09edd196 Merge pull request #16900 from liewegas/wip-20925-b
os/bluestore: Revert "os/bluestore: allow multiple DeferredBatches in flight at once"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-08 21:33:55 -05:00
Sage Weil
d8f60f1f82 Merge pull request #16902 from liewegas/wip-health-deprecation
mon: add mon_health_preluminous_compat_warning

Reviewed-by: John Spray <john.spray@redhat.com>
2017-08-08 21:29:01 -05:00
Sage Weil
ceca767122 Merge pull request #16916 from jcsp/wip-scrub-logging
mon, osd: turn down non-error scrub message severity

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-08 21:27:52 -05:00
Gregory Farnum
25f1edefbf Merge pull request #16755 from ivancich/wip-pull-new-dmclock
osd: bring in dmclock library changes

Reviewed-by:  J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-08 14:27:28 -07:00
Sage Weil
6127a4c294 Merge pull request #16546 from asomers/openstack_shebang2
qa: Fix shebangs on openstack scripts

Reviewed-by: Amik Kumar <amitkuma@redhat.com>
2017-08-08 15:55:38 -05:00
Jason Dillaman
988c300366 Merge pull request #15579 from ovh/bp-parallel-rbd-lsl
rbd: parallelize "rbd ls -l"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 16:54:22 -04:00
Abhishek L
d83e1dd79e Merge pull request #16861 from wido/docs-mgr-zabbix-enable
doc: Update mgr doc on how to enable Zabbix module

Reviewed-By: John Spray <jcsp@redhat.com>
2017-08-08 21:07:35 +02:00
John Spray
0443fdb022 osd: downgrade (ok) PG scrub messages to debug
Otherwise someone watching the log at INFO level gets
pelted with potentially millions of log messages
while the system is scrubbing.

Fixes: http://tracker.ceph.com/issues/20947
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-08 19:57:10 +01:00
John Spray
f394ca0bad mon: downgrade "scrub ok" message to debug.
This hides lines like:
[INF]  scrub ok on 0,1,2: ScrubResult(keys {pgmap_pg=13} crc {pgmap_pg=2458062599})

from the normal cluster log views.

Fixes: http://tracker.ceph.com/issues/20947
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-08 19:57:06 +01:00
Sage Weil
a47831fb19 Merge pull request #16908 from dillaman/wip-20701
doc: update rbd-mirroring documentation

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-08 12:48:17 -05:00
Sage Weil
dab64cb7c5 Merge pull request #16910 from liewegas/wip-iana
doc/dev/iana: document our official IANA numbers
2017-08-08 12:46:21 -05:00
Sage Weil
b4473f8f4e Merge pull request #16911 from liewegas/wip-lead
doc/dev/index: update rados lead

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-08-08 12:44:56 -05:00
Sage Weil
5e39bb5ed1 Merge pull request #16879 from smithfarm/wip-release-notes-11-2-1
doc: release-notes.rst: add Kraken v11.2.1 and update releases.rst

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-08-08 12:41:06 -05:00
Sage Weil
b5b61dde38 Merge pull request #16894 from liupan1111/wip-remove-friendly
bluestore: drop unused friend class in SharedDriverQueueData

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-08 12:40:15 -05:00
Abhishek L
8388d442eb Merge pull request #16907 from theanalyst/doc/rgw/s3-api-tagging
doc: rgw mention about tagging & bucket policies in s3api

Reviewed-By: Adam Emerson <aemerson@redhat.com>
Reviewed-By: Matt Benjamin <mbenjami@redhat.com>
2017-08-08 19:38:48 +02:00
Sage Weil
f19214687f doc/dev/index: update rados lead
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 13:37:42 -04:00
Sage Weil
dd84361c1e doc/dev/iana: document our official IANA numbers
PEN 50495
port 3300

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 13:36:39 -04:00
Jason Dillaman
3ecc35350a doc/release-notes: indicate that rbd-mirror should use unique IDs
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:46:56 -04:00
Abhishek L
5a00b3905d Merge pull request #16782 from wjwithagen/wip-wjw-FreeBSD-Release
PendingReleaseNotes:Announce FreeBSD availability

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Jason Dillaman <jdillaman@redhat.com>
2017-08-08 18:46:16 +02:00
Yuri Weinstein
1d7d287561 Merge pull request #16734 from theanalyst/rgw-lc-awsv4
rgw_lc: support for AWSv4 authentication

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-08 09:43:57 -07:00
Jason Dillaman
b7ba3f68c3 doc: updated rbd-mirror daemon instructions
Fixes: http://tracker.ceph.com/issues/20701
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:43:32 -04:00
Yuri Weinstein
93521be2f7 Merge pull request #16821 from theanalyst/rgw-lc-log-drop-oldlc
rgw_op: Drop the Old LifecycleConfiguration from logs

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-08-08 09:42:11 -07:00
Jason Dillaman
34ff1ddca1 doc: re-ordered rbd table of contents
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:40:50 -04:00
Yuri Weinstein
88c1d6b472 Merge pull request #16854 from yaozongyou/fix-rgw-not-responding
rgw: fix not responding when receiving SIGHUP signal.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2017-08-08 09:40:31 -07:00
Abhishek Lekshmanan
a4c5ceaa6a doc: rgw mention about tagging & bucket policies in s3api
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-08 18:39:46 +02:00
Patrick Donnelly
eabe662614
Merge PR #16378 into master
* refs/remotes/upstream/pull/16378/head:
	doc: remove accidental additions to release notes
	qa/cephfs: Fix race in test_volume_client
	qa/cephfs: Test filtered df
	PendingReleaseNotes: add note about df filtering
	client: Support new, filtered MStatfs
	objecter: Support new, filtered MStatfs
	mon/PGMap stats: Support new, filtered MStatfs
	messages: Add optional data pool to MStatfs

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-08 09:33:52 -07:00
Patrick Donnelly
41849fdcd1
doc: remove accidental additions to release notes
Presumably this was caused by a bad rebase.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-08 09:28:57 -07:00
Mykola Golub
43d8e23971 Merge pull request #16877 from dillaman/wip-20918
test/librbd: fix race condition with OSD map refresh

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-08-08 17:36:01 +03:00
Sage Weil
7c22b46e90 mon: add mon_health_preluminous_compat_warning
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 10:28:10 -04:00
Willem Jan Withagen
fcc2e134b9 PendingReleaseNotes:Announce FreeBSD availability
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-08-08 16:26:21 +02:00
Sage Weil
917858516a Revert "os/bluestore: allow multiple DeferredBatches in flight at once"
This reverts commit ca32d575eb.

If we have multiple batches in flight then we have to worry about writes
to the same blocks reordering.

Also, 3c6a6c46d5 is sufficient to avoid the
stall/deadlock in http://tracker.ceph.com/issues/20295.

# Conflicts:
#	src/os/bluestore/BlueStore.cc

Fixes: http://tracker.ceph.com/issues/20925
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 09:23:31 -04:00
Mykola Golub
50d7320f6d Merge pull request #16882 from dillaman/wip-20941
librbd: default localize parent reads to false

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-08-08 15:44:55 +03:00
Jason Dillaman
96cde17f29 Merge pull request #15339 from trociny/wip-rbd-ggate
rbd-ggate: tool to map images on FreeBSD via GEOM Gate

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-08-08 07:37:18 -04:00
Pan Liu
ddecd66298 bluestore/NVMEDevice: remove unused friendly class declaration.
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
2017-08-08 19:23:04 +08:00
Jos Collin
7b6a14c873 Merge pull request #16846 from amitkumar50/cov-messages-4
messages: Initialize member variables

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-08 11:19:33 +00:00
Jos Collin
dd7d656e55 Merge pull request #16793 from amitkumar50/cov-717286
messages: initialize variable tid in MMDSFindIno

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-08 11:15:54 +00:00
Jos Collin
79986f77b9 Merge pull request #16890 from Songweibin/wip-librados-Wreorder
libradosstriper: silence warning from -Wreorder

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-08 10:43:51 +00:00
Mykola Golub
698c0ff17d test: add wrapper to run rbd-ggate test on FreeBSD
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-08-08 11:00:30 +02:00
Mykola Golub
b4dbfcc879 rbd-ggate: tool to map images on FreeBSD via GEOM Gate
rbd-ggate spawns a process responsible for the creation of ggate
device and forwarding I/O requests between the GEOM Gate kernel
subsystem and RADOS.

On FreeBSD it provides functionality similar to rbd-nbd on Linux.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-08-08 11:00:30 +02:00
songweibin
38f909c9cd libradosstriper: silence warning from -Wreorder
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-08-08 16:35:22 +08:00
Sage Weil
bdaf63e295 Merge pull request #16881 from liewegas/wip-kraken-x
qa/suites/upgrade/kraken-x: fixes
2017-08-07 20:38:21 -05:00
Sage Weil
bf29142b08 qa/suites/upgrade/kraken-x/stress-split*: whitelist
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-07 21:36:58 -04:00
Sage Weil
2234a0ed11 qa/suites/upgrade/kraken-x/parallel: whitelist
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-07 21:36:58 -04:00
Matt Benjamin
94883e0459 Merge pull request #16823 from adamemerson/wip-use-after-free
rgw: Fix use after free in IAM policy parser
2017-08-07 19:42:30 -04:00
Jason Dillaman
6e71c3a324 Merge pull request #16866 from amitkumar50/cov-librbd
librbd: initialization of state member variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-07 19:37:25 -04:00
Jason Dillaman
52e8f3bee3 Merge pull request #16867 from amitkumar50/cov-librbd-1
librbd: Initializing member variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-07 19:35:41 -04:00
Adam C. Emerson
5353d95268 rgw: Fix the last policy use-after-free
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-08-07 17:48:37 -04:00