]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoqa/workunits: use relative path instead of wget from git 12511/head
Sage Weil [Thu, 15 Dec 2016 20:10:28 +0000 (15:10 -0500)]
qa/workunits: use relative path instead of wget from git

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/workunit.py: add CEPH_BASE env var
Sage Weil [Thu, 15 Dec 2016 18:26:14 +0000 (13:26 -0500)]
qa/tasks/workunit.py: add CEPH_BASE env var

Root of git checkout

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/workunit: leave workunits inside git checkout
Sage Weil [Thu, 15 Dec 2016 18:25:23 +0000 (13:25 -0500)]
qa/tasks/workunit: leave workunits inside git checkout

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12482 from badone/wip-librados-objectcursor-leak
Sage Weil [Thu, 15 Dec 2016 16:01:04 +0000 (10:01 -0600)]
Merge pull request #12482 from badone/wip-librados-objectcursor-leak

librados: Memory leaks in object_list_begin and object_list_end

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12286 from dillaman/wip-18123
Sage Weil [Thu, 15 Dec 2016 16:00:47 +0000 (10:00 -0600)]
Merge pull request #12286 from dillaman/wip-18123

rados: optionally support reading omap key from file

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12462 from XinzeChi/wip-blk-link
Sage Weil [Thu, 15 Dec 2016 16:00:26 +0000 (10:00 -0600)]
Merge pull request #12462 from XinzeChi/wip-blk-link

common/blkdev: use realpath instead of readlink to resolve the recurs…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12488 from liewegas/wip-bluestore-enc
Sage Weil [Thu, 15 Dec 2016 15:40:23 +0000 (09:40 -0600)]
Merge pull request #12488 from liewegas/wip-bluestore-enc

os/bluestore: fix ondisk encoding for blobs

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
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 agoMerge pull request #12502 from kylinstorage/wip-ctypos2
Xie Xingguo [Thu, 15 Dec 2016 10:22:50 +0000 (18:22 +0800)]
Merge pull request #12502 from kylinstorage/wip-ctypos2

fix typos

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agorc/rgw/rgw_rados.cc : fix typos 12502/head
xianxiaxiao [Thu, 15 Dec 2016 09:24:56 +0000 (09:24 +0000)]
rc/rgw/rgw_rados.cc : fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/rgw/rgw_coroutine.cc : fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:24:24 +0000 (09:24 +0000)]
rc/rgw/rgw_coroutine.cc : fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/os/memstore/MemStore.h : fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:23:46 +0000 (09:23 +0000)]
rc/os/memstore/MemStore.h : fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/os/filestore/FileStore.cc : fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:23:05 +0000 (09:23 +0000)]
rc/os/filestore/FileStore.cc : fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/os/bluestore/NVMEDevice.cc :fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:22:29 +0000 (09:22 +0000)]
rc/os/bluestore/NVMEDevice.cc :fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agorc/mon/DumplingMonCommands.h :fix typos
xianxiaxiao [Thu, 15 Dec 2016 09:21:40 +0000 (09:21 +0000)]
rc/mon/DumplingMonCommands.h :fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agoMerge pull request #12495 from kylinstorage/wip-ctypos
Xie Xingguo [Thu, 15 Dec 2016 02:42:26 +0000 (10:42 +0800)]
Merge pull request #12495 from kylinstorage/wip-ctypos

Wip ctypos

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12479 from badone/wip-ceph_test_rados_api_list-leak
Brad Hubbard [Thu, 15 Dec 2016 01:58:44 +0000 (11:58 +1000)]
Merge pull request #12479 from badone/wip-ceph_test_rados_api_list-leak

test/rados/list.cc: Memory leak in ceph_test_rados_api_list

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agosrc/os/bluestore/BlueStore.cc:fix typos 12495/head
xianxiaxiao [Wed, 14 Dec 2016 02:33:47 +0000 (02:33 +0000)]
src/os/bluestore/BlueStore.cc:fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agoMerge pull request #12493 from athanatos/wip-18113-qa
Samuel Just [Thu, 15 Dec 2016 00:07:27 +0000 (16:07 -0800)]
Merge pull request #12493 from athanatos/wip-18113-qa

