]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agodoc: Add usage doc for individual bucket quota Admin API 18324/head
Jeegn Chen [Thu, 4 Jan 2018 07:59:00 +0000 (07:59 +0000)]
doc: Add usage doc for individual bucket quota Admin API

Add usage doc for a new Admin API for individual bucket quota management

Fixes: http://tracker.ceph.com/issues/21811
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
7 years agorgw: Add URL format support for bucket quota modification
Jeegn Chen [Thu, 14 Dec 2017 08:08:49 +0000 (08:08 +0000)]
rgw: Add URL format support for bucket quota modification

Allow admin to change the quota of a individual bucket through Admin API
with params in URL

Fixes: http://tracker.ceph.com/issues/21811
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
7 years agorgw: Admin API Support for bucket quota change
Jeegn Chen [Mon, 16 Oct 2017 09:46:39 +0000 (17:46 +0800)]
rgw: Admin API Support for bucket quota change

Allow admin to change the quota of a individual bucket through Admin API

Fixes: http://tracker.ceph.com/issues/21811
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
7 years agoMerge pull request #19768 from cbodley/wip-rgw-cache-dedeque
Matt Benjamin [Wed, 3 Jan 2018 22:19:16 +0000 (17:19 -0500)]
Merge pull request #19768 from cbodley/wip-rgw-cache-dedeque

rgw: change ObjectCache::lru from deque back to list

7 years agorgw: add invalidate_lru() call back to ObjectCache::put() 19768/head
Casey Bodley [Wed, 3 Jan 2018 21:29:32 +0000 (16:29 -0500)]
rgw: add invalidate_lru() call back to ObjectCache::put()

the removal of this line was causing s3test failures independently of
the change from list-deque

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agorgw: change ObjectCache::lru from deque back to list
Casey Bodley [Wed, 3 Jan 2018 19:34:41 +0000 (14:34 -0500)]
rgw: change ObjectCache::lru from deque back to list

ObjectCacheEntry stores an lru_iter into this lru, and depends on that
iterator remaining valid as other entries are inserted/erased

Fixes: http://tracker.ceph.com/issues/22560
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge tag 'v13.0.1'
Sage Weil [Wed, 3 Jan 2018 16:04:20 +0000 (10:04 -0600)]
Merge tag 'v13.0.1'

7 years agov13.0.1 v13.0.1
Sage Weil [Wed, 3 Jan 2018 16:03:39 +0000 (10:03 -0600)]
v13.0.1

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19724 from dillaman/wip-18480
Mykola Golub [Wed, 3 Jan 2018 12:11:25 +0000 (14:11 +0200)]
Merge pull request #19724 from dillaman/wip-18480

rbd: support cloning an image from a non-primary snapshot

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #19750 from badone/wip-dump_loads-formatter-null-check
Yan, Zheng [Wed, 3 Jan 2018 11:08:24 +0000 (19:08 +0800)]
Merge pull request #19750 from badone/wip-dump_loads-formatter-null-check

mds: Remove redundant null pointer check

7 years agoMerge pull request #19752 from Liuchang0812/cleanup-dev-doc
Kefu Chai [Wed, 3 Jan 2018 07:46:25 +0000 (15:46 +0800)]
Merge pull request #19752 from Liuchang0812/cleanup-dev-doc

doc: fix CFLAGS in doc/dev/cpu-profiler.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: fix CFLAGS in doc/dev/cpu-profiler.rst 19752/head
Chang Liu [Wed, 3 Jan 2018 07:12:17 +0000 (15:12 +0800)]
doc: fix CFLAGS in doc/dev/cpu-profiler.rst

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
7 years agomds: Remove redundant null pointer check 19750/head
Brad Hubbard [Wed, 3 Jan 2018 03:06:26 +0000 (13:06 +1000)]
mds: Remove redundant null pointer check

Resolves Coverity CID 1426746

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #19666 from trociny/wip-nbd-unmap-by-image
Jason Dillaman [Wed, 3 Jan 2018 01:35:30 +0000 (20:35 -0500)]
Merge pull request #19666 from trociny/wip-nbd-unmap-by-image

