Commit Graph

81646 Commits

Author SHA1 Message Date
Mingxin Liu
dc279bdd86 osd: use next_map to determine if peer is down
or peer was once down after this msg had been sent out

Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2018-01-05 18:56:56 +08:00
Kefu Chai
6d61076122
Merge pull request #19690 from Songweibin/wip-doc-librbdpy
doc/rbd: correct the path of librbd python APIs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-27 10:52:18 +08:00
songweibin
a6b371bea3 doc: correct the path of librbd python APIs
* update the API Documentation page for librbdpy with the
  correct path.
* fix a typo.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-27 09:08:12 +08:00
Yan, Zheng
63240c0872
Merge pull request #19255 from JianyuLi/joa-mdbalancer
MDS: make rebalancer evaluate the overload state of each mds with the same criterion
2017-12-26 16:46:17 +08:00
Jos Collin
fed91755b5
Merge pull request #19591 from qrGitHub/wip-rgw-unused-variable3
rgw: drop marker in RGWLC::process()

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-12-26 04:18:49 +00:00
Jos Collin
677955161b
Merge pull request #19675 from qrGitHub/wip-rgw-typo-complete
rgw: fix typo compete to complete

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-26 03:33:43 +00:00
Bingyin Zhang
68d9cde5b7 rgw: fix typo compete to completes
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-26 06:35:44 +08:00
Jos Collin
2113ebe02d
Merge pull request #19583 from qrGitHub/wip-rgw-unused-variable
rgw: drop iter in rgw_op.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-25 03:12:12 +00:00
Xie Xingguo
c40faab23b
Merge pull request #19667 from trociny/wip-affiliation
mailmap: update affiliation for Mykola Golub

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-12-25 08:32:57 +08:00
Bingyin Zhang
6f729bfb7d rgw: remove unused variable iter in file rgw_op.cc
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-25 07:20:45 +08:00
Mykola Golub
9c254f963a
Merge pull request #19618 from dillaman/wip-18435
librbd: filter out potential race with image rename

Reviewed-by: Mykola Golub <mgolub@suse.com>
2017-12-24 20:13:30 +02:00
Mykola Golub
97f60f5207 mailmap: update affiliation for Mykola Golub
Signed-off-by: Mykola Golub <mgolub@suse.com>
2017-12-24 16:49:38 +02:00
Mykola Golub
8249ffd7a9
Merge pull request #19536 from dillaman/wip-rbd-mirror-trash
rbd-mirror: support deferred deletions of mirrored images

Reviewed-by: Mykola Golub <mgolub@suse.com>
2017-12-24 16:16:42 +02:00
Xie Xingguo
c23574b170
Merge pull request #19623 from chnmagnus/wip-a-tiny-error
msg: drop duplicate include

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-23 09:44:41 +08:00
Matt Benjamin
ccae16d6d4
Merge pull request #19601 from adamemerson/wip-CORS-of-course
rgw: retry CORS put/delete operations on ECANCELLED
2017-12-22 04:40:30 -05:00
Patrick Donnelly
3189ba19a7
Merge PR #19369 into master
* refs/pull/19369/head:
	qa: update handling of fs status format
	PendingReleaseNotes: add note for format change
	mds/MDSMap : use arrary_section for mds stat

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2017-12-21 20:21:18 -08:00
Patrick Donnelly
fbbb7a7777
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 20:20:57 -08:00
Patrick Donnelly
b7620de020
Merge PR #19378 into master
* refs/pull/19378/head:
	mds,rgw: Initializing standby_reply, sync_tracer

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-21 20:20:07 -08:00
Patrick Donnelly
edbe063cc8
Merge PR #19556 into master
* refs/pull/19556/head:
	mds: reduce debugging level for balancer messages

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-12-21 20:20:02 -08:00
Patrick Donnelly
928afd59c2
Merge PR #19574 into master
* refs/pull/19574/head:
	mds: track dirty dentries in separate list

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 20:19:57 -08:00
Patrick Donnelly
8305632828
Merge PR #19587 into master
* refs/pull/19587/head:
	mds: add "client." before cap->get_client()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 20:19:53 -08:00
Patrick Donnelly
dc93975892
Merge PR #19609 into master
* refs/pull/19609/head:
	mds: respect mds_client_writeable_range_max_inc_objs config

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 20:19:48 -08:00
Patrick Donnelly
a2d74d48e9
Merge PR #19633 into master
* refs/pull/19633/head:
	ceph_volume_client: fix usage of get_mds_map()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 20:19:44 -08:00
Matt Benjamin
f9eea16a62
Merge pull request #19580 from cbodley/wip-22473
rgw: dont log EBUSY errors in 'sync error list'
2017-12-21 14:51:59 -05:00
Matt Benjamin
8f5a5e3794
Merge pull request #19455 from mkogan1/wip-rgw-swift_container_create_mem_inc
rgw: fix chained cache invalidation to prevent cache size growth
2017-12-21 14:29:57 -05:00
Patrick Donnelly
1f1a2a27ef
qa: update handling of fs status format
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 10:35:09 -08:00
Ramana Raja
181e3ea6ee ceph_volume_client: fix usage of get_mds_map()
get_mds_map() is an instance method, and not a global
function. Use it as such.