Wip 18113 qa

8 years agoMerge remote-tracking branch 'ceph-qa-suite/master' into wip-18113-qa 12493/head
Samuel Just [Thu, 15 Dec 2016 00:05:35 +0000 (16:05 -0800)]
Merge remote-tracking branch 'ceph-qa-suite/master' into wip-18113-qa

8 years agoMerge pull request #1310 from ceph/wip-18113
Samuel Just [Wed, 14 Dec 2016 23:57:24 +0000 (15:57 -0800)]
Merge pull request #1310 from ceph/wip-18113

test: Update for new error message when doing scrub with deep-scrub e…

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agotest/rados/list.cc: Memory leak in ceph_test_rados_api_list 12479/head
Brad Hubbard [Wed, 14 Dec 2016 04:01:32 +0000 (14:01 +1000)]
test/rados/list.cc: Memory leak in ceph_test_rados_api_list

Valgrind flags a memory leak when we create a temporary from
rados_object_list_end()

Fixes: http://tracker.ceph.com/issues/18250
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12438 from songbaisen/s6
Yuri Weinstein [Wed, 14 Dec 2016 21:49:24 +0000 (13:49 -0800)]
Merge pull request #12438 from songbaisen/s6

 mon: make it more clearly to debug for paxos state

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12461 from liupan1111/wip-replace-atomic
Yuri Weinstein [Wed, 14 Dec 2016 21:48:28 +0000 (13:48 -0800)]
Merge pull request #12461 from liupan1111/wip-replace-atomic

osd: remove the lock heartbeat_update_lock, and change heatbeat_need_…

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12452 from ceph/wip-rgw-fix-cr-deadlock
Yehuda Sadeh [Wed, 14 Dec 2016 21:42:51 +0000 (13:42 -0800)]
Merge pull request #12452 from ceph/wip-rgw-fix-cr-deadlock

rgw: use explicit flag to cancel RGWCoroutinesManager::run()

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #12487 from athanatos/wip-rpg-rename
Samuel Just [Wed, 14 Dec 2016 21:27:54 +0000 (13:27 -0800)]
Merge pull request #12487 from athanatos/wip-rpg-rename

src: rename ReplicatedPG to PrimaryLogPG

Reviewed-by: Samuel Just <sjust@redhat.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 agoMerge pull request #7639 from linuxbox2/wip-rgw-header
Yehuda Sadeh [Wed, 14 Dec 2016 19:35:24 +0000 (11:35 -0800)]
Merge pull request #7639 from linuxbox2/wip-rgw-header

rgw: add option to log custom HTTP headers (rgw_log_http_headers)

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #12268 from dzafman/wip-18113
Samuel Just [Wed, 14 Dec 2016 19:34:24 +0000 (11:34 -0800)]
Merge pull request #12268 from dzafman/wip-18113

osd: When deep-scrub errors present upgrade regular scrubs

Reviewed-by: Samuel Just <sjust@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 agosrc: rename ReplicatedPG to PrimaryLogPG 12487/head
Samuel Just [Wed, 14 Dec 2016 18:18:27 +0000 (10:18 -0800)]
src: rename ReplicatedPG to PrimaryLogPG

It's been confusing for a long time that EC pools are implemented by
ReplicatedPG.  What PG/ReplicatedPG really implement is the concept
of a PG where consistency is managed by the primary via a log.

Signed-off-by: Samuel Just <sjust@redhat.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 agorgw: add 'rgw log http headers' gloss to config-ref.rst 7639/head
Matt Benjamin [Thu, 8 Dec 2016 15:11:42 +0000 (10:11 -0500)]
rgw: add 'rgw log http headers' gloss to config-ref.rst

Explain the option for upstream doc.