rbd-nbd: allow to unmap by image or snap spec

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19745 from ceph/wip-use-installer0-master2
vasukulkarni [Tue, 2 Jan 2018 22:22:47 +0000 (14:22 -0800)]
Merge pull request #19745 from ceph/wip-use-installer0-master2

qa/tests - Added options to use both cases: mon.a and installer.0

7 years agoqa/tests - Added options to use both cases: mon.a and installer.0 19745/head
Yuri Weinstein [Tue, 2 Jan 2018 18:12:54 +0000 (10:12 -0800)]
qa/tests - Added options to use both cases: mon.a and installer.0

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #19512 from Liuchang0812/wip-dashboard-rgw
John Spray [Tue, 2 Jan 2018 17:57:58 +0000 (17:57 +0000)]
Merge pull request #19512 from Liuchang0812/wip-dashboard-rgw

mgr/dashboard: RGW page

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19645 from tchaikov/wip-install-deps
Sage Weil [Tue, 2 Jan 2018 17:54:23 +0000 (11:54 -0600)]
Merge pull request #19645 from tchaikov/wip-install-deps

install-deps: use DTS-7 on aarch64 and only download mirrored package indexes

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #19375 from qrGitHub/wip-rgw-redundant-parenthesis
Casey Bodley [Tue, 2 Jan 2018 17:26:45 +0000 (12:26 -0500)]
Merge pull request #19375 from qrGitHub/wip-rgw-redundant-parenthesis

rgw: remove redundant parenthesis in logs

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #19650 from yaozongyou/fix-erasure-code-memory-leak
Kefu Chai [Tue, 2 Jan 2018 16:16:41 +0000 (00:16 +0800)]
Merge pull request #19650 from yaozongyou/fix-erasure-code-memory-leak

erasure-code: use jerasure_free_schedule to properly free a schedule

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19649 from yaozongyou/fix-dns-resolve-memory-leak
Kefu Chai [Tue, 2 Jan 2018 16:12:54 +0000 (00:12 +0800)]
Merge pull request #19649 from yaozongyou/fix-dns-resolve-memory-leak

common/dns_resolve: fix memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19659 from Songweibin/wip-doc-rbd
Jason Dillaman [Tue, 2 Jan 2018 16:09:58 +0000 (11:09 -0500)]
Merge pull request #19659 from Songweibin/wip-doc-rbd

 doc/rbd: add missing several commands in rbd CLI man page

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19634 from jcsp/wip-22514
Kefu Chai [Tue, 2 Jan 2018 16:09:37 +0000 (00:09 +0800)]
Merge pull request #19634 from jcsp/wip-22514

qa: configure zabbix properly before selftest

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19599 from yaozongyou/config-cleanup
Kefu Chai [Tue, 2 Jan 2018 16:07:30 +0000 (00:07 +0800)]
Merge pull request #19599 from yaozongyou/config-cleanup

common/config: cleanup remove some unused macros

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19581 from adamemerson/wip-cache-on-the-barrelhead
Matt Benjamin [Tue, 2 Jan 2018 16:01:06 +0000 (11:01 -0500)]
Merge pull request #19581 from adamemerson/wip-cache-on-the-barrelhead

Cache on the barrelhead

7 years agoMerge pull request #19546 from ZVampirEM77/wip-em-pg-cleanup3
Kefu Chai [Tue, 2 Jan 2018 16:00:45 +0000 (00:00 +0800)]
Merge pull request #19546 from ZVampirEM77/wip-em-pg-cleanup3

osd/PG: some cleanups && add should_gather filter for loop logging

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19524 from fungusakafungus/fix-22313
Kefu Chai [Tue, 2 Jan 2018 15:58:56 +0000 (23:58 +0800)]
Merge pull request #19524 from fungusakafungus/fix-22313

pybind/mgr/prometheus: fix metric type undef -> untyped

Reviewed-by: John Spray <jspray@redhat.com>
7 years agoMerge pull request #19519 from ifed01/wip-ifed-fix-col-split
Kefu Chai [Tue, 2 Jan 2018 15:58:01 +0000 (23:58 +0800)]
Merge pull request #19519 from ifed01/wip-ifed-fix-col-split

