]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agolibrbd: list_children should not attempt to refresh image 18114/head
Jason Dillaman [Wed, 4 Oct 2017 14:46:46 +0000 (10:46 -0400)]
librbd: list_children should not attempt to refresh image

The snap_lock is being held when this method is invoked, which can
result in a deadlock.

Fixes: http://tracker.ceph.com/issues/21670
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18089 from liewegas/wip-localpool-min-size
Sage Weil [Wed, 4 Oct 2017 13:26:07 +0000 (08:26 -0500)]
Merge pull request #18089 from liewegas/wip-localpool-min-size

mgr/localpool: default to 3x; allow min_size adjustment

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agomgr/localpool: fix rule selection 18089/head
Sage Weil [Wed, 4 Oct 2017 13:25:38 +0000 (08:25 -0500)]
mgr/localpool: fix rule selection

The 'osd pool create' arg parsing is broken; the rule name for
'ceph osd pool create $name $numpgs replicated $rulename' is passed
via the erasure_code_profile param.  Too many req=false options
without a way to disambiguate them.

Work around it by passing both 'rule' and 'erasure_code_profile'
keys, so that if/when the hack in OSDMonitor.cc is removed it will
still work.  Blech.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18048 from badone/wip-boost-mirrors
Kefu Chai [Wed, 4 Oct 2017 02:28:35 +0000 (10:28 +0800)]
Merge pull request #18048 from badone/wip-boost-mirrors

make-dist,cmake: Try multiple URLs to download boost before failing

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomake-dist,cmake: Try multiple URLs to download boost before failing 18048/head
Brad Hubbard [Thu, 28 Sep 2017 05:28:53 +0000 (15:28 +1000)]
make-dist,cmake: Try multiple URLs to download boost before failing

Remove SPOF during boost download for make-dist and later cmake > 3.7

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #18097 from dillaman/wip-21663
Mykola Golub [Tue, 3 Oct 2017 20:39:54 +0000 (23:39 +0300)]
Merge pull request #18097 from dillaman/wip-21663

qa/workunits/rbd: fixed variable name for resync image id

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #18052 from xiexingguo/wip-clear-pin-stats-invalid
Yuri Weinstein [Tue, 3 Oct 2017 19:34:39 +0000 (12:34 -0700)]
Merge pull request #18052 from xiexingguo/wip-clear-pin-stats-invalid

osd/PrimaryLogPG: clear pin_stats_invalid bit properly on scrub-repair completion

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18061 from xiexingguo/wip-crc
Yuri Weinstein [Tue, 3 Oct 2017 19:34:19 +0000 (12:34 -0700)]
Merge pull request #18061 from xiexingguo/wip-crc

osd/PrimaryLogPG: do not set data/omap digest blindly

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18066 from shun-s/wip-objectstore-tool
Yuri Weinstein [Tue, 3 Oct 2017 19:33:56 +0000 (12:33 -0700)]
Merge pull request #18066 from shun-s/wip-objectstore-tool

tool: change default objectstore from filestore to bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18078 from liewegas/wip-21614
Yuri Weinstein [Tue, 3 Oct 2017 19:33:29 +0000 (12:33 -0700)]
Merge pull request #18078 from liewegas/wip-21614

qa/suites/rados/singleton/all/recover-preemption: handle slow starting osd

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18095 from ceph/wip-bz1491250
Andrew Schoen [Tue, 3 Oct 2017 18:17:32 +0000 (13:17 -0500)]
Merge pull request #18095 from ceph/wip-bz1491250

ceph-volume lvm list

Reviewed by: Andrew Schoen <aschoen@redhat.com>

