Commit Graph

86565 Commits

Author SHA1 Message Date
Kefu Chai
538e32e784
Merge pull request #20731 from yuyuyu101/wip-opti-ac
msg/async: avoid put message within write_lock

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-14 14:35:02 +08:00
Mykola Golub
9a60b0ff60
Merge pull request #21946 from dillaman/wip-24092
rbd: disable cache for actions that open multiple images

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-13 17:21:08 +03:00
Kefu Chai
ade3bce7f2
Merge pull request #21804 from dillaman/wip-24000
osdc: self-managed snapshot helper should catch decode exception

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-05-12 19:20:24 +08:00
Kefu Chai
0fb51c985a
Merge pull request #21929 from majianpeng/fio-ceph-objectstore
test/fio: add option single_pool_mode in ceph-bluestore.fio

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-05-12 19:18:50 +08:00
Kefu Chai
445a4d8656
Merge pull request #21905 from jcsp/wip-24022
osd: write "bench" output to stdout

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-12 19:15:57 +08:00
Kefu Chai
b30139427e
Merge pull request #21950 from liewegas/wip-23899
osd: clean up smart probe

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-12 19:10:56 +08:00
Kefu Chai
8e8636669d
Merge pull request #21940 from dmick/wip-remove-cephd
cmake: Remove embedded 'cephd' code

Reviewed-by: Bassam Tabbara <Bassam.Tabbara@Quantum.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-12 19:08:14 +08:00
Patrick Donnelly
b87103157e
Merge PR #21615 into master
* refs/pull/21615/head:
	ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert fail

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-11 14:57:54 -07:00
Patrick Donnelly
7c240958a3
Merge PR #21769 into master
* refs/pull/21769/head:
	mds: properly reconnect client caps after loading inodes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-11 14:57:48 -07:00
Patrick Donnelly
1b73c0154c
Merge PR #21883 into master
* refs/pull/21883/head:
	mds: tighten conditions of calling rejoin_gather_finish()
	mds: avoid calling rejoin_gather_finish() two times successively

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-11 14:57:42 -07:00
Patrick Donnelly
52707c33fe
Merge PR #21923 into master
* refs/pull/21923/head:
	mds: set could_consume to false when no purge queue item actually executed

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-05-11 14:57:36 -07:00
Sage Weil
eea18b45da osd: clean up smart probe code a bit
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-11 15:21:46 -05:00
Dan Mick
39b2626c7a Remove embedded 'cephd' code
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-05-11 13:10:26 -07:00
Sage Weil
affb0f87b5
Merge pull request #21942 from tchaikov/wip-qa-ceph-disk-no-mon-config
qa/workunits/ceph-disk: --no-mon-config

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-11 13:01:38 -05:00
Kefu Chai
67f64ebc4b
Merge pull request #21945 from tchaikov/wip-dashboard-errno
mgr/dashboard: set errno via the parent class

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-05-12 01:46:50 +08:00
David Galloway
48d4832f44
Merge pull request #21947 from yuriw/wip-yuriw-crontab
qa/tests: added client-upgrade-luminous suit
2018-05-11 13:31:37 -04:00
Yuri Weinstein
450dcecdd9 qa/tests: added client-upgrade-luminous suit
Fixes https://tracker.ceph.com/issues/24021
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-11 10:27:40 -07:00
Jason Dillaman
171a81e58e rbd: disable cache for actions that open multiple images
Fixes: http://tracker.ceph.com/issues/24092
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-11 13:11:36 -04:00
Kefu Chai
65925511bc mgr/dashboard: set errno via the parent class
update the test accordingly. see also rados.Error.__str__()

Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-12 00:55:11 +08:00
Jason Dillaman
0cf2082856
Merge pull request #21524 from dillaman/wip-23517
test/librados_test_stub: deterministically load cls shared libraries

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-11 11:23:02 -04:00
Kefu Chai
c67d35f282
Merge pull request #21415 from ErwanAliasr1/evelu-cephdisk
ceph-disk: get_partition_dev() should fail until get_dev_path(partnam…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-11 22:32:22 +08:00
Kefu Chai
ee33dc8e53 qa/workunits/ceph-disk: --no-mon-config
port a095ec8b to the qa/workunits

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-11 21:07:56 +08:00
Gu Zhongyan
00c5a30fa9 osd: fix osd smart data collection segment fault issue.
output.read_fd() could return zero length. it needs to
be handled gracefully.

always call invoke join() if spawn() is successfully returned.
otherwise there will be assert failure in ~SubProcess().

Fixes: http://tracker.ceph.com/issues/23899

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-05-11 16:05:07 +08:00
Jason Dillaman
ce7afd435e Merge pull request #21292 from zy751713126/snapshot_count
rbd: add snapshot count in rbd info

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-10 14:55:53 -04:00
zhengyin
a7fa1cbb7e rbd/info: add snapshot count in rbd info
Signed-off-by: Zheng Yin <zhengyin@huayun.com>
2018-05-10 14:55:07 -04:00
Jianpeng Ma
e9d523ae69 test/fio: add option single_pool_mode in ceph-bluestore.fio
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-05-11 02:30:37 +08:00
Sage Weil
76d512e217 ceph_release: nautilus
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-10 12:19:22 -05:00
Sage Weil
6ae51aed13 Merge remote-tracking branch 'gh/mimic' 2018-05-10 12:18:29 -05:00
Sage Weil
bf578682b0 ceph_release: we are an rc now
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-10 12:16:44 -05:00
Jason Dillaman
4988f24e32
Merge pull request #21930 from dillaman/wip-rbd-backports-mimic
rbd: backport of mimic bug fixes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-10 11:27:43 -04:00
Casey Bodley
c22614e07c
Merge pull request #21893 from cbodley/wip-rgw-req-state-time
rgw: use coarse_real_clock for req_state::time

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-05-10 10:51:47 -04:00
Kefu Chai
23cebfbd3a
Merge pull request #21931 from yuriw/wip-yuriw-fix-mimic-subset
tests/qa - fix mimic subset for nightlies

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-10 22:45:26 +08:00
Yuri Weinstein
7c7336ab87 tests/qa - fix mimic subset for nightlies
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-10 07:39:51 -07:00
Casey Bodley
7da0fe2832
Merge pull request #21680 from cbodley/wip-rm-replica-log
rgw: remove all traces of cls replica_log

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-05-10 10:26:55 -04:00
Jason Dillaman
1e5d96a481 Revert "stop.sh: use --no-mon-config when trying to unmap rbd devices"
This reverts commit 6c722cd5f3.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3c6b015747)
2018-05-10 07:44:46 -04:00
Jason Dillaman
a74c93f19c rbd: don't load config overrides from monitor initially
The overrides will be loaded when we connect to the cluster via librados
and the current approach prevents running 'rbd help' without a running
cluster.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 46eafdabde)
2018-05-10 07:44:44 -04:00
Jason Dillaman
a6aeb7ab43 rbd-mirror: ensure remote demotion is replayed locally
The bootstrap process cannot immediately quit if it notices the remote
image is not primary. Instead, it needs to continue if the local image is
still chained to the remote.