os/bluestore: fix potential assert when splitting collection.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #19452 from wido/mgr-zabbix-runtimerror
Kefu Chai [Tue, 2 Jan 2018 15:56:44 +0000 (23:56 +0800)]
Merge pull request #19452 from wido/mgr-zabbix-runtimerror

mgr/Zabbix: Various fixes to Zabbix module

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19735 from shinobu-x/osd_oprequest_xlist
Sage Weil [Tue, 2 Jan 2018 15:22:26 +0000 (09:22 -0600)]
Merge pull request #19735 from shinobu-x/osd_oprequest_xlist

osd: Remove unnecessary headers

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #19738 from lixiaoy1/minor_fix
Sage Weil [Tue, 2 Jan 2018 15:20:18 +0000 (09:20 -0600)]
Merge pull request #19738 from lixiaoy1/minor_fix

msg/async: use device before checking

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agotest/rbd: new unit test cases for clone request state machine 19724/head
Jason Dillaman [Wed, 20 Dec 2017 20:53:06 +0000 (15:53 -0500)]
test/rbd: new unit test cases for clone request state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: permit creation of clones against non-primary images
Jason Dillaman [Tue, 19 Dec 2017 15:23:44 +0000 (10:23 -0500)]
librbd: permit creation of clones against non-primary images

Fixes: http://tracker.ceph.com/issues/18480
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: switching to pool mode shouldn't affect existing mirrored images
Jason Dillaman [Tue, 2 Jan 2018 15:09:35 +0000 (10:09 -0500)]
librbd: switching to pool mode shouldn't affect existing mirrored images

Previously, non-primary images within a pool would prevent the switch from
image-mode to pool-mode mirroring.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agomsg/async: use device before checking 19738/head
lixiaoy1 [Tue, 2 Jan 2018 14:24:02 +0000 (09:24 -0500)]
msg/async: use device before checking

Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
7 years agoMerge pull request #19737 from tchaikov/wip-dedup-rgw-admin-opt 19749/head
Kefu Chai [Tue, 2 Jan 2018 08:20:22 +0000 (16:20 +0800)]
Merge pull request #19737 from tchaikov/wip-dedup-rgw-admin-opt

doc: remove duplicated --max-buckets option desc

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agodoc: remove duplicated --max-buckets option desc 19737/head
Kefu Chai [Tue, 2 Jan 2018 04:46:28 +0000 (12:46 +0800)]
doc: remove duplicated --max-buckets option desc

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: Remove unnecessary headers 19735/head
Shinobu Kinjo [Mon, 1 Jan 2018 09:59:05 +0000 (18:59 +0900)]
osd: Remove unnecessary headers

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agoinstall-deps.sh: check if have access to stdout 19645/head
Kefu Chai [Thu, 28 Dec 2017 02:18:11 +0000 (10:18 +0800)]
install-deps.sh: check if have access to stdout

$- is "hB" if launched via command line, and it is "himBH" only when
we are actually *in* an interactive shell. so checking "test -t 1" is
what we want.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph.spec.in: use DTS-7 on aarch64 also
Kefu Chai [Fri, 22 Dec 2017 05:05:02 +0000 (13:05 +0800)]
ceph.spec.in: use DTS-7 on aarch64 also

see https://bugs.centos.org/view.php?id=14078

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps: bump DTS version on aarch64 to 7
Kefu Chai [Fri, 22 Dec 2017 05:04:28 +0000 (13:04 +0800)]
install-deps: bump DTS version on aarch64 to 7

see https://bugs.centos.org/view.php?id=14078

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: only download mirrored package index
wangsongbo [Thu, 21 Dec 2017 02:06:53 +0000 (10:06 +0800)]
install-deps.sh: only download mirrored package index

E: Failed to fetch http://mirror.cs.uchicago.edu/ubuntu-toolchain-r/dists/xenial/main/binary-i386/Packages  404  Not Found
E: Failed to fetch http://mirror.yandex.ru/mirrors/launchpad/ubuntu-toolchain-r/dists/xenial/main/i18n/Translation-en  404  Not Found [IP: 213.180.204.183 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

