]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoos/bluestore/bluestore_types: bluestore_onode_t: varint encoding 12488/head
Varada Kari [Thu, 15 Dec 2016 10:03:49 +0000 (15:33 +0530)]
os/bluestore/bluestore_types: bluestore_onode_t: varint encoding

Changing the uint32_t encoding to varint encoding saves around 120 bytes
per onode.

Signed-off-by: Varada Kari <varada.kari@sandisk.com>
8 years agoos/bluestore/bluestore_types: bluestore_blob_t: varint encode csum_data length
Sage Weil [Wed, 14 Dec 2016 20:13:26 +0000 (15:13 -0500)]
os/bluestore/bluestore_types: bluestore_blob_t: varint encode csum_data length

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: version shard and spanning blob buffers, not each blob
Sage Weil [Wed, 14 Dec 2016 20:09:36 +0000 (15:09 -0500)]
os/bluestore: version shard and spanning blob buffers, not each blob

Instead of versioning every blob encoding, and adding a full byte
per blob, instead version the entire shard or spanning blob
chunk, since they are always encoded together.

We overload the 'features' argument here to pass through a
struct_v.  This is slightly abusing an argument that is normally
used for feature bits, but only slightly.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoinclude/denc: pass features through to decode() on featured objects
Sage Weil [Wed, 14 Dec 2016 20:06:38 +0000 (15:06 -0500)]
include/denc: pass features through to decode() on featured objects

This allows featured objects the *option* to do something
meaningful with the features.  Generally the decoding is feature
independent, but in some cases decoding might be dependent on the
struct_v or features from a containing context and we need to
pass it through.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/bluestore_types: single byte for blob struct_v
Sage Weil [Wed, 14 Dec 2016 19:39:30 +0000 (14:39 -0500)]
os/bluestore/bluestore_types: single byte for blob struct_v

We forego decoding compatibility by older code by dropping
compat_v and len.  We have to keep struct_v per blob here because
decode doesn't have a feature bit argument (yet?).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/bluestore_types: fix bluestore_pextent_t encoding
Varada Kari [Wed, 14 Dec 2016 19:34:03 +0000 (14:34 -0500)]
os/bluestore/bluestore_types: fix bluestore_pextent_t encoding

Signed-off-by: Varada Kari <varada.kari@sandisk.com>
8 years agoMerge pull request #12453 from liewegas/qa-suite-master
Sage Weil [Wed, 14 Dec 2016 17:39:42 +0000 (11:39 -0600)]
Merge pull request #12453 from liewegas/qa-suite-master

master: merge ceph-qa-suite

8 years agomerge ceph-qa-suite 12453/head
Sage Weil [Wed, 14 Dec 2016 17:29:58 +0000 (11:29 -0600)]
merge ceph-qa-suite

8 years agomove ceph-qa-suite dirs into qa/
Sage Weil [Wed, 14 Dec 2016 17:29:55 +0000 (11:29 -0600)]
move ceph-qa-suite dirs into qa/

8 years agoRevert "tasks/workunit.py: depth 1 clone"
Sage Weil [Wed, 14 Dec 2016 17:28:23 +0000 (12:28 -0500)]
Revert "tasks/workunit.py: depth 1 clone"

This reverts commit 4faf77a649cb3f8ddf497ca81937b3dbf63a18dc.

8 years agoMerge pull request #12420 from dillaman/wip-16176
Mykola Golub [Wed, 14 Dec 2016 17:23:12 +0000 (19:23 +0200)]
Merge pull request #12420 from dillaman/wip-16176

librbd: properly order concurrent updates to the object map

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 years agoMerge pull request #1307 from ceph/wip-workunit-repo
Zack Cerza [Wed, 14 Dec 2016 17:21:05 +0000 (10:21 -0700)]
Merge pull request #1307 from ceph/wip-workunit-repo

tasks/workunit: use correct git mirror url

8 years agotasks/workunit.py: depth 1 clone
Sage Weil [Wed, 14 Dec 2016 17:19:44 +0000 (12:19 -0500)]
tasks/workunit.py: depth 1 clone

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotasks/workunit: remove kludge to use git.ceph.com
Sage Weil [Wed, 14 Dec 2016 17:18:29 +0000 (12:18 -0500)]
tasks/workunit: remove kludge to use git.ceph.com

