Commit Graph

79045 Commits

Author SHA1 Message Date
Li Wang
5d7e612ea6 tools: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
efa6442e78 test: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
65be34c25c rgw: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
749e640dd7 rbd_replay: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
1156d9d96e mon: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
050e987265 mgr: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
b5ab2c35e2 librbd: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
ad340aa41a key_value_store: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Li Wang
a5bdeaefad journal: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 14:43:17 +00:00
Sage Weil
c3e51c97fc Merge pull request #18077 from joscollin/wip-drop-unused-function-declaration
os/kstore: Drop unused function declaration

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-02 08:41:19 -05:00
Matt Benjamin
8c344366da Merge pull request #18046 from mdw-at-linuxbox/master-awsv4-sort
radosgw: fix awsv4 header line sort order.
2017-10-02 09:26:33 -04:00
Sage Weil
f5e0216060 Merge pull request #18075 from dragonylffly/wip-remove-unused-declaration
os/bluestore: drop unused function declaration

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-02 07:24:10 -05:00
Sage Weil
76d84ac194 qa/suites/rados/singleton/all/recover-preemption: handle slow starting osd
The OSD may not be marked up yet; set the config via the admin
socket.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-02 07:20:57 -05:00
Jason Dillaman
a2702d70dc Merge pull request #18067 from trociny/wip-qa-pg_num
qa/workunits/rbd: pool create may fail for small cluster

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-02 08:20:09 -04:00
Jos Collin
c9cbe9348d Merge pull request #18076 from joscollin/wip-contributor-list-maintenance-guide
mailmap: Fixed maintenance guide URL

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-10-02 10:36:50 +00:00
John Spray
47bfe6cf17 Merge pull request #17735 from jcsp/wip-mgr-perf-interface
mgr: common interface for TSDB modules

Reviewed-by: My Do <mhdo@umich.edu>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-10-02 11:12:35 +01:00
Jos Collin
de39d5e9bd Merge pull request #18069 from trociny/wip-affiliation
mailmap: update affiliation for Mykola Golub

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-10-02 10:04:58 +00:00
Jos Collin
2fb46354ca os/kstore: Drop unused function declaration
Dropped unnecessary function declaration _do_transaction() in KStore.h

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-02 15:29:30 +05:30
Jos Collin
3f98776562 mailmap: Fixed maintenance guide URL
Fixed the Contributors List Maintenance Guide URL in .mailmap, .organizationmap, .githubmap and .peoplemap

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-02 14:36:15 +05:30
Mykola Golub
7dd3cfc8cb mailmap, organizationmap: update affiliation for Mykola Golub
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-02 10:41:35 +02:00
Li Wang
d5fdfa1c2a os/bluestore/BlueStore: remove unused declaration
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 07:30:09 +00:00
Li Wang
e482d2ea70 common: assert(false)->ceph_abort()
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2017-10-02 07:19:31 +00:00
gaosibei
97f95e457f RGW: Multipart upload may double the quota
Fixes: http://tracker.ceph.com/issues/21586

Signed-off-by: Sibei Gao <gaosb@inspur.com>
2017-10-02 11:49:12 +08:00
Kefu Chai
314dff75a4 Merge pull request #18022 from neha-ojha/wip-21566
osd: hold lock while accessing recovery_needs_sleep

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-02 11:41:07 +08:00
Kefu Chai
7a663ae9da Merge pull request #18059 from Liuchang0812/remove-duplicated-func
osd: remove duplicated function ec_pool in pg_pool_t

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-02 11:40:31 +08:00
Kefu Chai
8233596870 Merge pull request #17913 from rzarzynski/wip-bs-bulky_disk_releases
os/bluestore: release disk extents in bulky manner

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed: Sage Weil <sage@redhat.com>
2017-10-02 11:37:44 +08:00
Kefu Chai
002467953d Merge pull request #17752 from XinzeChi/wip-force-recovery
osd: set min_version to newest version in maybe_force_recovery

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-02 11:35:32 +08:00
Kefu Chai
dd4e4ed3fe Merge pull request #17728 from ygtzf/cleanup-unused-parameter
mon: cleanup unused option mon_health_data_update_interval

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-02 11:34:39 +08:00
Kefu Chai
ebf39a2235 Merge pull request #16843 from amitkumar50/cov-radosstriper
rados: Intializing members class StriperTest

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-02 11:33:52 +08:00
Sage Weil
f7782427ab Merge pull request #17912 from ceph/docs-min-size
docs: Do not use "min size = 1" as an example

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-10-01 21:35:10 -05:00
Sage Weil
e10b527dae Merge pull request #17931 from jcsp/wip-21518
mgr/zabbix: fix div by zero