On Ubuntu amd64 installations, i386 is enabled as an additional
architecture by default. apt & co. expect repositories to provide all
configured architectures, which causes the error above.

Signed-off-by: Songbo Wang <wangsongbo@cloudin.cn>
7 years agoinstall-deps.sh: do not download i18n apt index
Kefu Chai [Fri, 22 Dec 2017 04:20:19 +0000 (12:20 +0800)]
install-deps.sh: do not download i18n apt index

and do not fail the `apt-get update` command, if any mirror is not
reachable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19010 from shinobu-x/src_cls_func
Sage Weil [Fri, 29 Dec 2017 20:06:23 +0000 (14:06 -0600)]
Merge pull request #19010 from shinobu-x/src_cls_func

cls_acl/_crypto: Add modeline

7 years agoMerge pull request #15855 from linuxbox2/wip-nfs-docsync
Sage Weil [Fri, 29 Dec 2017 19:48:08 +0000 (13:48 -0600)]
Merge pull request #15855 from linuxbox2/wip-nfs-docsync

RGW NFS:  mount cmdline example missing -osync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16932 from amitkumar50/cov-cls-rgw-1
Sage Weil [Fri, 29 Dec 2017 19:40:12 +0000 (13:40 -0600)]
Merge pull request #16932 from amitkumar50/cov-cls-rgw-1

cls/rgw: Initialization of uninitialized members

7 years agoMerge pull request #17089 from amitkumar50/test-cov-journal-1
Sage Weil [Fri, 29 Dec 2017 19:37:24 +0000 (13:37 -0600)]
Merge pull request #17089 from amitkumar50/test-cov-journal-1

test/journal: Initialize member variable m_work_queue

7 years agoMerge pull request #17090 from amitkumar50/test-cov-messages-8
Sage Weil [Fri, 29 Dec 2017 19:37:10 +0000 (13:37 -0600)]
Merge pull request #17090 from amitkumar50/test-cov-messages-8

messages: Initializing variable ceph_mds_reply_head

7 years agoMerge pull request #17367 from amitkumar50/cov-rgw-5
Sage Weil [Fri, 29 Dec 2017 19:35:18 +0000 (13:35 -0600)]
Merge pull request #17367 from amitkumar50/cov-rgw-5

rgw: unreachable return in RGWRados::trim_bi_log_entries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17369 from amitkumar50/cov-test-5
Sage Weil [Fri, 29 Dec 2017 19:34:44 +0000 (13:34 -0600)]
Merge pull request #17369 from amitkumar50/cov-test-5

test: Initialization of *comp_racing_read class CopyFromOp

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #17439 from ClemPi/wip-doc-radosgw-admin-max-buckets
Sage Weil [Fri, 29 Dec 2017 18:01:38 +0000 (12:01 -0600)]
Merge pull request #17439 from ClemPi/wip-doc-radosgw-admin-max-buckets

doc: add --max-buckets to radosgw-admin(8)

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge branch 'master' into wip-doc-radosgw-admin-max-buckets 17439/head
Sage Weil [Fri, 29 Dec 2017 18:01:18 +0000 (12:01 -0600)]
Merge branch 'master' into wip-doc-radosgw-admin-max-buckets

7 years agoMerge pull request #17535 from emmericp/mon-session-show-client-features
Sage Weil [Fri, 29 Dec 2017 18:00:13 +0000 (12:00 -0600)]
Merge pull request #17535 from emmericp/mon-session-show-client-features

mon: show feature flags when printing MonSession

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #17563 from amitkumar50/cov-rbd-5
Sage Weil [Fri, 29 Dec 2017 17:59:49 +0000 (11:59 -0600)]
Merge pull request #17563 from amitkumar50/cov-rbd-5

rbd: Initializing m_finalize_ctx

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #18886 from BlaineEXE/update-kube-helm-start-doc
Sage Weil [Fri, 29 Dec 2017 17:53:12 +0000 (11:53 -0600)]
Merge pull request #18886 from BlaineEXE/update-kube-helm-start-doc

doc: Add newbie-friendly updates to Helm start doc