This was hard-coded to ceph.git (almost) and breaks when
you specify --ceph-repo.  Remove it entirely.  We'll see if
github.com is better at handling our load than it used to
be!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12483 from trociny/wip-18242
Jason Dillaman [Wed, 14 Dec 2016 16:40:09 +0000 (11:40 -0500)]
Merge pull request #12483 from trociny/wip-18242

rbd-nbd: invalid error code for "failed to read nbd request" messages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #1309 from ceph/wip-16800-kefu
Sage Weil [Wed, 14 Dec 2016 15:56:25 +0000 (09:56 -0600)]
Merge pull request #1309 from ceph/wip-16800-kefu

tasks/ceph: restore context of osd mount path before mkfs

8 years agoMerge pull request #12476 from liewegas/wip-vstart-rados
Sage Weil [Wed, 14 Dec 2016 15:23:52 +0000 (09:23 -0600)]
Merge pull request #12476 from liewegas/wip-vstart-rados

CMakeLists: add vstart-base target

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12393 from dachary/wip-18036-throttle
Sage Weil [Wed, 14 Dec 2016 14:54:34 +0000 (08:54 -0600)]
Merge pull request #12393 from dachary/wip-18036-throttle

tests: unittest_throttle avoid ASSERT_DEATH

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12473 from dillaman/wip-18243
Mykola Golub [Wed, 14 Dec 2016 14:51:04 +0000 (16:51 +0200)]
Merge pull request #12473 from dillaman/wip-18243

journal: avoid logging an error when a watch is blacklisted

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #1156 from ceph/wip-kclient-python
John Spray [Wed, 14 Dec 2016 14:09:13 +0000 (14:09 +0000)]
Merge pull request #1156 from ceph/wip-kclient-python

Enable cephfs python tests on kclient

8 years agoMerge pull request #11542 from batrick/systemd-ceph-fuse
John Spray [Wed, 14 Dec 2016 13:55:33 +0000 (13:55 +0000)]
Merge pull request #11542 from batrick/systemd-ceph-fuse

systemd: add ceph-fuse service file

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12337 from vishalkanaujia/wip_12132
John Spray [Wed, 14 Dec 2016 13:52:35 +0000 (13:52 +0000)]
Merge pull request #12337 from vishalkanaujia/wip_12132

tools: cleanup phase of cephfs-data-scan

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12358 from tchaikov/wip-18157
John Spray [Wed, 14 Dec 2016 13:49:33 +0000 (13:49 +0000)]
Merge pull request #12358 from tchaikov/wip-18157

ceph-fuse: start up log on parent process before shutdown

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12384 from renhwztetecs/renhw-wip-libcephfs-addreadlink
John Spray [Wed, 14 Dec 2016 12:57:21 +0000 (12:57 +0000)]
Merge pull request #12384 from renhwztetecs/renhw-wip-libcephfs-addreadlink

libcephfs: add readlink function in cephfs.pyx

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12395 from jcsp/wip-18166
John Spray [Wed, 14 Dec 2016 12:56:35 +0000 (12:56 +0000)]
Merge pull request #12395 from jcsp/wip-18166

mon/MDSMonitor: fix iterating over mutated map

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #12401 from kylinstorage/wip-typos
John Spray [Wed, 14 Dec 2016 12:56:11 +0000 (12:56 +0000)]
Merge pull request #12401 from kylinstorage/wip-typos

client: fix mutex name typos

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #12443 from jcsp/wip-18225
John Spray [Wed, 14 Dec 2016 12:52:23 +0000 (12:52 +0000)]
Merge pull request #12443 from jcsp/wip-18225

mds: release pool allocator memory after exceeding size limit

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agotasks/ceph: restore context of osd mount path before mkfs
Kefu Chai [Fri, 9 Dec 2016 18:36:52 +0000 (02:36 +0800)]
tasks/ceph: restore context of osd mount path before mkfs

all newly created files and directories under the mount dir inherit the
SELinux type of their parent directory. so we need to set it before
mkfs.