7 years agodoc/ceph-volume add lvm/list to the toctree 18095/head
Alfredo Deza [Tue, 3 Oct 2017 15:41:10 +0000 (11:41 -0400)]
doc/ceph-volume add lvm/list to the toctree

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume create the reference for the list sub-command
Alfredo Deza [Tue, 3 Oct 2017 15:36:06 +0000 (11:36 -0400)]
doc/ceph-volume create the reference for the list sub-command

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume add create and list to the index
Alfredo Deza [Tue, 3 Oct 2017 15:35:39 +0000 (11:35 -0400)]
doc/ceph-volume add create and list to the index

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests create a unit test module for listing features
Alfredo Deza [Tue, 3 Oct 2017 12:59:37 +0000 (08:59 -0400)]
ceph-volume tests create a unit test module for listing features

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa/workunits/rbd: fixed variable name for resync image id 18097/head
Jason Dillaman [Tue, 3 Oct 2017 17:25:33 +0000 (13:25 -0400)]
qa/workunits/rbd: fixed variable name for resync image id

Fixes: http://tracker.ceph.com/issues/21663
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18006 from adamwg/awg/rbd-mirror-default-data-pool
Jason Dillaman [Tue, 3 Oct 2017 17:19:21 +0000 (13:19 -0400)]
Merge pull request #18006 from adamwg/awg/rbd-mirror-default-data-pool

rbd-mirror: Improve data pool selection when creating images

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17721 from amitkumar50/cov-librbd-4
Jason Dillaman [Tue, 3 Oct 2017 17:18:29 +0000 (13:18 -0400)]
Merge pull request #17721 from amitkumar50/cov-librbd-4

librbd: address coverity false positives

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17696 from amitkumar50/cov-librbd-3
Jason Dillaman [Tue, 3 Oct 2017 17:18:16 +0000 (13:18 -0400)]
Merge pull request #17696 from amitkumar50/cov-librbd-3

librbd: address coverity false positives

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17660 from gmayyyha/striping-feature-21360
Jason Dillaman [Tue, 3 Oct 2017 17:17:25 +0000 (13:17 -0400)]
Merge pull request #17660 from gmayyyha/striping-feature-21360

librbd: fix don't send get_stripe_unit_count if striping is not enabled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #17461 from PCzhangPC/bench_rw_test
Jason Dillaman [Tue, 3 Oct 2017 17:16:24 +0000 (13:16 -0400)]
Merge pull request #17461 from PCzhangPC/bench_rw_test

 rbd:introduce rbd bench rw(for read and write mix) test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17576 from ceph/wip-rm-1-minsize
Josh Durgin [Tue, 3 Oct 2017 16:45:45 +0000 (09:45 -0700)]
Merge pull request #17576 from ceph/wip-rm-1-minsize

qa/tests/rados: Remove unsupported 2-size-1-min-size config

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoceph-volume tests create a small factory fixture
Alfredo Deza [Tue, 3 Oct 2017 12:59:01 +0000 (08:59 -0400)]
ceph-volume tests create a small factory fixture

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests ensure Volume.as_dict gets populated correctly
Alfredo Deza [Mon, 2 Oct 2017 18:40:41 +0000 (14:40 -0400)]
ceph-volume tests ensure Volume.as_dict gets populated correctly

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.listing initial take on listing command
Alfredo Deza [Mon, 2 Oct 2017 18:31:57 +0000 (14:31 -0400)]
ceph-volume lvm.listing initial take on listing command

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.api be able to return a dictionary repr of a Volume object
Alfredo Deza [Mon, 2 Oct 2017 16:35:13 +0000 (12:35 -0400)]
ceph-volume lvm.api be able to return a dictionary repr of a Volume object

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume process allows to fully mute terminal output on commands
Alfredo Deza [Mon, 2 Oct 2017 16:12:57 +0000 (12:12 -0400)]
ceph-volume process allows to fully mute terminal output on commands

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.api use a helper to get an lv from an arg
Alfredo Deza [Thu, 14 Sep 2017 11:35:47 +0000 (07:35 -0400)]
ceph-volume lvm.api use a helper to get an lv from an arg

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm add listing module to main
Alfredo Deza [Wed, 13 Sep 2017 12:23:40 +0000 (08:23 -0400)]
ceph-volume lvm add listing module to main

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #18053 from ownedu/wip-fix-async-rdma-tx-buffer-leakage
Haomai Wang [Tue, 3 Oct 2017 09:53:43 +0000 (04:53 -0500)]
Merge pull request #18053 from ownedu/wip-fix-async-rdma-tx-buffer-leakage

