Commit Graph

79770 Commits

Author SHA1 Message Date
Jianpeng Ma
3350b35045 msg/async: only system can accept more data, continue send.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-10-26 00:34:45 +08:00
Jianpeng Ma
2371b149e0 msg/async: remove redundant condition.
From the code, if out_q[r].is_empty, it already remove.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-10-26 00:16:45 +08:00
Jianpeng Ma
8960e42ae0 msg/async: batch handle out_seq.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-10-26 00:03:36 +08:00
Brad Hubbard
7e6e87e85c Merge pull request #18505 from badone/wip-unittest-crypto-getentropy-limit
unittest_crypto: Don't exceed limit for getentropy

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-10-25 10:27:38 +10:00
Josh Durgin
df7a694896 Merge pull request #18181 from tchaikov/wip-vstart-quoted-print
vstart.sh: quote command only when necessary

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-24 16:43:38 -07:00
Patrick Donnelly
c58161f25b
Merge PR #17266 into master
* refs/pull/17266/head:
	qa: update test_ceph_argparse to test fs cmds
	qa: use fs rm_data_pool
	qa: fix mdsmap lookup
	qa: remove usage of mds dump
	PendingReleaseNotes: add obsoleted mds commands
	qa: remove use of obsolete mds commands
	ceph_volume_client: remove use of obsolete mds cmd
	doc: update on obsolete mds commands
	cephfs: obsolete deprecated mds commands

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2017-10-24 16:37:14 -07:00
Josh Durgin
184ca91dbc Merge pull request #17909 from tchaikov/wip-coverity
test/objectstore/test_bluefs: cleanups

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-24 16:34:02 -07:00
Patrick Donnelly
b14a8a4aa1
qa: update test_ceph_argparse to test fs cmds
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 15:41:10 -07:00
Sage Weil
f3ad3401a9 Merge pull request #18475 from yuyuyu101/wip-fix-alignment
os/ObjectStore: fix get_data_alignment return -1 causing problem in msg header

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-10-24 15:39:11 -05:00
Yuri Weinstein
64bd835813 Merge pull request #18297 from dzafman/wip-21803
osd/PG: fix objects degraded higher than 100%

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-10-24 13:31:40 -07:00
Yuri Weinstein
e13a8ce8f1 Merge pull request #18479 from wzliao/wip-correct-scrub-cost
osd/OSD.cc: use option 'osd_scrub_cost' instead

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-24 13:30:01 -07:00
Patrick Donnelly
6809dbed6b
Merge PR #18109 into master
* refs/pull/18109/head:
	mds: clean up non-existent data pools in MDSMap
	mds: reduce variable scope

Reviewed-by: John Spray <john.spray@redhat.com>
2017-10-24 12:17:25 -07:00
Patrick Donnelly
db5df3c605
Merge PR #18366 into master
* refs/pull/18366/head:
	mon: s/mds_blacklist_interval/mon_mds_blacklist_interval/
	mon: tidy up mds_blacklist_interval

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 12:17:19 -07:00
Patrick Donnelly
710cf45e48
Merge PR #18384 into master
* refs/pull/18384/head:
	mds: disable early reply for dir layout and quota related requests
	mds: make mksnap/setlayout wait for unsafe requests on other mds
	mds: don't rdlock locks in replica object while auth mds is recovering
	mds: move ScatterLock::state_flags into SimpleLock

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 12:17:14 -07:00
Patrick Donnelly
3e9d8155e9
Merge PR #18393 into master
* refs/pull/18393/head:
	ceph_context: re-expand admin_socket metavariables in child process

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 12:17:08 -07:00
Mykola Golub
b0c0e956ce Merge pull request #18490 from dillaman/wip-21894
rbd-mirror: strip environment/CLI overrides for remote cluster

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-24 22:14:13 +03:00
Patrick Donnelly
b897ef9445
qa: use fs rm_data_pool
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 11:51:02 -07:00
Patrick Donnelly
0e4027efdc
qa: fix mdsmap lookup
We were returning the file system structure and not the mdsmap.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 11:36:06 -07:00
Patrick Donnelly
3a5f090a1e
qa: remove usage of mds dump
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 11:32:43 -07:00
Andrew Schoen
0d1163bd60 Merge pull request #18514 from ceph/wip-fix-cv-create-path
ceph-volume lvm.prepare update to use create_osd_path

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-10-24 12:40:01 -05:00
Alfredo Deza
bafb721446 ceph-volume lvm.prepare update to use create_osd_path
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-24 13:29:18 -04:00
Kefu Chai
e7539a9a3e Merge pull request #18500 from scienceluo/wip-luo-fix-doc-log-level-branch
doc: complete and update the subsystem logging level info table

Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-10-24 23:03:09 +08:00
Kefu Chai
aee80dca92 Merge pull request #18467 from yuyuyu101/wip-21883
msg/async/AsyncConnection: state will be NONE if replacing by another one

Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-10-24 21:19:43 +08:00
Kefu Chai
7de3b20fba Merge pull request #18469 from yuyuyu101/wip-remove-legacy
msg/async/AsyncConnection: remove legacy feature case handle

Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-10-24 21:18:15 +08:00
Kefu Chai
7f0b878ade Merge pull request #18415 from majianpeng/msg-cleanup
msg/async: batch handle msg_iovlen

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-10-24 21:17:25 +08:00
Kefu Chai
c6b8792677 Merge pull request #18397 from tchaikov/wip-mon-opts
common/options: set max_background_jobs instead of max_background_compactions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-24 21:16:30 +08:00
Kefu Chai
d0b7a1f2f5 Merge pull request #18382 from ceph/wip-vstart-mgr-dashboard
cmake: add cython_rbd as a dependency to vstart target

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-24 21:15:10 +08:00
Alfredo Deza
72dba6c716 Merge pull request #18480 from tchaikov/wip-doc-cleanup
doc: various cleanups

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-10-24 07:03:29 -04:00
Mykola Golub
f2f893aeb1 Merge pull request #18405 from dillaman/wip-21849
librbd: default to sparse-reads for any IO operation over 64K

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-24 11:02:49 +03:00
Kefu Chai
e479bd0ac1 rpm,debian: use download.ceph.com/tarballs instead of ceph.com/download
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-24 16:00:09 +08:00
Kefu Chai
127d25ccbd doc: fix warning reported by "build-doc linkcheck"
all the HTTP 301 (moved permanently) should be killed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-24 15:58:48 +08:00
Kefu Chai
fdc0183871 mon/OSDMonitor: more options in new-style
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-24 15:14:09 +08:00
Kefu Chai
ca1d9566d0 common/options: set max_background_jobs instead of max_background_compactions
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-24 15:14:09 +08:00
Haomai Wang
9f5b36879c Merge pull request #18409 from liu-chunmei/fix_dpdk_assert
Fix two dpdk assert happened in dpdk library.

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-10-24 01:06:53 -05:00
Luo Kexue
351874587e doc: complete and update the subsystem logging level info table
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-10-24 14:04:59 +08:00
Brad Hubbard
2e3af697a8 unittest_crypto: Don't exceed limit for getentropy
CryptoRandom::get_bytes calls getentropy directly if available and it
enforces a limit of 256 bytes.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-10-24 14:34:26 +10:00
Kefu Chai
bc139f02d2 Merge pull request #18460 from liewegas/wip-straw2-command
mon/OSDMonitor: add 'osd crush set-all-straw-buckets-to-straw2'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-24 12:27:15 +08:00
Sage Weil
fed1938bbb Merge pull request #18428 from liewegas/wip-21878
os/bluestore/BlueFS: fix race with log flush during async log compaction