Fixes: http://tracker.ceph.com/issues/16800
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agorbd-nbd: invalid error code for "failed to read nbd request" messages 12483/head
Mykola Golub [Tue, 13 Dec 2016 16:54:17 +0000 (18:54 +0200)]
rbd-nbd: invalid error code for "failed to read nbd request" messages

Fixes: http://tracker.ceph.com/issues/18242
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12333 from xiexingguo/xxg-wip-bluestore-1206
Sage Weil [Wed, 14 Dec 2016 07:07:37 +0000 (01:07 -0600)]
Merge pull request #12333 from xiexingguo/xxg-wip-bluestore-1206

os/bluestore: fix potential csum_order overflow

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12382 from dachary/wip-18092-gf-complete
Sage Weil [Wed, 14 Dec 2016 07:06:47 +0000 (01:06 -0600)]
Merge pull request #12382 from dachary/wip-18092-gf-complete

erasure-code: synchronize with upstream gf-complete

8 years agoCMakeLists: add vstart-base target 12476/head
Sage Weil [Wed, 14 Dec 2016 06:51:25 +0000 (00:51 -0600)]
CMakeLists: add vstart-base target

No mds or radosgw.  Add rados CLI.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12459 from runsisi/wip-ec-minor-cleanup
Sage Weil [Wed, 14 Dec 2016 02:08:55 +0000 (20:08 -0600)]
Merge pull request #12459 from runsisi/wip-ec-minor-cleanup

osd/ECBackend: minor cleanup to remove duplicate code

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge remote-tracking branch 'gh/kraken'
Sage Weil [Tue, 13 Dec 2016 23:48:47 +0000 (17:48 -0600)]
Merge remote-tracking branch 'gh/kraken'

8 years agolibrbd: block concurrent in-flight object map updates for the same object 12420/head
Jason Dillaman [Fri, 9 Dec 2016 14:39:39 +0000 (09:39 -0500)]
librbd: block concurrent in-flight object map updates for the same object

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: new block guard helper to prevent concurrent IO to blocks
Jason Dillaman [Thu, 8 Dec 2016 03:38:47 +0000 (22:38 -0500)]
librbd: new block guard helper to prevent concurrent IO to blocks

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: convert ObjectMap to template for unit testing
Jason Dillaman [Thu, 8 Dec 2016 23:27:33 +0000 (18:27 -0500)]
librbd: convert ObjectMap to template for unit testing

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: clean up object map update interface
Jason Dillaman [Thu, 8 Dec 2016 03:41:56 +0000 (22:41 -0500)]
librbd: clean up object map update interface

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: update in-memory object map after on-disk update committed
Jason Dillaman [Wed, 7 Dec 2016 21:28:22 +0000 (16:28 -0500)]
librbd: update in-memory object map after on-disk update committed

Concurrent IO to the same object would previously result in the first
IO pausing to update the object map while the other IO would proceed
to directly update the object before the object map state was properly
updated.

Fixes: http://tracker.ceph.com/issues/16176
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: avoid logging an error when a watch is blacklisted 12473/head
Jason Dillaman [Tue, 13 Dec 2016 19:40:23 +0000 (14:40 -0500)]
journal: avoid logging an error when a watch is blacklisted

Fixes: http://tracker.ceph.com/issues/18243
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12447 from ifed01/wip-bluestore-fix-reshard2
Sage Weil [Tue, 13 Dec 2016 17:47:42 +0000 (11:47 -0600)]
Merge pull request #12447 from ifed01/wip-bluestore-fix-reshard2

os/bluestore: avoid resharding if the last shard size fall below shar…

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Somnath Roy <somnath.roy@sandisk.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12289 from liewegas/wip-pg-down
Kefu Chai [Tue, 13 Dec 2016 14:46:16 +0000 (22:46 +0800)]
Merge pull request #12289 from liewegas/wip-pg-down

osd/PG: add "down" pg state (distinct from down+peering)

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #12389 from ovh/wip-rework-recovery-priorities
Kefu Chai [Tue, 13 Dec 2016 14:44:52 +0000 (22:44 +0800)]
Merge pull request #12389 from ovh/wip-rework-recovery-priorities