msg/async/rdma: fix Tx buffer leakage that can introduce "heartbeat no reply"

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Alex Mikheev <alexm@mellanox.com>
7 years agoMerge pull request #17997 from ivancich/wip-bring-in-latest-dmclock
Kefu Chai [Tue, 3 Oct 2017 04:21:08 +0000 (12:21 +0800)]
Merge pull request #17997 from ivancich/wip-bring-in-latest-dmclock

osd: bring in latest dmclock library updates

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18003 from cbodley/wip-build-options-move
Sage Weil [Tue, 3 Oct 2017 02:47:22 +0000 (21:47 -0500)]
Merge pull request #18003 from cbodley/wip-build-options-move

common: use move instead of copy in build_options()

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #18029 from jdurgin/wip-kvstore-tool
Josh Durgin [Mon, 2 Oct 2017 23:33:25 +0000 (16:33 -0700)]
Merge pull request #18029 from jdurgin/wip-kvstore-tool

ceph-kvstore-tool: copy to different store type and cleanup properly

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomgr/localpool: optionally adjust min_size too
Sage Weil [Mon, 2 Oct 2017 22:11:46 +0000 (17:11 -0500)]
mgr/localpool: optionally adjust min_size too

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/localpool: default to 3x
Sage Weil [Mon, 2 Oct 2017 22:11:38 +0000 (17:11 -0500)]
mgr/localpool: default to 3x

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17999 from cbodley/wip-21576
Casey Bodley [Mon, 2 Oct 2017 20:57:29 +0000 (16:57 -0400)]
Merge pull request #17999 from cbodley/wip-21576

rgw: include SSE-KMS headers in encrypted upload response

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agoMerge pull request #18063 from oritwas/wip-rgw-21610
Casey Bodley [Mon, 2 Oct 2017 14:44:34 +0000 (10:44 -0400)]
Merge pull request #18063 from oritwas/wip-rgw-21610

doc: replace region with zonegroup in configure bucket sharding section

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18077 from joscollin/wip-drop-unused-function-declaration
Sage Weil [Mon, 2 Oct 2017 13:41:19 +0000 (08:41 -0500)]
Merge pull request #18077 from joscollin/wip-drop-unused-function-declaration

os/kstore: Drop unused function declaration

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18046 from mdw-at-linuxbox/master-awsv4-sort
Matt Benjamin [Mon, 2 Oct 2017 13:26:33 +0000 (09:26 -0400)]
Merge pull request #18046 from mdw-at-linuxbox/master-awsv4-sort

radosgw: fix awsv4 header line sort order.

7 years agoMerge pull request #18075 from dragonylffly/wip-remove-unused-declaration
Sage Weil [Mon, 2 Oct 2017 12:24:10 +0000 (07:24 -0500)]
Merge pull request #18075 from dragonylffly/wip-remove-unused-declaration

os/bluestore: drop unused function declaration

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/singleton/all/recover-preemption: handle slow starting osd 18078/head
Sage Weil [Mon, 2 Oct 2017 12:20:57 +0000 (07:20 -0500)]
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>
7 years agoMerge pull request #18067 from trociny/wip-qa-pg_num
Jason Dillaman [Mon, 2 Oct 2017 12:20:09 +0000 (08:20 -0400)]
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>
7 years agoMerge pull request #18076 from joscollin/wip-contributor-list-maintenance-guide
Jos Collin [Mon, 2 Oct 2017 10:36:50 +0000 (10:36 +0000)]
Merge pull request #18076 from joscollin/wip-contributor-list-maintenance-guide

mailmap: Fixed maintenance guide URL

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #17735 from jcsp/wip-mgr-perf-interface
John Spray [Mon, 2 Oct 2017 10:12:35 +0000 (11:12 +0100)]
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>
7 years agoMerge pull request #18069 from trociny/wip-affiliation
Jos Collin [Mon, 2 Oct 2017 10:04:58 +0000 (10:04 +0000)]
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>
7 years agoos/kstore: Drop unused function declaration 18077/head
Jos Collin [Mon, 2 Oct 2017 09:58:27 +0000 (15:28 +0530)]
os/kstore: Drop unused function declaration

