Commit Graph

79495 Commits

Author SHA1 Message Date
Sage Weil
a8a514b957 osd/osd_types: pg_pool_t: remove crash_replay_interval member
We removed the dual ack before luminous, so this option is completely
obsolete now.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-18 16:05:19 -05:00
Sage Weil
043d8b2087 Merge pull request #18376 from tchaikov/wip-authors
doc: update Component Technical Leads and maintainers to canonical location

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 08:51:39 -05:00
Casey Bodley
50ba674dc0 Merge pull request #18355 from gaosibei/wip-rgw-refrence
RGW: change function parameters from value to refrence

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-10-18 08:18:12 -04:00
Matt Benjamin
e43f345b38 Merge pull request #17432 from joscollin/wip-cleanup-fix-rgwconf
rgw: Access RGWConf through RGWEnv
2017-10-18 07:57:20 -04:00
Matt Benjamin
c584a8d27c Merge pull request #17440 from mikulely/cleanup-iterate
rgw: update outdated debug func name
2017-10-18 07:52:57 -04:00
Matt Benjamin
fee8a8ea9b Merge pull request #17956 from zhangsw/fix-rgw-encry-torrent-bug
rgw: Torrents are not supported for objects encrypted using SSE-C
2017-10-18 07:52:39 -04:00
Matt Benjamin
52834493f9 Merge pull request #18057 from baixueyu/branch1
rgw: fix radosgw-admin quota enable return value bug
2017-10-18 07:52:19 -04:00
Alfredo Deza
fc1b889326 Merge pull request #18375 from tchaikov/wip-ceph-disk-check-log
ceph-disk: write log to /var/log/ceph not to /var/run/ceph

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 06:51:27 -04:00
scuttlemonkey
843d964d11 AUTHORS: Update Component Technical Leads and maintainers to canonical location of ceph.com.
Signed-off-by: Patrick McGarry <pmcgarry@redhat.com>
2017-10-18 18:48:37 +08:00
Mykola Golub
041cca4a32 Merge pull request #18315 from dillaman/wip-21797
librbd: object map batch update might cause OSD suicide timeout

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-18 13:36:47 +03:00
Kefu Chai
9f2715a5e0 Merge pull request #18345 from wido/doc-osd-replace
doc: Remove additional arguments when replacing OSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 18:34:57 +08:00
Kefu Chai
e0856bd7e7 ceph-disk: write log to /var/log/ceph not to /var/run/ceph
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-18 18:03:44 +08:00
Xie Xingguo
2e1e3f8b2f Merge pull request #18373 from tchaikov/wip-opt-desc
doc: fix the desc of "osd max pg per osd hard ratio"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-18 16:15:35 +08:00
Kefu Chai
d940f62203 doc: fix the desc of "osd max pg per osd hard ratio"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-18 16:07:50 +08:00
Jos Collin
46544cf5d6 Merge pull request #18370 from mikulely/cleanup-rgw-write-meta
rgw: drop outdated function doc

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-18 05:34:45 +00:00
Jiaying Ren
f7318f67f0 rgw: drop misplaced&outdated func doc
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-10-18 12:32:24 +08:00
Kefu Chai
2e50ae1f13 Merge pull request #18352 from rzarzynski/wip-testfio-fix-pgps
Revert "bluestore/fio: Fixed problem with all objects having the same hash

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-10-18 10:52:13 +08:00
Kefu Chai
9adab8b52a Merge pull request #18338 from xiexingguo/wip-pg
osd/PrimaryLogPG: do not use approx_size() for log trimming

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 10:48:32 +08:00
Kefu Chai
0b8f22535a Merge pull request #18340 from Yan-waller/wip-walle-1014osdprimarypg
osd/PG: misc cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 10:47:37 +08:00
Kefu Chai
a09dd84ee7 Merge pull request #18351 from tchaikov/wip-osx
common/event_socket.h: include <errno.h> to use errno

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-10-18 10:46:50 +08:00
Kefu Chai
0adcd198b5 Merge pull request #18353 from xiexingguo/wip-do-read
osd/PrimaryLogPG: trigger auto-repair on full-object-size CRC error

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 10:46:18 +08:00
Kefu Chai
75f3526201 Merge pull request #18321 from majianpeng/msg-async-cleanup
msg/async: batch handle numevents.

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-10-18 10:45:48 +08:00
Kefu Chai
09010d2e4c Merge pull request #18358 from tchaikov/wip-max-pg-per-osd
osd,mon: add max-pg-per-osd limit

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 10:44:16 +08:00
Kefu Chai
62b70b36ef Merge pull request #18289 from smithfarm/wip-21762
build/ops: rpm: move ceph-*-tool binaries out of ceph-test subpackage

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-10-18 10:43:22 +08:00
gaosibei
c677fbcedf RGW: change function parameters from value to refrence
Signed-off-by: Sibei Gao  <gaosb@inspur.com>
2017-10-18 08:49:45 +08:00
Matt Benjamin
8923664ed7 Merge pull request #18184 from oritwas/wip-rgw-21725
rgw: disable dynamic resharding in multisite environment
2017-10-17 12:42:10 -04:00
Kefu Chai
9911e905e4 Merge pull request #16745 from Liuchang0812/object-store-repair
common, tool: update kvstore-tool to repair key/value database

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 00:24:39 +08:00
Patrick Donnelly
d96255138c
Merge PR #18281 into master
* refs/pull/18281/head:
	Fixed the readme examples
	ptl-tool: Drop Default Labelling of PRs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-17 08:12:46 -07:00