Reviewed-by: Alex Marangone <amarango@redhat.com>
7 years agoMerge pull request #19028 from shinobu-x/src_mon_monmapmonitor
Sage Weil [Fri, 29 Dec 2017 17:47:11 +0000 (11:47 -0600)]
Merge pull request #19028 from shinobu-x/src_mon_monmapmonitor

mon: Drop redundant access specifier, etc (cleanup)

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge branch 'master' into src_mon_monmapmonitor 19028/head
Sage Weil [Fri, 29 Dec 2017 17:46:49 +0000 (11:46 -0600)]
Merge branch 'master' into src_mon_monmapmonitor

7 years agoMerge pull request #19049 from shinobu-x/primarylogpg_warning
Sage Weil [Fri, 29 Dec 2017 17:46:04 +0000 (11:46 -0600)]
Merge pull request #19049 from shinobu-x/primarylogpg_warning

osd/PrimaryLogPG: derr when object size becomes over osd_max_object_size

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #19268 from shinobu-x/vstart_picking_up_random_port
Sage Weil [Fri, 29 Dec 2017 17:43:14 +0000 (11:43 -0600)]
Merge pull request #19268 from shinobu-x/vstart_picking_up_random_port

vstart.sh: drop .ceph_port and use randomly selected available port

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19605 from ceph/wip-use-installer0-master
Sage Weil [Fri, 29 Dec 2017 16:45:06 +0000 (10:45 -0600)]
Merge pull request #19605 from ceph/wip-use-installer0-master

qa/tests: run ceph-ansible task on installer.0 role/node

7 years agoMerge pull request #19643 from shinobu-x/address_helper_a
Sage Weil [Fri, 29 Dec 2017 16:43:43 +0000 (10:43 -0600)]
Merge pull request #19643 from shinobu-x/address_helper_a

common: cleanup address_helper

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19671 from joscollin/wip-rgw-commented-functions
Sage Weil [Fri, 29 Dec 2017 16:37:19 +0000 (10:37 -0600)]
Merge pull request #19671 from joscollin/wip-rgw-commented-functions

rgw: drop commented functions

7 years agoMerge pull request #19679 from trociny/wip-ggate-list-unmap
Sage Weil [Fri, 29 Dec 2017 16:31:36 +0000 (10:31 -0600)]
Merge pull request #19679 from trociny/wip-ggate-list-unmap

rbd-ggate: small fixes and improvements

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #19689 from chnmagnus/wip-bug-on-config-metavariables
Sage Weil [Fri, 29 Dec 2017 16:28:59 +0000 (10:28 -0600)]
Merge pull request #19689 from chnmagnus/wip-bug-on-config-metavariables

rgw: the metavariables in frontends-related config won't be expanded

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19692 from hikycool/master
Sage Weil [Fri, 29 Dec 2017 16:28:12 +0000 (10:28 -0600)]
Merge pull request #19692 from hikycool/master

doc: Add introduction about different way to run rbd-mirror

7 years agoMerge pull request #19701 from joscollin/wip-tracker-22542
Sage Weil [Fri, 29 Dec 2017 15:35:10 +0000 (09:35 -0600)]
Merge pull request #19701 from joscollin/wip-tracker-22542

doc: update Blacklisting and OSD epoch barrier

Reviewed-by: Yan, Zheng <zyan@redhat.com>
7 years agoMerge pull request #19713 from Leeshine/wip-rgw-typo
Sage Weil [Fri, 29 Dec 2017 15:28:56 +0000 (09:28 -0600)]
Merge pull request #19713 from Leeshine/wip-rgw-typo

rgw: fix typo in GetOmapKeysCR

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agorgw: fix typo in GetOmapKeysCR 19713/head
lvshanchun [Fri, 29 Dec 2017 02:01:12 +0000 (10:01 +0800)]
rgw: fix typo in GetOmapKeysCR

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agoMerge pull request #19709 from luomuyao/dev
Jos Collin [Thu, 28 Dec 2017 09:21:21 +0000 (09:21 +0000)]
Merge pull request #19709 from luomuyao/dev