osd: Increase priority for inactive PGs backfill

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12352 from kylinstorage/wip-cleanup-mark-queued
Kefu Chai [Tue, 13 Dec 2016 14:44:22 +0000 (22:44 +0800)]
Merge pull request #12352 from kylinstorage/wip-cleanup-mark-queued

osd: mark queued flag for op

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: avoid resharding if the last shard size fall below shard min size 12447/head
Igor Fedotov [Mon, 12 Dec 2016 17:36:35 +0000 (17:36 +0000)]
os/bluestore: avoid resharding if the last shard size fall below shard min size

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoECBackend: minor cleanup to remove duplicate code 12459/head
runsisi [Tue, 13 Dec 2016 08:27:16 +0000 (16:27 +0800)]
ECBackend: minor cleanup to remove duplicate code

Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agoMerge pull request #12294 from dx9/test-ecp-uname
Kefu Chai [Tue, 13 Dec 2016 02:56:14 +0000 (10:56 +0800)]
Merge pull request #12294 from dx9/test-ecp-uname

test: use uname -m vs. uname -p in test-erasure-code-plugins.sh

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotasks/cephfs: set norequire_active_mds on kclient
John Spray [Tue, 13 Dec 2016 01:05:25 +0000 (01:05 +0000)]
tasks/cephfs: set norequire_active_mds on kclient

The kernel client's cluster availability test is
more primitive than the fuse client, so we need
to switch it off to avoid client mounts failing
while MDSs are still coming up.

Fixes: http://tracker.ceph.com/issues/18161
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #1304 from vshankar/wip-15028
Jason Dillaman [Mon, 12 Dec 2016 21:29:54 +0000 (16:29 -0500)]
Merge pull request #1304 from vshankar/wip-15028

cram: support fetching from sha1 branch, tag, commit hash

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12450 from athanatos/wip-18180
Sage Weil [Mon, 12 Dec 2016 20:20:27 +0000 (14:20 -0600)]
Merge pull request #12450 from athanatos/wip-18180

osd/ReplicatedPG::record_write_error: don't leak orig_reply on cancel

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12402 from liewegas/wip-scrub-recovery
Samuel Just [Mon, 12 Dec 2016 19:30:18 +0000 (11:30 -0800)]
Merge pull request #12402 from liewegas/wip-scrub-recovery

osd: default osd_scrub_during_recovery=false

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #12448 from theanalyst/doc/11.1.0-rc
Sage Weil [Mon, 12 Dec 2016 19:25:08 +0000 (13:25 -0600)]
Merge pull request #12448 from theanalyst/doc/11.1.0-rc

doc: final additions to 11.1.0-rc release notes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agodoc: final additions to 11.1.0-rc release notes 12448/head
Abhishek Lekshmanan [Mon, 12 Dec 2016 18:33:13 +0000 (19:33 +0100)]
doc: final additions to 11.1.0-rc release notes

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
8 years ago11.1.0 v11.1.0
Jenkins Build Slave User [Mon, 12 Dec 2016 18:27:56 +0000 (18:27 +0000)]
11.1.0

8 years agoMerge pull request #1305 from ceph/wip-h-j-x
Sage Weil [Mon, 12 Dec 2016 17:37:30 +0000 (11:37 -0600)]
Merge pull request #1305 from ceph/wip-h-j-x

upgrade/hammer-jewel-x: whitelist quota

8 years agoupgrade/hammer-jewel-x: whitelist quota
Sage Weil [Mon, 12 Dec 2016 17:29:09 +0000 (12:29 -0500)]
upgrade/hammer-jewel-x: whitelist quota

This is from teh librados api test.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10209 from runsisi/sisi-wip-remove-redundant-check
Kefu Chai [Mon, 12 Dec 2016 16:21:46 +0000 (00:21 +0800)]
Merge pull request #10209 from runsisi/sisi-wip-remove-redundant-check

osd/ReplicatedPG: remove redundant check for balance/localize read

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #12190 from liupan1111/wip-speed-up-acting-ods
Kefu Chai [Mon, 12 Dec 2016 16:18:55 +0000 (00:18 +0800)]
Merge pull request #12190 from liupan1111/wip-speed-up-acting-ods