Fixes: http://tracker.ceph.com/issues/24009
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d35bc94319)
2018-05-10 07:44:38 -04:00
Jason Dillaman
a189ab9c5b rbd-mirror: fix potential race between image sync and shut down
Fixes: http://tracker.ceph.com/issues/24008
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4f2dbcefc5)
2018-05-10 07:44:33 -04:00
Jason Dillaman
43bbf99f9f rbd-mirror: ensure instance replayer is stoped before destructing
Fixes: http://tracker.ceph.com/issues/24008
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 9ba94f3030)
2018-05-10 07:44:29 -04:00
Kefu Chai
ee0321e6b7
Merge pull request #21831 from tchaikov/wip-23966
osdc: invoke notify finish context on linger commit failure

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-10 18:55:42 +08:00
Kefu Chai
bc157794c1
Merge pull request #21898 from adamemerson/wip-fedora28
src: Eliminate new warnings in Fedora 28

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-10 18:54:38 +08:00
Kefu Chai
b075af43fc
Merge pull request #21861 from adamemerson/wip-clangtasm
osd,mon,pybind: Make able to compile with Clang

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-10 18:52:12 +08:00
Mykola Golub
e9bc4687fc
Merge pull request #21912 from dillaman/wip-24064
rbd: disk-usage can now optionally compute exact on-disk usage

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-10 13:46:33 +03:00
Mykola Golub
f6ba8726aa
Merge pull request #21910 from dillaman/wip-rbd-help
rbd: don't load config overrides from monitor initially

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-10 13:45:35 +03:00
Mykola Golub
c027b47fa6
Merge pull request #21823 from dillaman/wip-24009
rbd-mirror: ensure remote demotion is replayed locally

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-10 13:44:55 +03:00
Mykola Golub
03c2a724d1
Merge pull request #21817 from dillaman/wip-24008
rbd-mirror: fixed potential crashes during shut down

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-10 13:44:24 +03:00
Kefu Chai
d9aac6a55f
Merge pull request #21853 from rishabh-d-dave/volclient-keyargs-for-all-exceptions
rados.pyx: make all exceptions accept keyword arguments

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-10 17:30:22 +08:00
Kefu Chai
dd06b36efb
Merge pull request #21886 from jcsp/wip-no-install-hello
cmake: do not install `hello` demo module

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-10 17:25:33 +08:00
Kefu Chai
3d772f2e4e
Merge pull request #21782 from wido/mgr-telegraf
mgr/telegraf: Telegraf module for Ceph Mgr

Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-10 17:24:46 +08:00
Xuehan Xu
46b4e6afa6 mds: set could_consume to false when no purge queue item actually executed
Fixes: http://tracker.ceph.com/issues/24073
Signed-off-by: Xuehan Xu <xuxuehan@360.cn>
2018-05-10 15:14:06 +08:00