rgw: drop unused iter in XMLObj::find_first

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agorgw: drop unused variable iter in XMLObj::find_first 19709/head
luomuyao [Thu, 28 Dec 2017 08:18:04 +0000 (16:18 +0800)]
rgw: drop unused variable iter in XMLObj::find_first

Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
7 years agodoc: fix grammar mistake 19701/head
Jos Collin [Wed, 27 Dec 2017 09:32:12 +0000 (15:02 +0530)]
doc: fix grammar mistake

Fixed grammar mistake in a sentence.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agodoc: update Blacklisting and OSD epoch barrier
Jos Collin [Wed, 27 Dec 2017 09:24:27 +0000 (14:54 +0530)]
doc: update Blacklisting and OSD epoch barrier

Updated missing OSD epoch barrier section, which is referenced by http://docs.ceph.com/docs/master/cephfs/full/#hammer-and-later.

Fixes: http://tracker.ceph.com/issues/22542
Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agorbd-ggate: allow to unmap by image or snap spec 19679/head
Mykola Golub [Mon, 25 Dec 2017 11:02:35 +0000 (11:02 +0000)]
rbd-ggate: allow to unmap by image or snap spec

(to match the behaviour of krbd unmap)

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agorbd-ggate: extended info when listing devices
Mykola Golub [Mon, 25 Dec 2017 09:15:08 +0000 (09:15 +0000)]
rbd-ggate: extended info when listing devices

This matches nbd and krbd drivers output.

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19691 from MrStupnikov/fix_logic
Kefu Chai [Wed, 27 Dec 2017 10:53:22 +0000 (18:53 +0800)]
Merge pull request #19691 from MrStupnikov/fix_logic

doc: Improved hitset parameters description

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: Improve parameters description in cache_tiering article 19691/head
Alexey Stupnikov [Tue, 26 Dec 2017 13:40:31 +0000 (16:40 +0300)]
doc: Improve parameters description in cache_tiering article

hit_set parameters aren't described in a sequence they introduced.
This patch effecrively changes the sequence to improve
description's logic.

Signed-off-by: Alexey Stupnikov <aleksey.stupnikov@gmail.com>
7 years agoMerge pull request #19690 from Songweibin/wip-doc-librbdpy
Kefu Chai [Wed, 27 Dec 2017 02:52:18 +0000 (10:52 +0800)]
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>
7 years agodoc: correct the path of librbd python APIs 19690/head
songweibin [Tue, 26 Dec 2017 11:59:17 +0000 (19:59 +0800)]
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>
7 years ago[DOC]Add introduction about different way to run rbd-mirror 19692/head
Yu Shengzuo [Tue, 26 Dec 2017 13:58:48 +0000 (21:58 +0800)]
[DOC]Add introduction about different way to run rbd-mirror

Add a way to run rbd-mirror process in foregroup.
This way is useful to run rbd-mirror in a container when you don't
want to build a specified rbd-mirror image

Signed-off-by: Yu Shengzuo <yu.shengzuo@99cloud.net>
7 years agorgw: the metavariables in frontends-related config won't be expanded 19689/head
root [Tue, 26 Dec 2017 10:11:47 +0000 (18:11 +0800)]
rgw: the metavariables in frontends-related config won't be expanded

When using metavariables in frontends-related config, I found that metavariables won't be expanded. Such as:
the `name` variable won't be expanded.
```
[client.rgw]
rgw frontends = civetweb port=8000 access_log_file=/path/$name.access.log
```
The reason is as follows:

In `rgw_main.cc/main()` function, program uses frontends-related config before the `expand_all_meta` function call that is called in the `global_init` function.

Signed-off-by: chnmagnus chnmagnus@qq.com
7 years agoMerge pull request #19255 from JianyuLi/joa-mdbalancer
Yan, Zheng [Tue, 26 Dec 2017 08:46:17 +0000 (16:46 +0800)]
Merge pull request #19255 from JianyuLi/joa-mdbalancer

MDS: make rebalancer evaluate the overload state of each mds with the same criterion

7 years agoMerge pull request #19591 from qrGitHub/wip-rgw-unused-variable3
Jos Collin [Tue, 26 Dec 2017 04:18:49 +0000 (04:18 +0000)]
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>
7 years agoMerge pull request #19675 from qrGitHub/wip-rgw-typo-complete
Jos Collin [Tue, 26 Dec 2017 03:33:43 +0000 (03:33 +0000)]
Merge pull request #19675 from qrGitHub/wip-rgw-typo-complete