Dropped unnecessary function declaration _do_transaction() in KStore.h

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agomailmap: Fixed maintenance guide URL 18076/head
Jos Collin [Mon, 2 Oct 2017 09:06:06 +0000 (14:36 +0530)]
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>
7 years agomailmap, organizationmap: update affiliation for Mykola Golub 18069/head
Mykola Golub [Sun, 1 Oct 2017 15:10:01 +0000 (17:10 +0200)]
mailmap, organizationmap: update affiliation for Mykola Golub

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoos/bluestore/BlueStore: remove unused declaration 18075/head
Li Wang [Mon, 2 Oct 2017 07:30:09 +0000 (07:30 +0000)]
os/bluestore/BlueStore: remove unused declaration

Signed-off-by: Li Wang <laurence.liwang@gmail.com>
7 years agoMerge pull request #18022 from neha-ojha/wip-21566
Kefu Chai [Mon, 2 Oct 2017 03:41:07 +0000 (11:41 +0800)]
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>
7 years agoMerge pull request #18059 from Liuchang0812/remove-duplicated-func
Kefu Chai [Mon, 2 Oct 2017 03:40:31 +0000 (11:40 +0800)]
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>
7 years agoMerge pull request #17913 from rzarzynski/wip-bs-bulky_disk_releases
Kefu Chai [Mon, 2 Oct 2017 03:37:44 +0000 (11:37 +0800)]
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>

7 years agoMerge pull request #17752 from XinzeChi/wip-force-recovery
Kefu Chai [Mon, 2 Oct 2017 03:35:32 +0000 (11:35 +0800)]
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>
7 years agoMerge pull request #17728 from ygtzf/cleanup-unused-parameter
Kefu Chai [Mon, 2 Oct 2017 03:34:39 +0000 (11:34 +0800)]
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>
7 years agoMerge pull request #16843 from amitkumar50/cov-radosstriper
Kefu Chai [Mon, 2 Oct 2017 03:33:52 +0000 (11:33 +0800)]
Merge pull request #16843 from amitkumar50/cov-radosstriper

rados: Intializing members class StriperTest

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17912 from ceph/docs-min-size
Sage Weil [Mon, 2 Oct 2017 02:35:10 +0000 (21:35 -0500)]
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>
7 years agoMerge pull request #17931 from jcsp/wip-21518
Sage Weil [Mon, 2 Oct 2017 02:34:09 +0000 (21:34 -0500)]
Merge pull request #17931 from jcsp/wip-21518

mgr/zabbix: fix div by zero

Reviewed-by: Wido den Hollander <wido@42on.com>
7 years agoMerge pull request #18040 from joscollin/wip-guide-submitting-patches-typo
Sage Weil [Mon, 2 Oct 2017 02:29:07 +0000 (21:29 -0500)]
Merge pull request #18040 from joscollin/wip-guide-submitting-patches-typo

doc: Fix typo and URL

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18060 from dragonylffly/wip-revise-organization
Sage Weil [Mon, 2 Oct 2017 02:24:19 +0000 (21:24 -0500)]
Merge pull request #18060 from dragonylffly/wip-revise-organization

doc: update Li Wang Affiliation

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/workunits/rbd: pool create may fail for small cluster 18067/head
Mykola Golub [Sat, 30 Sep 2017 17:56:48 +0000 (19:56 +0200)]
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>
7 years agoAddressing CR comments from alex-mikheev (Alex Mikheev), to use a single 18053/head
ownedu [Sun, 1 Oct 2017 10:27:52 +0000 (18:27 +0800)]
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>
7 years agoMerge pull request #18043 from dillaman/wip-21567
Mykola Golub [Sun, 1 Oct 2017 09:32:58 +0000 (12:32 +0300)]
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>
7 years agoMerge pull request #18042 from dillaman/wip-21529
Mykola Golub [Sun, 1 Oct 2017 09:28:05 +0000 (12:28 +0300)]
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>
7 years agoMerge pull request #18026 from dillaman/wip-21535
Mykola Golub [Sun, 1 Oct 2017 09:27:26 +0000 (12:27 +0300)]
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>
7 years agoMerge pull request #17992 from dillaman/wip-21558
Mykola Golub [Sun, 1 Oct 2017 09:26:28 +0000 (12:26 +0300)]
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>
7 years agoAddressing CR comments from tchaikov (Kefu Chai).
ownedu [Sun, 1 Oct 2017 09:07:53 +0000 (17:07 +0800)]
Addressing CR comments from tchaikov (Kefu Chai).

