Commit Graph

48266 Commits

Author SHA1 Message Date
Sage Weil
1dfc8ef869 Merge pull request #7397 from tchaikov/wip-kill-warnings
build: kill warnings

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-01 10:26:39 -05:00
Kefu Chai
e9872ad67a civetweb: update submodule to silence a compile warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-01 14:33:41 +08:00
Kefu Chai
493619a981 common,osd: remove _process(T *t) to silence warnings
* and mark the WorkQueue::_process(T *, TPHandle&) a pure virtual
  method. so we must override it
* and mark all override methods with the "override" specifier.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-01 14:33:40 +08:00
Sage Weil
64fbda8371 Merge pull request #7266 from sahithi-rv/master
common/str_map: cleanup: replaced get_str_map() function overloading by using default parameters for delimiters

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-31 10:03:14 -05:00
Sage Weil
ace46dadb4 Merge pull request #7344 from songbaisen/song8
crush: add safety assert

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-31 10:02:13 -05:00
Sage Weil
159df4294a Merge pull request #7363 from cxwshawn/mon-sync-fix
mon: add mon_config_key prefix when sync full

Fixes: #14577
Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-31 10:01:24 -05:00
Sage Weil
74c87566fd Merge pull request #7383 from liewegas/wip-bluestore
osd: bluestore: some new c++11-isms, a couple reverts
2016-01-31 10:00:10 -05:00
Kefu Chai
b8bd9cbf00 cmake: fix "jobserver unavailable" warning
use ${MAKE} so the make command can be properly propagated to their
children

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-31 16:30:49 +08:00
Kefu Chai
f8adf40932 cmake: disable unused-variable warning for rocksdb
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-31 12:18:41 +08:00
Kefu Chai
2699c474b2 rgw: fix the signed/unsigned comparison warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-31 12:18:41 +08:00
Kefu Chai
d50bda5bc3 rados: bench: fix the signed/unsigned comparison warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-31 12:18:40 +08:00
Kefu Chai
4633e8d982 cmake: remove duplicated HAVE_EXECINFO_H macro
fixes the `"HAVE_EXECINFO_H" redefined` warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-31 01:12:15 +08:00
Kefu Chai
88a95b7b13 os/*stores: fix hidden warnings
the CollectionHandle variant methods are hidden by the subclasses
who do not override it. so the compiler complains. by adding
"using" statement we expose them again.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-31 01:05:40 +08:00
Kefu Chai
72d1984dd4 os/bluestore: fix unsigned/signed comparision warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-31 01:01:28 +08:00
Sage Weil
d44365bcdd Merge pull request #7014 from efirs/ef_replace_coll_t_by_const_coll_t_ref
osd: reduce CPU usage by replacing coll_t by const coll_t&

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-30 09:04:21 -05:00
Sage Weil
c9a2c80825 Merge pull request #7333 from xdonghai/xdh1
osd: FileStore: modify the format of colon 

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-30 09:03:56 -05:00
Sage Weil
04ea77b912 Merge pull request #7392 from tianshan/wip-14536
rados: fix race condition in load-gen complete callback

Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2016-01-30 09:03:17 -05:00
Sage Weil
98289735a8 Merge pull request #7395 from xiexingguo/xxg-wip-fuse
os/fusestore: add error handling

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-30 09:02:47 -05:00
Sage Weil
1c9f2bcc6b Merge pull request #7396 from tchaikov/wip-14537
mon: compact full epochs also

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-30 09:00:12 -05:00
Sage Weil
9ad361a320 Merge pull request #7402 from liewegas/wip-rados-bench
rados: make rados bench metadata backward compatible

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-01-30 08:59:55 -05:00
Sage Weil
27c0d2b19d Merge pull request #7418 from renhwsky/renhw-wip-monmapmonitor-cleanup
mon: some cleanup in MonmapMonitor.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2016-01-30 08:59:37 -05:00
Sage Weil
34ff79f13f Merge pull request #7420 from mikulely/fix-osd-mon-exit-issue
osd, mon: fix exit issue

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-30 08:59:01 -05:00
Sage Weil
be74b77e75 Merge pull request #7430 from xiexingguo/xxg-wip-kstore
osd: kstore: fix decode logic and add flush

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-30 08:58:35 -05:00
Sage Weil
5ba0fc7044 Merge pull request #7432 from branch-predictor/bp-fix-read-bench
rados: fix wrong op/object sizes in rand/seq bench

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-30 08:49:33 -05:00
Sage Weil
d6208d71d9 Merge pull request #7436 from liewegas/wip-bash
tests: qa/workunits/objectstore/test_fuse.sh: no bashism
2016-01-30 08:48:45 -05:00
Josh Durgin
7d1ede6bb7 Merge pull request #7404 from sahithi-rv/Mutex
rbd_fuse: replaced pthread_mutex*() functions with ceph Mutex wrapper

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-01-29 15:14:57 -08:00
Tianshan Qu
09ca1472f6 tools/rados/rados.cc: fix race condition in load-gen complete callback
Fixes: #14536

Signed-off-by: Tianshan Qu <tianshan@xsky.com>
2016-01-30 02:54:44 +08:00
Yehuda Sadeh
30162870fd Merge pull request #6131 from rzarzynski/wip-admincreds-in-s3-keystone
rgw: support admin credentials in S3-related Keystone authentication.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-01-29 09:28:41 -08:00
Radoslaw Zarzynski
136433d521 rgw: support admin credentials in S3-related Keystone authentication.
Fixes: #13302
Backport: infernalis, hammer
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-01-29 17:12:27 +01:00
Loic Dachary
20138c6d37 Merge pull request #7298 from racpatel/wip-doc-rac2
doc :- fixing image in section ERASURE CODING

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-01-29 21:44:42 +07:00
Jiaying Ren
4ca6bfd43f ceph_osd.cc: fix unreachable flush call
The calling chain for generic_server_usage():

  generic_server_usage()
    ->generic_usage(true)
    ->exit(1)
  cout.flush()

any statements after generic_server_usage() would not be reached,so we
need to flush cout in generic_usage().

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2016-01-29 22:22:34 +08:00
John Coyle
6d860ba46c cmake: musl libc does not implement backtrace. Added feature check and fallback to libexecinfo.
Signed-off-by: John Coyle <dx9err@gmail.com>
2016-01-29 08:50:46 -05:00
Sage Weil
11cbe45c9c Merge pull request #7264 from ceph/wip-doc-RGW
doc: rgw: port changes from downstream to upstream

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-29 08:50:07 -05:00
Sage Weil
fbe910378e Merge pull request #7244 from mikulely/fix-authtool-doc
doc: remove redundant space in ceph-authtool/monmaptool doc
2016-01-29 08:49:17 -05:00
ritz303
152f4eb09f doc: Updated the RPM section for RHEL and CentOS
Fixes: #10245

Signed-off-by: Aron Gunn <ritz_303@yahoo.com>
2016-01-29 08:44:17 -05:00
Sage Weil
1d2948fdcc Merge pull request #7027 from mathslinux/fix-s3-csharp-doc
doc: fix S3 C# example
2016-01-29 08:46:47 -05:00
Sage Weil
04289a9206 Merge pull request #7000 from zhouyuan/fix_cache_tier_doc
doc: fix misleading configuration guide on cache tiering

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:46:15 -05:00
Sage Weil
428805adf9 Merge pull request #6930 from wido/rgw-key-docs
doc: use 'ceph auth get-or-create' for creating RGW keyring

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:45:16 -05:00
Sage Weil
6684d3c363 Merge pull request #7384 from wido/mirroring
doc: script and guidelines for mirroring Ceph

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-01-29 08:43:31 -05:00
Sage Weil
8d560f761d Merge pull request #7435 from xiexingguo/xxg-wip-14561
osd: BlueStore: fix null pointer access

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:39:39 -05:00
Sage Weil
fb856af072 Merge pull request #7271 from somnathr/wip-transaction-delete
osd: avoid heap allocations for ObjectStore::Transaction

http://pulpito.ceph.com/sage-2016-01-28_12:50:51-rados-wip-sage-testing3---basic-mira/

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-29 08:33:28 -05:00
Sage Weil
a6da3706c3 Merge pull request #6440 from stiopaa1/scrubbingInfo
mon: warn if pg(s) not scrubbed

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2016-01-29 08:29:23 -05:00
Sage Weil
71501a3ab4 Merge pull request #7075 from shun-s/shun-fix
global: do not start two daemons with a single pid-file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-29 08:28:30 -05:00
Sage Weil
8a40b37a9e Merge pull request #7111 from chenji-kael/master
osd: FileStore: print file name before osd assert if read file failed

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:28:03 -05:00
Sage Weil
ec00cad010 Merge pull request #7268 from ifed01/wip-14400
common: snappy decompressor may assert when handling segmented input bufferlist

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-01-29 08:27:13 -05:00
Sage Weil
5deb6fd16d Merge pull request #7276 from caibo2014/fix-messager-null
mon/MonClient: avoid null pointer error when configured incorrectly

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:26:39 -05:00
Sage Weil
f642140be3 Merge pull request #7330 from ifed01/wip-pool-stat-cleanup
librados: remove duplicate definitions for rados pool_stat_t and cluster_stat_t

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-01-29 08:26:05 -05:00
Sage Weil
4cf7af5b43 Merge pull request #7340 from ceph/wip-portable-time
common: ake ceph_time clocks work under BSD

Reviewed-by: Erwan Velu <erwan@redhat.com>
2016-01-29 08:25:36 -05:00
Sage Weil
c5a1455d0d Merge pull request #7341 from songbaisen/song7
mon: consider the pool size when setting pool crush rule

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:24:46 -05:00
Sage Weil
22734956c0 Merge pull request #7355 from yuanjingkai/master
os/fs: fix io_getevents argument

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-29 08:24:04 -05:00