Commit Graph

82022 Commits

Author SHA1 Message Date
Yan, Zheng
0abcf5785a
Merge pull request #19750 from badone/wip-dump_loads-formatter-null-check
mds: Remove redundant null pointer check
2018-01-03 19:08:24 +08:00
Shinobu Kinjo
dae91f363b osdc: Do not use lock_guard as unique_lock
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2018-01-03 04:19:57 -05:00
Bingyin Zhang
07c30aafb4 rgw: format rgw_bucket_dir_header in ceph-dencoder
* "new_instance" doesn't belong to field "stats", so put it in another section

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2018-01-03 15:49:51 +08:00
Kefu Chai
37282f2158
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>
2018-01-03 15:46:25 +08:00
Chang Liu
489ef0f2be doc: fix CFLAGS in doc/dev/cpu-profiler.rst
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2018-01-03 15:19:06 +08:00
YunfeiGuan
65fcccc04a ceph-fuse: ::rmdir() uses a deleted memory structure of dentry leads a core
we should add the dentry ref immediately after "get_or_create" in
case of the ref be put to zero.

Fixes: http://tracker.ceph.com/issues/22536
Signed-off-by: YunfeiGuan <yunfeiguan@xtaotech.com>
2018-01-03 11:43:07 +08:00
Brad Hubbard
5132a1ce38 mds: Remove redundant null pointer check
Resolves Coverity CID 1426746

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-03 13:06:26 +10:00
Jason Dillaman
e4b8ae348b
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>
2018-01-02 20:35:30 -05:00
Shinobu Kinjo
79c0e7534a osd: Making use of find to reduce computational complexity
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2018-01-03 08:03:26 +09:00
Bingyin Zhang
fe7d415060 rgw: optimize function abort_bucket_multiparts
* 1. common_prefixes is useless, so drop it;
* 2. RGWMPObj object is enough, so change RGWMultipartUploadEntry to RGWMPObj;

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2018-01-03 07:03:21 +08:00
vasukulkarni
5d7813f612
Merge pull request #19745 from ceph/wip-use-installer0-master2
qa/tests - Added options to use both cases: mon.a and installer.0
2018-01-02 14:22:47 -08:00
Yuri Weinstein
10fc85089c qa/tests - Added options to use both cases: mon.a and installer.0
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-01-02 10:12:54 -08:00
John Spray
81fc8e0376
Merge pull request #19512 from Liuchang0812/wip-dashboard-rgw
mgr/dashboard: RGW page

Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-02 17:57:58 +00:00
Sage Weil
089e287e3c
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>
2018-01-02 11:54:23 -06:00
Casey Bodley
afdea9f371
Merge pull request #19375 from qrGitHub/wip-rgw-redundant-parenthesis
rgw: remove redundant parenthesis in logs

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-01-02 12:26:45 -05:00
Kefu Chai
48a5b34ab9
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>
2018-01-03 00:16:41 +08:00
Kefu Chai
cfba91fc34
Merge pull request #19649 from yaozongyou/fix-dns-resolve-memory-leak
common/dns_resolve: fix memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-03 00:12:54 +08:00
Jason Dillaman
5e659a63e0
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>
2018-01-02 11:09:58 -05:00
Kefu Chai
0cd700e64d
Merge pull request #19634 from jcsp/wip-22514
qa: configure zabbix properly before selftest

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-03 00:09:37 +08:00
Kefu Chai
9acaa5bdff
Merge pull request #19599 from yaozongyou/config-cleanup
common/config: cleanup remove some unused macros

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-03 00:07:30 +08:00
Matt Benjamin
05bcf0cf6d
Merge pull request #19581 from adamemerson/wip-cache-on-the-barrelhead
Cache on the barrelhead
2018-01-02 11:01:06 -05:00
Kefu Chai
2d0a5dc5a7
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>
2018-01-03 00:00:45 +08:00
Kefu Chai
d3d1e4e0bd
Merge pull request #19524 from fungusakafungus/fix-22313
pybind/mgr/prometheus: fix metric type undef -> untyped