Signed-off-by: Yan Lei <yongyou.yl@alibaba-inc.com>
7 years agotool: change default objectstore from filestore to bluestore 18066/head
Song Shun [Sun, 1 Oct 2017 09:01:46 +0000 (17:01 +0800)]
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>
7 years agoMerge pull request #17989 from mkogan1/wip-rgw-21151
Orit Wasserman [Sun, 1 Oct 2017 08:39:33 +0000 (11:39 +0300)]
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>
7 years agodoc: replace region with zonegroup in configure bucket sharding section 18063/head
Orit Wasserman [Sun, 1 Oct 2017 05:40:27 +0000 (08:40 +0300)]
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>
7 years agoMerge PR #18041 into master
Patrick Donnelly [Sun, 1 Oct 2017 00:43:56 +0000 (17:43 -0700)]
Merge PR #18041 into master

* refs/remotes/upstream/pull/18041/head:
qa: relax cap expected value check

7 years agoMerge PR #17990 into master
Patrick Donnelly [Sun, 1 Oct 2017 00:43:54 +0000 (17:43 -0700)]
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>
7 years agoMerge PR #17935 into master
Patrick Donnelly [Sun, 1 Oct 2017 00:43:52 +0000 (17:43 -0700)]
Merge PR #17935 into master

* refs/remotes/upstream/pull/17935/head:
ceph_volume_client: fix setting caps for IDs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #17958 from gaosibei/branch1
Marcus Watts [Sat, 30 Sep 2017 22:30:02 +0000 (18:30 -0400)]
Merge pull request #17958 from gaosibei/branch1

RGW: fix a bug about inconsistent unit of comparison

7 years agoosd/PrimaryLogPG: do not set data/omap digest blindly 18061/head
xie xingguo [Sat, 30 Sep 2017 08:49:20 +0000 (16:49 +0800)]
osd/PrimaryLogPG: do not set data/omap digest blindly

As bluestore has bulitin csum, we generally no longer generate
object data digest for now. The consequence is that we should
handle data/omap digest more carefully to make certain ops,
such as copy_from/promote, to work properly since they heavily
relies on data digest for data transfer correctness.

Example of failure:
http://pulpito.ceph.com/xxg-2017-09-30_11:46:34-rbd-master-distro-basic-mira/1690609/

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agodoc: revise organization 18060/head
Li Wang [Sat, 30 Sep 2017 10:39:36 +0000 (10:39 +0000)]
doc: revise organization

Signed-off-by: Li Wang <laurence.liwang@gmail.com>
7 years agoosd: remove duplicated function ec_pool in pg_pool_t 18059/head
Chang Liu [Sat, 30 Sep 2017 08:03:25 +0000 (16:03 +0800)]
osd: remove duplicated function ec_pool in pg_pool_t

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
7 years agoMerge pull request #15199 from xiexingguo/wip-object-logic-size
Xie Xingguo [Sat, 30 Sep 2017 06:50:32 +0000 (14:50 +0800)]
Merge pull request #15199 from xiexingguo/wip-object-logic-size

osd: fine-grained statistics of logical object space usage

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16884 from liewegas/wip-20919
Kefu Chai [Sat, 30 Sep 2017 04:14:14 +0000 (12:14 +0800)]
Merge pull request #16884 from liewegas/wip-20919