Kefu Chai
c3cd0c13a1 mon: change "mon_pg_warn_min_per_osd" to uint64_t
* this silences a warning from -Wsign-compare.
* also switch all its user to the new-style option

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 23:08:41 +08:00
Kefu Chai
0d68197376 osd,mon: change "mon_max_pg_per_osd" to uint64_t
as it should never be a negative number. if this option is disabled,
it's 0.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 23:08:41 +08:00
Kefu Chai
4c7df944c7 osd: add max-pg-per-osd limit
osd will refused to create new pgs, until its pg number is lower
than the max-pg-per-osd upper bound setting.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 23:08:40 +08:00
Casey Bodley
68544e4e16 Merge pull request #18331 from Yan-waller/wip-walle-1008vstartrgw
vstart.sh: move rgw configuration to client.rgw section

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-10-17 11:06:53 -04:00
Jos Collin
3d13279b95 Fixed the readme examples
Fixed the readme examples, according to the new --label definition.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-17 20:33:33 +05:30
Jos Collin
65ddee2c3e ptl-tool: Drop Default Labelling of PRs
Dropped default labelling of PRs. Allowed --label '', which won't label the PR. The user can omit --label too, if the PR should not be labelled.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-17 20:20:36 +05:30
Jos Collin
24dacf5bf5 Merge pull request #18231 from batrick/ptl-tool-labeled-prs
ptl-tool: load labeled PRs

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-17 14:09:14 +00:00
xie xingguo
4667280f8a osd/PrimaryLogPG: trigger auto-repair on full-object-size CRC error
There are still FileStore users and the full-object CRC might be able
to catch silently returned data errors. Since we support auto-repair now,
let's trigger an auto-repair process instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-17 20:23:05 +08:00
Kefu Chai
a27668bf5f common/lockdep: do not set std::string using braces
this silences follow warning from clang:

ceph/src/common/lockdep.cc:219:12: warning: braces around scalar initializer [-Wbraced-scalar-init]
    name = { "unknown" };
           ^~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 20:11:40 +08:00
Radoslaw Zarzynski
923cc63088 Revert "bluestore/fio: Fixed problem with all objects having the same hash"
This reverts commit 0eb5359273df2c92fa525683f88586878f57bb4b.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-10-17 14:10:11 +02:00
Kefu Chai
1be9dd8165 common/event_socket.h: include <errno.h> to use errno
OSX needs this also.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 19:57:39 +08:00
Kefu Chai
6cfa275a58 Merge pull request #18348 from Yan-waller/wip-walle-1017readmecmake
README.md: bump up cmake to 2.8.12

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-17 19:51:51 +08:00
Yan Jun
bf7227b62a README.md: bump up cmake to 2.8.12
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-10-17 19:27:26 +08:00
Jos Collin
06f2295ad2 rgw: Access RGWConf through RGWEnv
Created functions rgw_conf_get_enable_ops_log(), rgw_conf_get_enable_usage_log() and
rgw_conf_get_defer_to_bucket_acls() and the necessary changes to provide the access of RGWConf through RGWEnv.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-17 15:02:13 +05:30
Wido den Hollander
fb6180859e
doc: Remove additional arguments when replacing OSD
It's not required to provide the --bluestore nor --osd-uuid option
to ceph-disk.

Using BlueStore is the default on master (e.g. Luminous) and thus
this option is not required.

When no OSD UUID is supplied ceph-disk will generate one, so we do
not need to supply one generated by uuidgen.

Signed-off-by: Wido den Hollander <wido@42on.com>
2017-10-17 11:05:23 +02:00
xie xingguo
024b5bcbf0 osd/PrimaryLogPG: do not use approx_size() for log trimming
There might be holes on log versions, thus the approx_size()
should (almost) always overestimate the actual number of log entries.
As a result, we might be at the risk of accessing violation
while searching for the oldest log entry to keep in the log list later.

Fix the above problem by counting the precise number of current
log entries instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-17 15:42:08 +08:00
Yan Jun
236f462b38 common/config: drop unused configuration item 'osd_backoff_on_down'
drop it for no more use.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-10-17 15:10:50 +08:00
Jiaying Ren
18b5482b85 rgw: update outdated debug func name
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-10-17 15:03:25 +08:00
Kefu Chai
ac643bcf86 Merge pull request #18081 from zhsj/revert-15089-add-mirror
doc: change cn mirror to ustc domain

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-17 13:07:19 +08:00
Kefu Chai
f990847a8f Merge pull request #18312 from shinobu-x/sk-buffer_20171015
common/buffer: cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-17 13:03:20 +08:00
Kefu Chai
82e3a760f7 Merge pull request #18318 from Linbing/wip-bluestore-compression
bluestore:  comp_min_blob_size init error

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-17 13:02:35 +08:00
Kefu Chai
08fad1f799 Merge pull request #18279 from lixiaoy1/rmrange
os/bluestore: use db->rm_range_keys to delete range of keys

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-17 13:01:30 +08:00