osd/OSDMap: improve the performance of pg_to_acting_osds

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12279 from wjwithagen/wip-wjw-freebsd-ENODATA-2
Kefu Chai [Mon, 12 Dec 2016 16:08:02 +0000 (00:08 +0800)]
Merge pull request #12279 from wjwithagen/wip-wjw-freebsd-ENODATA-2

os/filestore/chain_xattr.h:uses ENODATA, so include compat.h

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12365 from liewegas/wip-mon-flag-warning
Kefu Chai [Mon, 12 Dec 2016 16:06:56 +0000 (00:06 +0800)]
Merge pull request #12365 from liewegas/wip-mon-flag-warning

mon/OSDMonitor: only show interesting flags in health warning

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12439 from tchaikov/wip-pybind-requires
Kefu Chai [Mon, 12 Dec 2016 16:05:07 +0000 (00:05 +0800)]
Merge pull request #12439 from tchaikov/wip-pybind-requires

pybind/rados: add missing "length" requires for aio_execute()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12390 from tchaikov/wip-start-after-setting-nonce
Kefu Chai [Mon, 12 Dec 2016 16:03:01 +0000 (00:03 +0800)]
Merge pull request #12390 from tchaikov/wip-start-after-setting-nonce

msg/async: set nonce before starting the workers

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12309 from wjwithagen/wip-wjw-freebsd-CLOCK_MONOTONE
Kefu Chai [Mon, 12 Dec 2016 16:02:10 +0000 (00:02 +0800)]
Merge pull request #12309 from wjwithagen/wip-wjw-freebsd-CLOCK_MONOTONE

rgw/rgw_file.cc: Add compat.h to allow CLOCK_MONOTONE

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #12257 from kylinstorage/wip-remove-unneeded-forward-declaration
Kefu Chai [Mon, 12 Dec 2016 16:01:19 +0000 (00:01 +0800)]
Merge pull request #12257 from kylinstorage/wip-remove-unneeded-forward-declaration

remove unneeded forward declaration

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12301 from wjwithagen/wip-wjw-freebsd-blkid
Kefu Chai [Mon, 12 Dec 2016 16:00:33 +0000 (00:00 +0800)]
Merge pull request #12301 from wjwithagen/wip-wjw-freebsd-blkid

src/test/CMakeLists.txt: Exclude test on HAVE_BLKID

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12378 from dzafman/wip-18139
David Zafman [Mon, 12 Dec 2016 15:56:24 +0000 (07:56 -0800)]
Merge pull request #12378 from dzafman/wip-18139

test: Don't write to a poolid that this test might not have created

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12371 from ceph/wip-18149
Mykola Golub [Mon, 12 Dec 2016 14:17:13 +0000 (16:17 +0200)]
Merge pull request #12371 from ceph/wip-18149

qa/workunits/rbd: use more recent qemu-iotests that support Xenial

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agomds: make cache size health warning factor configurable 12443/head
John Spray [Mon, 12 Dec 2016 11:59:33 +0000 (11:59 +0000)]
mds: make cache size health warning factor configurable

...now that it's used more than once place, copying around
the fraction was bad.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: release pool allocator memory after exceeding size limit
John Spray [Mon, 12 Dec 2016 11:54:48 +0000 (11:54 +0000)]
mds: release pool allocator memory after exceeding size limit

Usually we like keeping the memory in our pools, but in circumstances
where we have violated our self-imposed inode count cap, we should
shrink our usage of system memory afterwards.

Fixes: http://tracker.ceph.com/issues/18225
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12436 from badone/wip-cov1395747
Brad Hubbard [Mon, 12 Dec 2016 04:41:41 +0000 (14:41 +1000)]
Merge pull request #12436 from badone/wip-cov1395747

crush: Silence coverity warnings for test/crush/crush.cc

Reviewed-by: xiexingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12409 from tchaikov/wip-doc-releases
Kefu Chai [Mon, 12 Dec 2016 04:39:13 +0000 (12:39 +0800)]
Merge pull request #12409 from tchaikov/wip-doc-releases

doc/releases: add links to kraken and v10.2.4

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agopybind/rados: add missing "length" requires for aio_execute() 12439/head
Kefu Chai [Mon, 12 Dec 2016 03:24:16 +0000 (11:24 +0800)]
pybind/rados: add missing "length" requires for aio_execute()

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocrush: Silence coverity warnings for test/crush/crush.cc 12436/head
Brad Hubbard [Sun, 11 Dec 2016 23:16:33 +0000 (09:16 +1000)]
crush: Silence coverity warnings for test/crush/crush.cc