rgw: fix typo compete to complete

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agorgw: fix typo compete to completes 19675/head
Bingyin Zhang [Mon, 25 Dec 2017 08:15:51 +0000 (16:15 +0800)]
rgw: fix typo compete to completes

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agorbd-ggate: output error on map failure
Mykola Golub [Mon, 25 Dec 2017 09:13:00 +0000 (09:13 +0000)]
rbd-ggate: output error on map failure

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agorbd-nbd: allow to unmap by image or snap spec 19666/head
Mykola Golub [Sun, 24 Dec 2017 12:31:36 +0000 (14:31 +0200)]
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>
7 years agoqa/workunits/rbd: bench-write is part of exclusive option test
Mykola Golub [Mon, 25 Dec 2017 11:22:59 +0000 (13:22 +0200)]
qa/workunits/rbd: bench-write is part of exclusive option test

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agorbd-ggate: honor rbd_default_pool config setting
Mykola Golub [Mon, 25 Dec 2017 09:11:24 +0000 (09:11 +0000)]
rbd-ggate: honor rbd_default_pool config setting

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agorgw: drop commented functions 19671/head
Jos Collin [Mon, 25 Dec 2017 03:26:46 +0000 (08:56 +0530)]
rgw: drop commented functions

Dropped commented functions.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19583 from qrGitHub/wip-rgw-unused-variable
Jos Collin [Mon, 25 Dec 2017 03:12:12 +0000 (03:12 +0000)]
Merge pull request #19583 from qrGitHub/wip-rgw-unused-variable

rgw: drop iter in rgw_op.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19667 from trociny/wip-affiliation
Xie Xingguo [Mon, 25 Dec 2017 00:32:57 +0000 (08:32 +0800)]
Merge pull request #19667 from trociny/wip-affiliation

mailmap: update affiliation for Mykola Golub

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agorgw: remove unused variable iter in file rgw_op.cc 19583/head
Bingyin Zhang [Sun, 24 Dec 2017 23:20:45 +0000 (07:20 +0800)]
rgw: remove unused variable iter in file rgw_op.cc

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agoMerge pull request #19618 from dillaman/wip-18435
Mykola Golub [Sun, 24 Dec 2017 18:13:30 +0000 (20:13 +0200)]
Merge pull request #19618 from dillaman/wip-18435

librbd: filter out potential race with image rename

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agomailmap: update affiliation for Mykola Golub 19667/head
Mykola Golub [Sun, 24 Dec 2017 14:49:38 +0000 (16:49 +0200)]
mailmap: update affiliation for Mykola Golub

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #19536 from dillaman/wip-rbd-mirror-trash
Mykola Golub [Sun, 24 Dec 2017 14:16:42 +0000 (16:16 +0200)]
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>
7 years agorbd: add missing right parenthesis and fix typo 19659/head
songweibin [Sat, 23 Dec 2017 03:43:09 +0000 (11:43 +0800)]
rbd: add missing right parenthesis and fix typo

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agodoc: add missing several commands in rbd CLI man page
songweibin [Sat, 23 Dec 2017 03:33:48 +0000 (11:33 +0800)]
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>
7 years agocommon/dns_resolve: fix memory leak 19649/head
Yao Zongyou [Sat, 23 Dec 2017 04:48:47 +0000 (12:48 +0800)]
common/dns_resolve: fix memory leak

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agoMerge pull request #19623 from chnmagnus/wip-a-tiny-error
Xie Xingguo [Sat, 23 Dec 2017 01:44:41 +0000 (09:44 +0800)]
Merge pull request #19623 from chnmagnus/wip-a-tiny-error

msg: drop duplicate include

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agorgw/dashboard: supports url_prefix in rgw page 19512/head
Chang Liu [Fri, 22 Dec 2017 09:56:19 +0000 (17:56 +0800)]
rgw/dashboard: supports url_prefix in rgw page

Signed-off-by: Chang Liu <liuchang0812@gmail.com>