osd/PrimaryLogPG: send requests to primary on cache miss

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #17955 from asomers/bin_bash2
Kefu Chai [Sat, 30 Sep 2017 04:13:35 +0000 (12:13 +0800)]
Merge pull request #17955 from asomers/bin_bash2

test: fix bash path in shebangs (part 2)

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17985 from dzafman/wip-21327
Kefu Chai [Sat, 30 Sep 2017 04:12:25 +0000 (12:12 +0800)]
Merge pull request #17985 from dzafman/wip-21327

ceph-objectstore-tool: "$OBJ get-omaphdr" and "$OBJ list-omap" scan all pgs instead of using specific pg

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18005 from jcsp/wip-21577
Kefu Chai [Sat, 30 Sep 2017 04:11:21 +0000 (12:11 +0800)]
Merge pull request #18005 from jcsp/wip-21577

tools: update monstore tool for fsmap, mgrmap

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18015 from tchaikov/wip-kill-warnings
Kefu Chai [Sat, 30 Sep 2017 04:10:49 +0000 (12:10 +0800)]
Merge pull request #18015 from tchaikov/wip-kill-warnings

osd,os/bluestore: kill clang analyzer warnings

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18018 from tchaikov/wip-ceph-disk-cleanup
Kefu Chai [Sat, 30 Sep 2017 04:10:06 +0000 (12:10 +0800)]
Merge pull request #18018 from tchaikov/wip-ceph-disk-cleanup

ceph-disk: more precise error message when a disk is specified

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18034 from tchaikov/wip-options
Kefu Chai [Sat, 30 Sep 2017 04:07:15 +0000 (12:07 +0800)]
Merge pull request #18034 from tchaikov/wip-options

common/options: pass by reference and use user-literals for size

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agomsg/async/rdma: fix Tx buffer leakage which can introduce "heartbeat no
ownedu [Sat, 30 Sep 2017 02:14:39 +0000 (10:14 +0800)]
msg/async/rdma: fix Tx buffer leakage which can introduce "heartbeat no
reply" due to out of Tx buffers, this can be reproduced by marking some
OSDs down in a big Ceph cluster, say 300+ OSDs.

rootcause: when RDMAStack wants to delete faulty connections there are
chances that those QPs still have inflight CQEs, thus inflight Tx
buffers; without waiting for them to complete, Tx buffer pool will run
out of buffers finally.

fix: ideally the best way to fix this bug is to destroy QPs gracefully
such as to_dead(), we now just reply on the number of Tx WQE and CQE to
avoid buffer leakage; RDMAStack polling is always running so we are safe
to simply bypass some QPs that are not in 'complete' state.

Signed-off-by: Yan Lei <yongyou.yl@alibaba-inc.com>
7 years agodoc: Fix URL in Licensing 18040/head
Jos Collin [Sat, 30 Sep 2017 02:08:59 +0000 (07:38 +0530)]
doc: Fix URL in Licensing

Fixed the unnecessary URL format in the text. Modify the URL formatting to highlight only the file name seems better.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoosd/PrimaryLogPG: clear pin_stats_invalid bit properly on scrub-repair completion 18052/head
xie xingguo [Sat, 30 Sep 2017 01:59:53 +0000 (09:59 +0800)]
osd/PrimaryLogPG: clear pin_stats_invalid bit properly on scrub-repair completion

We have done audit of stats and the numbers should be all ok by then.
Actually the pin_stats_invalid bit is never set true, so forgetting
to clear pin_stats_invalid here generally does harm. Also we could simply
kill the pin_stats_invalid bit instead but let's not bother with that
complexity either.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoradosgw: fix awsv4 header line sort order. 18046/head
Marcus Watts [Fri, 29 Sep 2017 21:04:08 +0000 (17:04 -0400)]
radosgw: fix awsv4 header line sort order.

The awsv4 signature calculation includes a list of header lines, which
are supposed to be sorted.  The existing code sorts by header name, but
it appears that in fact it is necessary to sort the whole header *line*,
not just the field name.  Sorting by just the field name usually works,
but not always.  The s3-tests teuthology suite includes
s3tests.functional.test_s3.test_object_header_acl_grants
s3tests.functional.test_s3.test_bucket_header_acl_grants
which include the following header lines,