Coverity 1395747 reports that "c" leaks. Switching to smart pointers should
resolve that.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agocram: support fetching from sha1 branch, tag, commit hash
Venky Shankar [Fri, 9 Dec 2016 09:41:49 +0000 (15:11 +0530)]
cram: support fetching from sha1 branch, tag, commit hash

Signed-off-by: Venky Shankar <vshankar@redhat.com>
8 years agoqa/workunits/rbd: use more recent qemu-iotests that support Xenial 12371/head
Jason Dillaman [Mon, 5 Dec 2016 18:46:02 +0000 (13:46 -0500)]
qa/workunits/rbd: use more recent qemu-iotests that support Xenial

Fixes: http://tracker.ceph.com/issues/18149
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12410 from dachary/wip-10-2-5
Loic Dachary [Sat, 10 Dec 2016 23:29:53 +0000 (00:29 +0100)]
Merge pull request #12410 from dachary/wip-10-2-5

doc: release notes for 10.2.5

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agodoc: release notes for 10.2.5 12410/head
Loic Dachary [Fri, 9 Dec 2016 09:50:04 +0000 (10:50 +0100)]
doc: release notes for 10.2.5

Fixes: http://tracker.ceph.com/issues/18207
Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #12366 from dillaman/wip-10773
Mykola Golub [Fri, 9 Dec 2016 20:07:20 +0000 (22:07 +0200)]
Merge pull request #12366 from dillaman/wip-10773

qa/workunits/rbd: removed qemu-iotest case 077

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #12253 from aclamk/fix-copy-object-compression
Casey Bodley [Fri, 9 Dec 2016 17:08:34 +0000 (12:08 -0500)]
Merge pull request #12253 from aclamk/fix-copy-object-compression

Fixed problem with PUT with x-amz-copy-source when source object is compressed.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12283 from ceph/wip-rgw-18106
Casey Bodley [Fri, 9 Dec 2016 17:05:17 +0000 (12:05 -0500)]
Merge pull request #12283 from ceph/wip-rgw-18106

rgw: make RGWLocalAuthApplier::is_admin_of() aware about system users.

Reviewed-by: Orit Wasserman <owassrm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge remote-tracking branch 'upstream/pull/1302/head'
Patrick Donnelly [Fri, 9 Dec 2016 16:09:02 +0000 (11:09 -0500)]
Merge remote-tracking branch 'upstream/pull/1302/head'

* upstream/pull/1302/head:
  fsx-mpi: fsx-mpi expects a file name not a dir
  fsx-mpi: remove chef task
  Fix mpi calls

8 years agoMerge pull request #12414 from ceph/wip-16125
Loic Dachary [Fri, 9 Dec 2016 13:39:32 +0000 (14:39 +0100)]
Merge pull request #12414 from ceph/wip-16125

ceph-disk: prevent unnecessary tracebacks from subprocess.check_call

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #12368 from trociny/wip-18146
Jason Dillaman [Fri, 9 Dec 2016 12:59:17 +0000 (07:59 -0500)]
Merge pull request #12368 from trociny/wip-18146

rbd-mirror: fix sparse read optimization in image sync

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoceph-disk: update tests to use the new exit flag 12414/head
Alfredo Deza [Fri, 7 Oct 2016 13:01:04 +0000 (09:01 -0400)]
ceph-disk: update tests to use the new exit flag

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoceph-disk: remove try/except for CalledProcessError to use new exit flag handler
Alfredo Deza [Fri, 3 Jun 2016 15:43:26 +0000 (11:43 -0400)]
ceph-disk: remove try/except for CalledProcessError to use new exit flag handler

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoceph-disk: allow to exit nicely when using command_check_call
Alfredo Deza [Fri, 3 Jun 2016 15:37:00 +0000 (11:37 -0400)]
ceph-disk: allow to exit nicely when using command_check_call

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoosd: Increase priority for inactive PGs backfill 12389/head
Bartłomiej Święcki [Fri, 2 Dec 2016 15:54:46 +0000 (16:54 +0100)]
osd: Increase priority for inactive PGs backfill