Reviewed-by: Varada Kari <varada.kari@gmail.com>
2017-10-23 22:30:05 -05:00
Sage Weil
a91064af10 Merge pull request #18470 from yuyuyu101/wip-tracker-lock
osd/OpRequest: reduce overhead when disabling tracking

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-23 22:29:41 -05:00
Sage Weil
557088e07d Merge pull request #18472 from yuyuyu101/wip-kill-asynccompressor
compressor: kill AsyncCompressor which is broken

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-23 22:29:19 -05:00
David Zafman
2b792c5077 osd: Handle objects on non-actingbackfill nodes during recovery
With this fix we can see more misplaced and no degraded when
doing recovery to a new up/acting set with node(s) containing
objects that are not longer part of up/acting.

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-10-23 20:20:44 -07:00
David Zafman
3818e8ed2c osd: Adjust misplaced calculation
When there are more backfill ndoes then misplaced nodes the
object calculation would cause misplace to drop too quickly.
Assuming that all backfill nodes are at approximate the same
place, we compute backfill per node and only adjust by
the number of misplaced nodes.

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

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-10-23 17:09:24 -07:00
Patrick Donnelly
a9baa8b33a
Merge PR #18255 into master
* refs/pull/18255/head:
	os/bluestore: handle compressed extents in blob unsharing checks

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-23 17:07:37 -07:00
Matt Benjamin
6bef8e3bcc Merge pull request #17722 from amitkumar50/cov-rgw-6
rgw: Initialization of epoch,len
2017-10-23 17:00:37 -04:00
Yuri Weinstein
33191d23ad Merge pull request #17305 from theanalyst/rgw-lc-tagging
RGW: support for tagging in lifecycle policies

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
2017-10-23 13:48:40 -07:00
Yuri Weinstein
c3d84fa3bb Merge pull request #18291 from ZVampirEM77/wip-copy-errormsg
rgw: copy object add response error messages

Reviewed-by: Amit Kumar amitkuma@redhat.com
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-23 13:46:01 -07:00
Sage Weil
fc0b547ba5 Merge pull request #18194 from ivancich/wip-mclock-repops-bitmap
osd: replace mclock subop opclass w/ rep_op opclass; combine duplicated code

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-23 14:33:57 -05:00
Sage Weil
3c3a53b538 Merge pull request #18487 from liewegas/wip-20557
/etc/sysconfig/ceph: remove jemalloc option

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-10-23 14:09:53 -05:00
Jason Dillaman
70dc22e03a rbd-mirror: strip environment/CLI overrides for remote cluster
Fixes: http://tracker.ceph.com/issues/21894
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-10-23 15:02:26 -04:00
Andrew Schoen
6e49b7dce6 Merge pull request #18448 from ceph/wip-bz1499840
ceph-volume lvm bluestore support

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-10-23 13:55:55 -05:00