Reviewed-by: Wido den Hollander <wido@42on.com>
2017-10-01 21:34:09 -05:00
Sage Weil
6467fcaff2 Merge pull request #18040 from joscollin/wip-guide-submitting-patches-typo
doc: Fix typo and URL

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-01 21:29:07 -05:00
Sage Weil
0885e9a9d7 Merge pull request #18060 from dragonylffly/wip-revise-organization
doc: update Li Wang Affiliation

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-01 21:24:19 -05:00
Sage Weil
6e829a3a7c osd: make note about when we get MBackfillReserve REJECT messages
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-01 15:07:57 -05:00
Sage Weil
ab8f1d2912 osd/PG: handle RecoveryReservationRejected in RepWaitRecoveryReserved
This state is analogous to RepWaitBackfillReserved; just like we do there
we want to handle the REJECT from the primary by canceling our local
remote_reservation.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-01 15:06:22 -05:00
Sage Weil
1ce235c5dd osd/PG: ignore RemoteReservationRejected if we are RepNotRecoverying
The primary may send us a REJECT (meaning cancel) if recovery/backfill is
preempted there.  That can happen even if the recovery isn't reserved or
requested here (e.g., because the primary is still waiting for the local
reservation).  Just ignore it and remain in RepNotRecovering.

Fixes: http://tracker.ceph.com/issues/21613
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-01 15:06:22 -05:00
Sage Weil
f5809afb0f osd/PG: cancel local reservation in RemoteReservationRejected handler
We can get a RemoteReservationRejected event either because *we* decide
to reject, or because we get a REJECT from the primary that means "cancel"
(e.g., because recovery/backfill was preempted there).  In both cases we
want to cancel our remote_reservation.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-01 15:06:22 -05:00
Sage Weil
57d18f0e8d osd/PG: move reject_reservation out of RemoteReservationRejected reaction
The RemoteReservationRejected event is also submitted when we are a
replica or backfill target and get a MBackfillReserve REJECT message
because the primary canceled or was preempted.  In that case, we don't
want to send a REJECT back to the primary; we only need to send it in the
cases where *we*, locally, decide to reject.  Move the call to those call
sites.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-01 15:06:19 -05:00
Mykola Golub
fcaffe7e01 qa/workunits/rbd: pool create may fail for small cluster
ceph osd pool create test 100
Error ERANGE:  pg_num 100 size 3 would mean 648 total pgs, which exceeds max 600 (mon_max_pg_per_osd 200 * num_in_osds 3)

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-01 16:36:17 +02:00
ownedu
e3237714e4 Addressing CR comments from alex-mikheev (Alex Mikheev), to use a single
atomic counter for inflight Tx CQEs.

Signed-off-by: Yan Lei <yongyou.yl@alibaba-inc.com>
2017-10-01 18:27:52 +08:00
Mykola Golub
af33467301 Merge pull request #18043 from dillaman/wip-21567
librbd: snapshots should be created/removed against data pool

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-01 12:32:58 +03:00
Mykola Golub
3e3a69a54b Merge pull request #18042 from dillaman/wip-21529
librbd: image-meta config overrides should be dynamically refreshed

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-01 12:28:05 +03:00
Mykola Golub
0c9c894acf Merge pull request #18026 from dillaman/wip-21535
rbd-mirror: sync image metadata when transfering remote image

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-01 12:27:26 +03:00
Mykola Golub
2665d4448e Merge pull request #17992 from dillaman/wip-21558
librbd: hold cache_lock while clearing cache nonexistence flags

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-01 12:26:28 +03:00
ownedu
303e640c74 Addressing CR comments from tchaikov (Kefu Chai).
Signed-off-by: Yan Lei <yongyou.yl@alibaba-inc.com>
2017-10-01 17:07:53 +08:00
Song Shun
341b13c467 tool: change default objectstore from filestore to bluestore
as Luminous gets released, it's better to switch default objectstore from filestore to bluestore.

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
2017-10-01 17:04:19 +08:00
Orit Wasserman
8ef45de6af Merge pull request #17989 from mkogan1/wip-rgw-21151
rgw: update vstart.sh to support rgw ssl port notation : '--rgw_port 443s'
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-10-01 11:39:33 +03:00
Orit Wasserman
8a1034bccd doc: replace region with zonegroup in configure bucket sharding section
Fixes: http://tracker.ceph.com/issues/21610
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-10-01 08:46:22 +03:00
Patrick Donnelly
534c30aca4
Merge PR #18041 into master
* refs/remotes/upstream/pull/18041/head:
	qa: relax cap expected value check
2017-09-30 17:43:56 -07:00
Patrick Donnelly
08384c0ad5
Merge PR #17990 into master
* refs/remotes/upstream/pull/17990/head:
	mds: open purge queue when transitioning out of standby replay
	mds: always re-probe mds log when standby replay done

Reviewed-by: John Spray <john.spray@redhat.com>
2017-09-30 17:43:54 -07:00