Reviewed-by: John Spray <jspray@redhat.com>
2018-01-02 23:58:56 +08:00
Kefu Chai
2a6650d9c0
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>
2018-01-02 23:58:01 +08:00
Kefu Chai
9fb89a8347
Merge pull request #19452 from wido/mgr-zabbix-runtimerror
mgr/Zabbix: Various fixes to Zabbix module

Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-02 23:56:44 +08:00
Sage Weil
5095b493ab
Merge pull request #19735 from shinobu-x/osd_oprequest_xlist
osd: Remove unnecessary headers

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-01-02 09:22:26 -06:00
Sage Weil
34596a821d
Merge pull request #19738 from lixiaoy1/minor_fix
msg/async: use device before checking

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-02 09:20:18 -06:00
Jason Dillaman
cb3b94f771 test/rbd: new unit test cases for clone request state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-02 10:12:01 -05:00
Jason Dillaman
c7c15b681c librbd: permit creation of clones against non-primary images
Fixes: http://tracker.ceph.com/issues/18480
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-02 10:11:56 -05:00
Jason Dillaman
76d80bb71f 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>
2018-01-02 10:11:56 -05:00
lixiaoy1
41c6b17b55 msg/async: use device before checking
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
2018-01-02 09:28:28 -05:00
Kefu Chai
c65eb5b689
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>
2018-01-02 16:20:22 +08:00
Kefu Chai
0667c1aeb1 doc: remove duplicated --max-buckets option desc
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-02 12:46:28 +08:00
Shinobu Kinjo
54349a7634 osd: Remove unnecessary headers
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2018-01-01 18:59:05 +09:00
Shinobu Kinjo
88080cea99 osd, bluestore: Display current size of osd_max_object_size
It is better to show current value than showing same value twice.

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-12-31 07:20:50 +09:00
Kefu Chai
7bb8f66cf4 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>
2017-12-30 23:20:07 +08:00
Kefu Chai
85a1fa68ab 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>
2017-12-30 23:20:07 +08:00
Kefu Chai
d38a9370b6 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>
2017-12-30 23:20:07 +08:00
wangsongbo
2d44ba7d4c 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>
2017-12-30 23:20:07 +08:00
Kefu Chai
45781602c9 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>
2017-12-30 23:20:07 +08:00
Igor Fedotov
121c40286a os/bluestore: add asserts for fsck's used_blocks bitmap access as
boost doesn't always handle out-of-range access properly.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2017-12-30 03:42:37 +03:00
Igor Fedotov
f64c236f27 os/bluestore: refactor FreeListManager to get clearer view on the number
of alloc units it tracks.
This also fixes out-of-range access for fsck's used_blocks bitmap that
might happen when checking stores created prior to v12.2.2
Fixes http://tracker.ceph.com/issues/22535

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2017-12-30 03:42:01 +03:00
Shinobu Kinjo
ac36254c28 bluestore: BlueStore::ExtentMap::dup impl
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-12-30 08:39:17 +09:00
Sage Weil
24bc418983
Merge pull request #19010 from shinobu-x/src_cls_func
cls_acl/_crypto: Add modeline
2017-12-29 14:06:23 -06:00
Sage Weil
1422785701
Merge pull request #15855 from linuxbox2/wip-nfs-docsync
RGW NFS:  mount cmdline example missing -osync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-29 13:48:08 -06:00
Sage Weil
874ac9c209
Merge pull request #16932 from amitkumar50/cov-cls-rgw-1
cls/rgw: Initialization of uninitialized members
2017-12-29 13:40:12 -06:00
Sage Weil
b525fe55e3
Merge pull request #17089 from amitkumar50/test-cov-journal-1
test/journal: Initialize member variable m_work_queue
2017-12-29 13:37:24 -06:00
Sage Weil
f86f7186f2
Merge pull request #17090 from amitkumar50/test-cov-messages-8
messages: Initializing variable ceph_mds_reply_head
2017-12-29 13:37:10 -06:00
Sage Weil
cc4aebf295
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>
2017-12-29 13:35:18 -06:00
Sage Weil
1839dfd1cd
Merge pull request #17369 from amitkumar50/cov-test-5
test: Initialization of *comp_racing_read class CopyFromOp

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-29 13:34:44 -06:00