Fixes: http://tracker.ceph.com/issues/22524
Signed-off-by: Ramana Raja <rraja@redhat.com>
2017-12-21 18:21:23 +05:30
Yan, Zheng
4955966382 mds: track dirty dentries in separate list
this should improve performance of large directory

Fixes: http://tracker.ceph.com/issues/19578
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-12-21 17:44:12 +08:00
/bin/bash
7b83966ed5 msg: the #include "include/assert.h" statement is repeated in src/msg/Dispatcher.h
Signed-off-by: chnmagnus chnmagnus@qq.com
2017-12-21 17:36:00 +08:00
Patrick Donnelly
25d9473ebc
PendingReleaseNotes: add note for format change
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-20 20:32:10 -08:00
Adam C. Emerson
bff7e61ca5 rgw: retry CORS put/delete operations on ECANCELLED
Fixes: http://tracker.ceph.com/issues/22517
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-20 17:41:03 -05:00
Jason Dillaman
001d2fc35c librbd: filter out potential race with image rename
Fixes: http://tracker.ceph.com/issues/18435
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-12-20 16:55:06 -05:00
Sage Weil
f33ab7e03a Merge remote-tracking branch 'gh/mimic-dev1' 2017-12-20 15:08:30 -06:00
Sage Weil
cd31bf91d8
Merge pull request #19600 from liewegas/wip-mimic-trusty-backports
qa: mimic-dev1 backports to avoid trusty nodes
2017-12-20 14:58:32 -06:00
Sage Weil
6446303916
Merge pull request #19544 from tchaikov/mimic-qa-pass-options-the-right-way
qa/stanalone: pass options using --<option-name>=<value>

Revewed-by: Alfredo Deza <adeza@redhat.com>
2017-12-20 14:57:38 -06:00
Sage Weil
1fe34afd35
Merge pull request #19617 from liewegas/wip-rbd-socket-failures
qa/suites/rbd: fewer socket failures
2017-12-20 14:47:26 -06:00
Sage Weil
a3a911f9dd qa/suites/rbd: fewer socket failures
500 makes the mgr fail.  Fewer failures, and whitelist them if they
happen.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-12-20 14:17:46 -06:00
Casey Bodley
106fd5f939
Merge pull request #19508 from cfanz/wip-mulizone-correct-comment
rgw: correct log output for metadata section name in RGWListBucketIndexesCR

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-20 10:37:34 -05:00
Mykola Golub
9a1f52e89b
Merge pull request #19604 from dillaman/wip-22485
qa/workunits/rbd: simplify split-brain test to avoid potential race

Reviewed-by: Mykola Golub <mgolub@suse.com>
2017-12-20 15:45:36 +02:00
root
98f955ed66 mds: add "client." before cap->get_client()
unify the log and make it easy to search
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2017-12-20 21:12:17 +08:00
Jianyu Li
e5ca899260 simplify mds overload judgement logic
Signed-off-by: Jianyu Li <joannyli@tencent.com>
2017-12-20 15:03:48 +08:00
Jianyu Li
9a276c2733 Make MDS evaluates the overload situation with the same criterion
Currently, the prep_rebalancer requires the mds_load of itself
being greater than average level mds_bal_min_rebalance percent
to be counted as exporter, however, for the other mds, as long
as their mdsload is greater than average level, they could be
consider as exporter. This inconsistent standard would cause
gray area in the rebalance activity: one may expect the other
do some work, but it didn't. With the increasing amount of mds,
this inconsistent decision would get worse and affects the
optimization effect of rebalancer.

Signed-off-by: Jianyu Li <joannyli@tencent.com>
2017-12-20 15:02:25 +08:00
Jos Collin
286336a9c5
Merge pull request #19608 from luomuyao/dev
rgw: fix a typo in comment

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-20 05:01:16 +00:00
Yan, Zheng
ee11b6cd9c mds: respect mds_client_writeable_range_max_inc_objs config
get_layout_size_increment() return layout.get_period(). A period
contain layout.stripe_count objects.

The config is for limiting number of objects need to probe when
recovering a file.

Fixes: http://tracker.ceph.com/issues/22492
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-12-20 10:07:46 +08:00
luomuyao
5334f46930 cleanup: rgw: fix a typo in comment
Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
2017-12-20 09:43:08 +08:00
Patrick Donnelly
6443022710
Merge PR #19424 into master
* refs/pull/19424/head:
	osdc/Journaler: introduce STATE_STOPPING state
	osdc/Journaler: add 'stopping' check to various finish callbacks

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-19 17:08:09 -08:00
Casey Bodley
de57814fbf
Merge pull request #18898 from Leeshine/wip-rgw-bug-22080
rgw: create sync-module instance when execute radosgw-admin data sync run

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-12-19 17:26:18 -05:00
Jason Dillaman
8c2ee6dd0f qa/workunits/rbd: simplify split-brain test to avoid potential race
Fixes: http://tracker.ceph.com/issues/22485
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-12-19 16:30:25 -05:00
Sage Weil
06b7707cee
Merge pull request #19456 from liewegas/wip-22373
qa/standalone/ceph-helpers: pass --verbose to ceph-disk
2017-12-19 11:55:07 -06:00
Casey Bodley
77dd073719
Merge pull request #19584 from qrGitHub/wip-rgw-unused-variable2
rgw: drop variable bl in rgw_op.cc

Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-19 12:35:52 -05:00