Signed-off-by: Matt Benjamin <mbenjamin@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 agosrc/kv/RocksDBStore.cc:fix typos
xianxiaxiao [Wed, 14 Dec 2016 02:32:16 +0000 (02:32 +0000)]
src/kv/RocksDBStore.cc:fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/erasure-code/shec/ErasureCodeShec.cc:fix typos
xianxiaxiao [Wed, 14 Dec 2016 02:29:20 +0000 (02:29 +0000)]
src/erasure-code/shec/ErasureCodeShec.cc:fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/client/SyntheticClient.cc: fix typos
xianxiaxiao [Wed, 14 Dec 2016 02:26:09 +0000 (02:26 +0000)]
src/client/SyntheticClient.cc: fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/rgw/rgw_cache.cc:fix typos
xianxiaxiao [Wed, 14 Dec 2016 02:07:47 +0000 (02:07 +0000)]
src/rgw/rgw_cache.cc:fix typos

Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.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 agolibrados: Memory leaks in object_list_begin and object_list_end 12482/head
Brad Hubbard [Wed, 14 Dec 2016 06:29:08 +0000 (16:29 +1000)]
librados: Memory leaks in object_list_begin and object_list_end

We allocate a cursor in the constructor but simply reassign it in these
functions without cleaning up the original. We have a utility setter that
handles this exact case so we should use it.

Fixes: http://tracker.ceph.com/issues/18252
Signed-off-by: Brad Hubbard <bhubbard@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 agorgw: custom headers: use boost::container::flat_map
Matt Benjamin [Mon, 14 Nov 2016 22:38:57 +0000 (17:38 -0500)]
rgw: custom headers: use boost::container::flat_map

Use this occasion of serialized map to implement encoders
for boost::container::flat_map, which is optimized for
in-order insertion.

After some discussion, I'm proposing to just add the new template
forms, rather than (e.g.) adding either a large amount of
specialization machinery, or alternatively using C-style
macros.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw: add rgw_log_http_headers option
Matt Benjamin [Fri, 12 Feb 2016 22:02:53 +0000 (17:02 -0500)]
rgw: add rgw_log_http_headers option

Tracks headers that should be handled conditionally (currently,
can only log, so using minimal structure to represent the
mapping).

Adds map of custom headers to rgw_log_entry, and populate it with
headers pre-selected for custom logging in RGWREST.  Added to encoder
and Formatter output.

Some additional optimization possible.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
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 agocommon/blkdev: use realpath instead of readlink to resolve the recursion symbol link 12462/head
Xinze Chi [Tue, 13 Dec 2016 08:43:03 +0000 (16:43 +0800)]
common/blkdev: use realpath instead of readlink to resolve the recursion symbol link

Signed-off-by: Xinze Chi <xinze@xsky.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 agoosd: remove the lock heartbeat_update_lock, and change heatbeat_need_update to atomic... 12461/head
Pan Liu [Tue, 13 Dec 2016 08:27:14 +0000 (16:27 +0800)]
osd: remove the lock heartbeat_update_lock, and change heatbeat_need_update to atomic_bool

Signed-off-by: Pan Liu <pan.liu@istuary.com>
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 agotest: Update for new error message when doing scrub with deep-scrub errors
David Zafman [Mon, 12 Dec 2016 23:53:25 +0000 (15:53 -0800)]
test: Update for new error message when doing scrub with deep-scrub errors

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agorgw: use explicit flag to cancel RGWCoroutinesManager::run() 12452/head
Casey Bodley [Mon, 12 Dec 2016 21:42:15 +0000 (16:42 -0500)]
rgw: use explicit flag to cancel RGWCoroutinesManager::run()

RGWCoroutinesManager::run() was setting ret = -ECANCELED to break out of
the loop when it sees going_down. coroutines that failed with -ECANCELED
were confusing this logic and leading to coroutine deadlock assertions
below. when we hit the going_down case, set a 'canceled' flag, and check
that flag when deciding whether to break out of the loop

Fixes: http://tracker.ceph.com/issues/17465
Signed-off-by: Casey Bodley <cbodley@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>