This change does prioritize backfill of PGs which don't
have min_size active copies. Such PGs would cause IO stalls
for clients and would increase throttlers usage.

This change also fixes few subtlle out-of-bounds bugs.

Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
8 years agoMerge pull request #12408 from badone/wip-mon_osd_down_out_interval-docfix
Brad Hubbard [Fri, 9 Dec 2016 09:20:13 +0000 (19:20 +1000)]
Merge pull request #12408 from badone/wip-mon_osd_down_out_interval-docfix

doc: Modify documentation for mon_osd_down_out_interval

Reviewed-by: xiexingguo <xie.xingguo@zte.com.cn>
8 years agodoc/releases: add links to kraken and v10.2.4 12409/head
Kefu Chai [Fri, 9 Dec 2016 08:46:41 +0000 (16:46 +0800)]
doc/releases: add links to kraken and v10.2.4

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: Modify documentation for mon_osd_down_out_interval 12408/head
Brad Hubbard [Fri, 9 Dec 2016 07:52:31 +0000 (17:52 +1000)]
doc: Modify documentation for mon_osd_down_out_interval

Update docs to reflect the new default of 600 set by 817d65bd4

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12379 from liupan1111/wip-fix-rbd-params
Mykola Golub [Fri, 9 Dec 2016 06:57:40 +0000 (08:57 +0200)]
Merge pull request #12379 from liupan1111/wip-fix-rbd-params

rbd: --max_part and --nbds_max options for nbd map

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12400 from gregsfortytwo/wip-fix-pg-unsigned-warning
Kefu Chai [Fri, 9 Dec 2016 02:33:45 +0000 (10:33 +0800)]
Merge pull request #12400 from gregsfortytwo/wip-fix-pg-unsigned-warning

osd: fix signed/unsigned comparison warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12211 from leseb/doc-openstack
Jason Dillaman [Fri, 9 Dec 2016 02:15:28 +0000 (21:15 -0500)]
Merge pull request #12211 from leseb/doc-openstack

doc: update cinder key permissions for mitaka

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoosd: default osd_scrub_during_recovery=false 12402/head
Sage Weil [Fri, 9 Dec 2016 01:25:06 +0000 (19:25 -0600)]
osd: default osd_scrub_during_recovery=false

This is a more friendly behavior.  Tell users in the release notes how to
get the old behavior.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoclient: fix typos 12401/head
Yunchuan Wen [Fri, 9 Dec 2016 00:51:52 +0000 (08:51 +0800)]
client: fix typos

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
8 years agoosd: fix signed/unsigned comparison warning 12400/head
Greg Farnum [Thu, 8 Dec 2016 23:50:24 +0000 (15:50 -0800)]
osd: fix signed/unsigned comparison warning

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #12367 from liewegas/wip-bluestore-sync-submit
Sage Weil [Thu, 8 Dec 2016 21:07:01 +0000 (15:07 -0600)]
Merge pull request #12367 from liewegas/wip-bluestore-sync-submit

os/bluestore: bluestore_sync_submit_transaction = false

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12356 from xiexingguo/xxg-wip-bluestore-commit-latency
Sage Weil [Thu, 8 Dec 2016 21:04:45 +0000 (15:04 -0600)]
Merge pull request #12356 from xiexingguo/xxg-wip-bluestore-commit-latency

os/bluestore: fix global commit latency

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12381 from ly798/fix-rgw-crush-due-to-bad-cors
Matt Benjamin [Thu, 8 Dec 2016 20:34:51 +0000 (15:34 -0500)]
Merge pull request #12381 from ly798/fix-rgw-crush-due-to-bad-cors

rgw: do not abort when accept a CORS request with short origin

8 years agomsg/async: set nonce before starting the workers 12390/head
Kefu Chai [Thu, 8 Dec 2016 10:40:24 +0000 (18:40 +0800)]
msg/async: set nonce before starting the workers

otherwise workers will respond with difference nonces to peers.
and remove nonce from Processor. as there is only one nonce for each
Messenger at a given time.

Signed-off-by: Kefu Chai <kchai@redhat.com>