Commit Graph

81916 Commits

Author SHA1 Message Date
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
Mykola Golub
3905b6e13c rbd-ggate: output error on map failure
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-25 15:35:48 +00:00
Mykola Golub
02e211c282 rbd-nbd: allow to unmap by image or snap spec
(to match the behaviour of krbd unmap)

Signed-off-by: Mykola Golub <mgolub@suse.com>
2017-12-25 17:19:49 +02:00
Mykola Golub
47e38ca1b9 qa/workunits/rbd: bench-write is part of exclusive option test
Signed-off-by: Mykola Golub <mgolub@suse.com>
2017-12-25 17:19:49 +02:00
Yao Zongyou
53ab5fccf9 rgw: log the right http status code in civetweb frontend's access log
Fixes: http://tracker.ceph.com/issues/22538

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-12-25 20:35:43 +08:00
Mykola Golub
412a3c4cb6 rbd-ggate: honor rbd_default_pool config setting
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-25 11:05:12 +00:00
Bingyin Zhang
0477f4bcb2 rgw: remove redundant signature compare in LocalEngine::authenticate
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-25 17:12:10 +08:00
Yao Zongyou
045a9fde9e test: fix unittest memory leak to make valgrind silence
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-12-25 11:32:54 +08:00
Jos Collin
841d249006 rgw: drop commented functions
Dropped commented functions.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-12-25 08:56:51 +05:30
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
Bingyin Zhang
cd4aae74a8 rgw: remove get_system_obj_attrs in function RGWDeleteLC::execute and
RGWDeleteCORS::execute

* After function init_permissions, the xattr of bucket instance object
* is already in "s->bucket_attrs", so get_system_obj_attrs is redundant
* here.

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-25 07:07:31 +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
songweibin
dd826a4daf rbd: add missing right parenthesis and fix typo
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-24 09:21:09 +08:00
songweibin
b00047ac25 doc: add missing several commands in rbd CLI man page
fix: http://tracker.ceph.com/issues/14539

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-24 09:21:08 +08:00
Xinying Song
74745ef43e include/encoding: fix compat version error message
The compatv parameter can not behave as expected.
Using std::to_string instead of a macro pound sign.
Signed-off-by: Xinying Song <songxinying@cloudin.cn>
2017-12-23 14:44:31 +08:00
Yao Zongyou
d7c3b5940f common/dns_resolve: fix memory leak
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-12-23 12:48:47 +08: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
Chang Liu
0741dbd746 rgw/dashboard: supports url_prefix in rgw page
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-12-22 17:56:19 +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
Yao Zongyou
8113fa522d erasure-code: use jerasure_free_schedule to properly free a schedule
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-12-22 16:44:31 +08:00
songweibin
a926481cec doc: make rbd commads arranged in alphabetical order
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-22 16:05:04 +08:00
songweibin
5ae3122b03 doc: RBD quick start guide will fail due to default image features
fix: http://tracker.ceph.com/issues/16999

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-22 15:21:47 +08:00
Chang Liu
ffdc050bdc rgw/dashboard: move some logic from JS to Python side, some cleanups
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-12-22 15:20:23 +08:00
Chang Liu
c7e2ab548d mgr/dashboard: simplify URL routing, /rgw/detail/<id> -> /rgw/<id>
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-12-22 15:19:59 +08: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
Shinobu Kinjo
ba9d07f003 common: cleanup address_helper
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-12-21 22:42:28 -05:00
Sage Weil
1a549a01ca
Merge pull request #19588 from batrick/i22475
qa: check pool full flags

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-21 15:16:54 -06:00
Sage Weil
c461d595a3
Merge pull request #19602 from batrick/i22483
mds: check metadata pool not cluster is full

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-21 15:16:40 -06:00
Adam C. Emerson
d997f65775 rgw: Plumb refresh logic into object cache
Now when we force a refetch of bucket info it will actually go to the
OSD rather than simply using the objects in the object cache.

Fixes: http://tracker.ceph.com/issues/22517
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-21 15:47:24 -05:00
Adam C. Emerson
82a7e6ca31 rgw: Add expiration in the object cache
We had it in the chained caches, but it doesn't do much good if
they just fetch objects out of the object cache.

Fixes: http://tracker.ceph.com/issues/22517
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-21 15:47:24 -05:00
Adam C. Emerson
306c023352 opt: Rename rgw_bucket_info_cache_expiry_interval
Rename it to rgw_cache_expiry_interval, to be specific. It already
controls the user cache, and will expire objects in the cache onto
which those two are chained.

Fixes: http://tracker.ceph.com/issues/22517
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-21 15:47:24 -05:00
Adam C. Emerson
b48753b62e rgw: Use unordered_map for cache_map
This should get us better look up speeds.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-21 15:47:24 -05:00
Adam C. Emerson
afa51dea69 rgw: Cache data structure cleanup
Do not use std::list for the LRU.

And really don't cons up a std::list just to pass a variable number of
arguments to a function. (Use initializer_list instead.)

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-21 15:47:24 -05:00
Adam C. Emerson
d622aa0e0a rgw: Have ChainedCacheImpl::find return an optional
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-21 15:44:43 -05: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