x-amz-grant-read-acp:id=56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234
x-amz-grant-read:id=56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234
x-amz-grant-write-acp:id=56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234
x-amz-grant-write:id=56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234

in this case, note that ':' needs to sort after '-'.

Fixes: http://tracker.ceph.com/issues/21607
Signed-off-by: Marcus Watts <mwatts@redhat.com>
7 years agoMerge pull request #17971 from idryomov/wip-krbd-exclude-shared-298
Jason Dillaman [Fri, 29 Sep 2017 20:07:59 +0000 (16:07 -0400)]
Merge pull request #17971 from idryomov/wip-krbd-exclude-shared-298

qa/suites/krbd: exclude shared/298

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: snapshots should be created/removed against data pool 18043/head
Jason Dillaman [Fri, 29 Sep 2017 19:11:38 +0000 (15:11 -0400)]
librbd: snapshots should be created/removed against data pool

Fixes: http://tracker.ceph.com/issues/21567
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoos/bluestore: drop support for non-bulky extent release. 17913/head
Radoslaw Zarzynski [Sun, 10 Sep 2017 12:05:26 +0000 (14:05 +0200)]
os/bluestore: drop support for non-bulky extent release.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoos/bluestore: release txc's extents in bulky manner.
Radoslaw Zarzynski [Fri, 22 Sep 2017 13:56:17 +0000 (15:56 +0200)]
os/bluestore: release txc's extents in bulky manner.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoos/bluestore: BlueFS releases disk extents in bulky manner.
Radoslaw Zarzynski [Sun, 10 Sep 2017 12:04:45 +0000 (14:04 +0200)]
os/bluestore: BlueFS releases disk extents in bulky manner.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agolibrbd: avoid dynamically refreshing non-atomic configuration settings 18042/head
Jason Dillaman [Fri, 29 Sep 2017 16:22:57 +0000 (12:22 -0400)]
librbd: avoid dynamically refreshing non-atomic configuration settings

Fixes: http://tracker.ceph.com/issues/21529
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17920 from dzafman/wip-21382
David Zafman [Fri, 29 Sep 2017 16:04:43 +0000 (09:04 -0700)]
Merge pull request #17920 from dzafman/wip-21382

Erasure code recovery should send additional reads if necessary

Fixes: http://tracker.ceph.com/issues/21382
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa: relax cap expected value check 18041/head
Patrick Donnelly [Fri, 29 Sep 2017 15:48:14 +0000 (08:48 -0700)]
qa: relax cap expected value check

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agolibrbd: notify watcher when updating image metadata
Dongsheng Yang [Fri, 11 Aug 2017 09:44:19 +0000 (17:44 +0800)]
librbd: notify watcher when updating image metadata

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
7 years agoMerge pull request #18036 from ownedu/wip-fix-asyncrdma-coredump
Haomai Wang [Fri, 29 Sep 2017 15:33:14 +0000 (10:33 -0500)]
Merge pull request #18036 from ownedu/wip-fix-asyncrdma-coredump

msg/async/rdma: fix a potential coredump when handling tx_buffers under heavy RDMA

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agodoc: Update rbd-mirror docs to reflect data pool selection changes 18006/head
Adam Wolfe Gordon [Fri, 29 Sep 2017 15:32:38 +0000 (15:32 +0000)]
doc: Update rbd-mirror docs to reflect data pool selection changes

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
7 years agorbd-mirror: Improve data pool selection when creating images
Adam Wolfe Gordon [Tue, 26 Sep 2017 20:30:06 +0000 (20:30 +0000)]
rbd-mirror: Improve data pool selection when creating images

Previously we used the source image's data pool name
unconditionally. There were two problems with that:

1. If a pool with the same name didn't exist locally, creation of the
   local image would fail.
2. If the local pool had a default data pool configured it would be
   ignored.

Change local image creation so it uses the default pool if configured,
and uses the remote pool name only if a pool with that name exists
locally. If neither of those is true, leave the data pool unset.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>