]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
9 years agoMerge pull request #11718 from xiexingguo/xxg-wip-bluestore-1101
Sage Weil [Tue, 1 Nov 2016 13:17:43 +0000 (08:17 -0500)]
Merge pull request #11718 from xiexingguo/xxg-wip-bluestore-1101

os/bluestore: add counter to trace blob splitting

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10248 from ktdreyer/wip-doc-no-rpm-md
Alfredo Deza [Tue, 1 Nov 2016 12:24:17 +0000 (08:24 -0400)]
Merge pull request #10248 from ktdreyer/wip-doc-no-rpm-md

doc: rm "type=rpm-md" from yum repositories

Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agoMerge pull request #11690 from yonghengdexin735/wip-zzz-fixword
xiexingguo [Tue, 1 Nov 2016 12:03:53 +0000 (20:03 +0800)]
Merge pull request #11690 from yonghengdexin735/wip-zzz-fixword

src/common/perf_counters.h: fix wrong word

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: add sanity check when compress_extent_map()
xie xingguo [Tue, 1 Nov 2016 08:08:59 +0000 (16:08 +0800)]
os/bluestore: add sanity check when compress_extent_map()

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: formatting changes
xie xingguo [Tue, 1 Nov 2016 05:53:20 +0000 (13:53 +0800)]
os/bluestore: formatting changes

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: add counter to trace blob splitting
xie xingguo [Tue, 1 Nov 2016 03:32:49 +0000 (11:32 +0800)]
os/bluestore: add counter to trace blob splitting

As we want to know if it really happens and how often does it happen.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #11568 from dillaman/wip-17588
Mykola Golub [Tue, 1 Nov 2016 10:37:01 +0000 (12:37 +0200)]
Merge pull request #11568 from dillaman/wip-17588

librbd: cannot access non-primary image when mirroring force disabled

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #11280 from ceph/wip-17440
Orit Wasserman [Tue, 1 Nov 2016 09:14:13 +0000 (10:14 +0100)]
Merge pull request #11280 from ceph/wip-17440

rgw: fixes for virtual hosting of buckets
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #11559 from dillaman/wip-17618
Mykola Golub [Tue, 1 Nov 2016 07:14:07 +0000 (09:14 +0200)]
Merge pull request #11559 from dillaman/wip-17618

librbd: exclusive lock incorrectly initialized when switching to head revision

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #11623 from dillaman/wip-cls-rbd-group
Mykola Golub [Tue, 1 Nov 2016 07:13:23 +0000 (09:13 +0200)]
Merge pull request #11623 from dillaman/wip-cls-rbd-group

librbd: ensure consistency groups will gracefully fail on older OSDs

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #11703 from dillaman/wip-17750
Mykola Golub [Tue, 1 Nov 2016 07:11:50 +0000 (09:11 +0200)]
Merge pull request #11703 from dillaman/wip-17750

test: skip TestLibRBD.DiscardAfterWrite if skip partial discard enabled

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #11714 from dachary/wip-17757-eio
Loic Dachary [Tue, 1 Nov 2016 00:29:57 +0000 (01:29 +0100)]
Merge pull request #11714 from dachary/wip-17757-eio

tests: disable failing tests

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
9 years agotests: disable failing unittest_erasure_code_plugin_jerasure
Loic Dachary [Mon, 31 Oct 2016 23:40:14 +0000 (00:40 +0100)]
tests: disable failing unittest_erasure_code_plugin_jerasure

While figuring out what's wrong with it.

Refs: http://tracker.ceph.com/issues/17561

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agotests: disable failing test-erasure-eio.sh
Loic Dachary [Mon, 31 Oct 2016 22:53:58 +0000 (23:53 +0100)]
tests: disable failing test-erasure-eio.sh

While figuring out what's wrong with it.

Refs: http://tracker.ceph.com/issues/17757

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #11382 from yuyuyu101/wip-fix-shadow
Yuri Weinstein [Mon, 31 Oct 2016 23:37:45 +0000 (16:37 -0700)]
Merge pull request #11382 from yuyuyu101/wip-fix-shadow

osd/PGBackend: fix collection_list shadow return value

Reviewed-by: Kefu Chai <kchai@redhat.com>
tchaikov

9 years agoMerge pull request #11547 from javeme/check-pgid
Yuri Weinstein [Mon, 31 Oct 2016 23:36:17 +0000 (16:36 -0700)]
Merge pull request #11547 from javeme/check-pgid

osd/command tell: check pgid at the right time

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11203 from stiopaa1/osd_pg_replaceCountPart1
Yuri Weinstein [Mon, 31 Oct 2016 22:30:47 +0000 (15:30 -0700)]
Merge pull request #11203 from stiopaa1/osd_pg_replaceCountPart1

osd/PG.cc: prevent repeated searching of map/set

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #11242 from stiopaa1/osd_replicatedpg_removeCount1
Yuri Weinstein [Mon, 31 Oct 2016 22:30:24 +0000 (15:30 -0700)]
Merge pull request #11242 from stiopaa1/osd_replicatedpg_removeCount1

osd/ReplicatedPG: remove unneeded use of count

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #11365 from badone/wip-lsb_release-remove
Yuri Weinstein [Mon, 31 Oct 2016 22:29:25 +0000 (15:29 -0700)]
Merge pull request #11365 from badone/wip-lsb_release-remove

common: Remove the runtime dependency on lsb_release

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ken Dreyer (Red Hat) <kdreyer@redhat.com>
9 years agotest: skip TestLibRBD.DiscardAfterWrite if skip partial discard enabled
Jason Dillaman [Mon, 31 Oct 2016 15:08:55 +0000 (11:08 -0400)]
test: skip TestLibRBD.DiscardAfterWrite if skip partial discard enabled

Fixes: http://tracker.ceph.com/issues/17750
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agodoc: rm "type=rpm-md" from yum repositories
Ken Dreyer [Mon, 11 Jul 2016 15:13:49 +0000 (09:13 -0600)]
doc: rm "type=rpm-md" from yum repositories

As far as I can tell, this is only relevant to SUSE's Zypper, and yum
does not need it.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agolibrbd: unit test cases and minor fixes for mirror::DisableRequest
Jason Dillaman [Wed, 19 Oct 2016 20:26:46 +0000 (16:26 -0400)]
librbd: unit test cases and minor fixes for mirror::DisableRequest

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocls/journal: use librados::IoCtx reference for helper state machines
Jason Dillaman [Wed, 19 Oct 2016 20:25:46 +0000 (16:25 -0400)]
cls/journal: use librados::IoCtx reference for helper state machines

This facilitates being able to properly mock test cases around journal
cls method calls.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: restore journal access when force disabling mirroring
Jason Dillaman [Wed, 19 Oct 2016 14:55:05 +0000 (10:55 -0400)]
librbd: restore journal access when force disabling mirroring

If mirroring is force disabled on a demoted image, the journal was
being left in an inconsistent ownership state.

Fixes: http://tracker.ceph.com/issues/17588
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: new async journal promote state machine
Jason Dillaman [Tue, 18 Oct 2016 13:18:43 +0000 (09:18 -0400)]
librbd: new async journal promote state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: new async journal open state machine
Jason Dillaman [Tue, 18 Oct 2016 03:51:51 +0000 (23:51 -0400)]
librbd: new async journal open state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: move journal tag decode helpers to shared location
Jason Dillaman [Tue, 18 Oct 2016 02:44:55 +0000 (22:44 -0400)]
librbd: move journal tag decode helpers to shared location

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: re-add support for disabling a corrupt journal
Jason Dillaman [Tue, 18 Oct 2016 01:26:19 +0000 (21:26 -0400)]
librbd: re-add support for disabling a corrupt journal

Fixes: http://tracker.ceph.com/issues/16740
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #11249 from wido/osd-flush-journal-shutdown
Sage Weil [Mon, 31 Oct 2016 14:06:14 +0000 (09:06 -0500)]
Merge pull request #11249 from wido/osd-flush-journal-shutdown

osd: Flush Journal on shutdown

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #11686 from ceph/wip-ceph-rest-api-new-addr
Sage Weil [Mon, 31 Oct 2016 14:05:22 +0000 (09:05 -0500)]
Merge pull request #11686 from ceph/wip-ceph-rest-api-new-addr

ceph-rest-api: understand the new style entity_addr_t representation

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #11530 from markhpc/wip-rocksdb_tuning
Sage Weil [Mon, 31 Oct 2016 14:03:05 +0000 (09:03 -0500)]
Merge pull request #11530 from markhpc/wip-rocksdb_tuning

common/config_opts.h: Optimized RocksDB WAL settings.

9 years agoMerge pull request #11688 from stiopaa1/mds_snapserver_addConstToMemFun
Brad Hubbard [Sun, 30 Oct 2016 21:24:51 +0000 (07:24 +1000)]
Merge pull request #11688 from stiopaa1/mds_snapserver_addConstToMemFun

mds/SnapServer: add const to member function

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
9 years agomds/SnapServer: add const to member function
Michal Jarzabek [Sat, 29 Oct 2016 20:52:10 +0000 (21:52 +0100)]
mds/SnapServer: add const to member function

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoceph-rest-api: understand the new style entity_addr_t representation
Kefu Chai [Sat, 29 Oct 2016 17:19:06 +0000 (01:19 +0800)]
ceph-rest-api: understand the new style entity_addr_t representation

the new entity_addr_t representation was introduced by 3561eb3, we
should update ceph_rest_api.py accordingly.

Fixes: http://tracker.ceph.com/issues/17742
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10993 from Vicente-Cheng/fix-alloc-choose_tries
Kefu Chai [Sun, 30 Oct 2016 03:54:59 +0000 (11:54 +0800)]
Merge pull request #10993 from Vicente-Cheng/fix-alloc-choose_tries

crush: make counting of choose_tries consistent

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11246 from badone/wip-set_xattr_limits_via_conf-fix
Kefu Chai [Sun, 30 Oct 2016 03:54:16 +0000 (11:54 +0800)]
Merge pull request #11246 from badone/wip-set_xattr_limits_via_conf-fix

os/filestore: Fix erroneous WARNING: max attr too small

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11614 from runsisi/wip-fix-PK11_FreeSymKey-segfault
Kefu Chai [Sun, 30 Oct 2016 03:50:51 +0000 (11:50 +0800)]
Merge pull request #11614 from runsisi/wip-fix-PK11_FreeSymKey-segfault

auth: fix NULL pointer access when trying to delete CryptoAESKeyHandler instance

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11654 from hjwsm1989/fix
Kefu Chai [Sun, 30 Oct 2016 03:49:49 +0000 (11:49 +0800)]
Merge pull request #11654 from hjwsm1989/fix

mon: print the num_pools and num_objects in 'ceph -s -f json/json-p…

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11639 from atheism/mgr-PyModules-remove-duplicated-else-if
Kefu Chai [Sun, 30 Oct 2016 03:48:51 +0000 (11:48 +0800)]
Merge pull request #11639 from atheism/mgr-PyModules-remove-duplicated-else-if

mgr: PyModules.cc: remove duplicated if condition for fs_map

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11659 from tchaikov/wip-delete-cct-later
Kefu Chai [Sun, 30 Oct 2016 03:47:06 +0000 (11:47 +0800)]
Merge pull request #11659 from tchaikov/wip-delete-cct-later

librados: postpone cct deletion

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agosrc/common/perf_counters.h:fix wrong word
zhang.zezhu [Sun, 30 Oct 2016 01:35:44 +0000 (01:35 +0000)]
src/common/perf_counters.h:fix wrong word

Signed-off-by: zhang.zezhu <zhang.zezhu@zte.com.cn>
9 years agoMerge pull request #11314 from jcsp/wip-mgr-flake8
Kefu Chai [Sat, 29 Oct 2016 04:21:33 +0000 (12:21 +0800)]
Merge pull request #11314 from jcsp/wip-mgr-flake8

pybind: clean up mgr stuff for flake8

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11650 from wjwithagen/wip-wjw-log-loging
Kefu Chai [Sat, 29 Oct 2016 04:11:08 +0000 (12:11 +0800)]
Merge pull request #11650 from wjwithagen/wip-wjw-log-loging

Log: Replace namespace log with logging

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11680 from tchaikov/wip-17728
Kefu Chai [Sat, 29 Oct 2016 03:43:07 +0000 (11:43 +0800)]
Merge pull request #11680 from tchaikov/wip-17728

test/ceph_test_msgr: do not use Message::middle for holding transient…

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #11397 from dzafman/wip-scrub-misc
David Zafman [Fri, 28 Oct 2016 18:17:12 +0000 (11:17 -0700)]
Merge pull request #11397 from dzafman/wip-scrub-misc

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotest/ceph_test_msgr: do not use Message::middle for holding transient data
Kefu Chai [Fri, 28 Oct 2016 17:54:58 +0000 (01:54 +0800)]
test/ceph_test_msgr: do not use Message::middle for holding transient data

Message::middle is used for holding encoded data, so we we can not stuff
it with payload and leave the "payload" field empty. this change
refactors the ceph_test_msgr by introducing a Payload class which
encodes all test data in it.

Fixes: http://tracker.ceph.com/issues/17728
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11677 from ceph/wip-rocksdb-no-march-native
Kefu Chai [Fri, 28 Oct 2016 13:48:39 +0000 (21:48 +0800)]
Merge pull request #11677 from ceph/wip-rocksdb-no-march-native

rocksdb: do not build with --march=native

Reviewed-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
9 years agoMerge pull request #11678 from tchaikov/wip-silence-rbd-warning
Jason Dillaman [Fri, 28 Oct 2016 13:23:18 +0000 (09:23 -0400)]
Merge pull request #11678 from tchaikov/wip-silence-rbd-warning

librbd: silence the unused variable warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: silence the unused variable warning
Kefu Chai [Fri, 28 Oct 2016 12:28:26 +0000 (20:28 +0800)]
librbd: silence the unused variable warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agorocksdb: do not build with --march=native
Kefu Chai [Fri, 28 Oct 2016 11:00:10 +0000 (19:00 +0800)]
rocksdb: do not build with --march=native

we can not assume that building host has the same arch (or the same cpu
capability) with the target machine.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11663 from stiopaa1/mds_mdslog_addConstToMemFunc
Sage Weil [Fri, 28 Oct 2016 10:52:23 +0000 (05:52 -0500)]
Merge pull request #11663 from stiopaa1/mds_mdslog_addConstToMemFunc

mds/MDLog: add const to member functions

9 years agoMerge pull request #11668 from Enproduktion/master
Sage Weil [Fri, 28 Oct 2016 10:49:25 +0000 (05:49 -0500)]
Merge pull request #11668 from Enproduktion/master

doc: Fixed mapping error in legacy mds command

9 years agoMerge pull request #11446 from ukernel/wip-cephfs-scan-links
John Spray [Fri, 28 Oct 2016 10:03:12 +0000 (11:03 +0100)]
Merge pull request #11446 from ukernel/wip-cephfs-scan-links

tools/cephfs: add scan_links command which fixes linkages errors

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #11609 from stiopaa1/mds_snaprealm_unneededuseofcount
John Spray [Fri, 28 Oct 2016 10:01:59 +0000 (11:01 +0100)]
Merge pull request #11609 from stiopaa1/mds_snaprealm_unneededuseofcount

mds/SnapRealm: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #11625 from stiopaa1/mds_damageTable_removeUnneededCount
John Spray [Fri, 28 Oct 2016 10:01:34 +0000 (11:01 +0100)]
Merge pull request #11625 from stiopaa1/mds_damageTable_removeUnneededCount

mds/DamageTable.cc: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #9304 from dzafman/wip-13937
Kefu Chai [Fri, 28 Oct 2016 09:21:09 +0000 (17:21 +0800)]
Merge pull request #9304 from dzafman/wip-13937

osd: handle EC recovery read errors

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11645 from dillaman/wip-librbd-discard-after-write
Venky Shankar [Fri, 28 Oct 2016 08:56:49 +0000 (14:26 +0530)]
Merge pull request #11645 from dillaman/wip-librbd-discard-after-write

test: new librbd discard after write test case

9 years agoMerge pull request #11670 from stiopaa1/mds_mutation_addConstToMemFun
Yan, Zheng [Fri, 28 Oct 2016 07:31:40 +0000 (02:31 -0500)]
Merge pull request #11670 from stiopaa1/mds_mutation_addConstToMemFun

mds/Mutation.h: add const to member functions

9 years agoMerge pull request #11608 from atheism/mds-duplicated-check
Yan, Zheng [Fri, 28 Oct 2016 07:25:53 +0000 (02:25 -0500)]
Merge pull request #11608 from atheism/mds-duplicated-check

client: Client.cc: remove duplicated op type checking against CEPH_MD…

9 years agoclient: Client.cc: correct the op type checking for CEPH_MDS_OP_CREATE
Weibing Zhang [Sat, 22 Oct 2016 11:40:10 +0000 (19:40 +0800)]
client: Client.cc: correct the op type checking for CEPH_MDS_OP_CREATE

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
9 years agoglobal: Always log loading erasure code for tests
David Zafman [Thu, 27 Oct 2016 23:12:41 +0000 (16:12 -0700)]
global: Always log loading erasure code for tests

Fix for broken test-erasure-code.sh and test-erasure-eio.sh

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agotest.sh: Make check for flags more robust
David Zafman [Fri, 14 Oct 2016 23:17:55 +0000 (16:17 -0700)]
test.sh: Make check for flags more robust

Low space broke test, saw "flags nearfull,pauserd,pausewr...."

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agotest: Remove extra objectstore_tool call which causes a recovery
David Zafman [Fri, 22 Jul 2016 00:36:34 +0000 (17:36 -0700)]
test: Remove extra objectstore_tool call which causes a recovery

Caused by: 70e000a9a42c50eda48f5d3b9e432ffc3a70f75b

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agotest: Handle object removals in a non-racey way
David Zafman [Wed, 15 Jun 2016 03:09:15 +0000 (20:09 -0700)]
test: Handle object removals in a non-racey way

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoosd: Fix hang on unfound object after mark_unfound_lost is done
David Zafman [Fri, 27 May 2016 05:09:42 +0000 (22:09 -0700)]
osd: Fix hang on unfound object after mark_unfound_lost is done

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoosd: Handle recovery read errors
David Zafman [Fri, 20 May 2016 22:20:18 +0000 (15:20 -0700)]
osd: Handle recovery read errors

Fixes: http://tracker.ceph.com/issues/13937
Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoosd: Fix log messages
David Zafman [Sat, 21 May 2016 01:19:42 +0000 (18:19 -0700)]
osd: Fix log messages

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoosd: CLEANUP: Remove unused pending_read member
David Zafman [Fri, 20 May 2016 20:58:32 +0000 (13:58 -0700)]
osd: CLEANUP: Remove unused pending_read member

Remove unused struct

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoRevert "test: Disable tests due to recovery race"
David Zafman [Fri, 20 May 2016 18:51:21 +0000 (11:51 -0700)]
Revert "test: Disable tests due to recovery race"

This reverts commit 5bc55338f5a1645bc651811fae2f89ad855ff86e.

Conflicts:
src/test/Makefile.am (no longer exists)
src/test/erasure-code/Makefile.am (no longer exists)

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #11582 from batrick/ceph-dumpable
Brad Hubbard [Fri, 28 Oct 2016 04:43:35 +0000 (14:43 +1000)]
Merge pull request #11582 from batrick/ceph-dumpable

core: set dumpable flag after setuid

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
9 years agomds/Mutation.h: add const to member functions
Michal Jarzabek [Thu, 27 Oct 2016 20:51:30 +0000 (21:51 +0100)]
mds/Mutation.h: add const to member functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agodoc: Fixed mapping error in legacy mds command
Malte Fiala [Thu, 27 Oct 2016 17:26:34 +0000 (19:26 +0200)]
doc: Fixed mapping error in legacy mds command

Signed-off-by: Malte Fiala <maltefiala@produktion.io>
9 years agoMerge pull request #11666 from tchaikov/wip-cmake
Sage Weil [Thu, 27 Oct 2016 16:37:54 +0000 (11:37 -0500)]
Merge pull request #11666 from tchaikov/wip-cmake

cmake: remove include/Makefile.am

9 years agocmake: remove include/Makefile.am
Kefu Chai [Thu, 27 Oct 2016 08:37:46 +0000 (16:37 +0800)]
cmake: remove include/Makefile.am

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoos/filestore: Fix erroneous WARNING: max attr too small
Brad Hubbard [Wed, 28 Sep 2016 04:50:28 +0000 (14:50 +1000)]
os/filestore: Fix erroneous WARNING: max attr too small

When we read the conf values from the conf file we call handle_conf_change which
calls set_xattr_limits_via_conf but this is before m_fs_type is initialised so
we fall through to the default comaprison with
filestore_max_xattr_value_size_other (1024) and erroneously issue the warning.
This happens at every startup but subsequent calls once the filestore is mounted
proceed as expected. Don't call set_xattr_limits_via_conf unless the filestore
is mounted.

Fixes: http://tracker.ceph.com/issues/17420
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
9 years agoMerge pull request #11638 from tchaikov/wip-clang
Kefu Chai [Thu, 27 Oct 2016 05:01:17 +0000 (13:01 +0800)]
Merge pull request #11638 from tchaikov/wip-clang

include/enc: make clang happy

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #11658 from hjwsm1989/doc
Josh Durgin [Wed, 26 Oct 2016 23:17:56 +0000 (16:17 -0700)]
Merge pull request #11658 from hjwsm1989/doc

doc: change the osd_max_backfills default to 1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agomds/MDLog: add const to member functions
Michal Jarzabek [Wed, 26 Oct 2016 21:13:48 +0000 (22:13 +0100)]
mds/MDLog: add const to member functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoMerge pull request #10887 from michaelsevilla/mantle
John Spray [Wed, 26 Oct 2016 19:31:28 +0000 (20:31 +0100)]
Merge pull request #10887 from michaelsevilla/mantle

fs: Mantle: A Programmable Metadata Load Balancer

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #11641 from vshankar/rbd-data-pool-assert
Jason Dillaman [Wed, 26 Oct 2016 15:35:59 +0000 (11:35 -0400)]
Merge pull request #11641 from vshankar/rbd-data-pool-assert

librbd: possible assert failure creating image when using data pool

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agocommon/cmdparse,msg/async: remove unnecessary std::move()
Kefu Chai [Tue, 25 Oct 2016 08:25:39 +0000 (16:25 +0800)]
common/cmdparse,msg/async: remove unnecessary std::move()

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agolibrados: postpone cct deletion
Kefu Chai [Wed, 26 Oct 2016 09:21:41 +0000 (17:21 +0800)]
librados: postpone cct deletion

RefCountedObject::put() prints log using cct, but RadosClient
relinquishes the reference to cct too early, so when its
`RefCountedObject` member variables print log when they are
destructed, the cct is already freed. hence we have a segfault.

to address this problem, we need postpone destructure of it after all
other RefCountedObject member variables are destroyed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11570 from tchaikov/wip-revise-SubmittingPatches
Kefu Chai [Wed, 26 Oct 2016 14:37:41 +0000 (22:37 +0800)]
Merge pull request #11570 from tchaikov/wip-revise-SubmittingPatches

doc: reformat SubmittingPatches with more rst syntax

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoMerge pull request #11630 from cbodley/wip-rgw-curl-upgrade
Orit Wasserman [Wed, 26 Oct 2016 13:46:18 +0000 (15:46 +0200)]
Merge pull request #11630 from cbodley/wip-rgw-curl-upgrade

rgw: remove suggestion to upgrade libcurl
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoosd/PGBackend: fix collection_list shadow return value
Haomai Wang [Sun, 9 Oct 2016 10:31:54 +0000 (18:31 +0800)]
osd/PGBackend: fix collection_list shadow return value

Fixes: http://tracker.ceph.com/issues/17713
Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #11385 from bassamtabbara/wip-rocksdb-external-project
Kefu Chai [Wed, 26 Oct 2016 10:48:33 +0000 (18:48 +0800)]
Merge pull request #11385 from bassamtabbara/wip-rocksdb-external-project

cmake: use external project for rocksdb

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agodoc: remove ending period in section titles
Kefu Chai [Wed, 26 Oct 2016 09:53:22 +0000 (17:53 +0800)]
doc: remove ending period in section titles

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years ago doc: change the osd_max_backfills default to 1
huangjun [Wed, 26 Oct 2016 08:55:53 +0000 (16:55 +0800)]
doc: change the osd_max_backfills default to 1
Fixes: http://tracker.ceph.com/issues/17701
Signed-off-by: huangjun <hjwsm1989@gmail.com>
9 years agoMerge pull request #11653 from ktdreyer/doc-epel-instructions
Kefu Chai [Wed, 26 Oct 2016 07:39:42 +0000 (15:39 +0800)]
Merge pull request #11653 from ktdreyer/doc-epel-instructions

doc: standardize EPEL instructions

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: use external project for rocksdb
Bassam Tabbara [Tue, 11 Oct 2016 05:56:18 +0000 (22:56 -0700)]
cmake: use external project for rocksdb

This commit makes rocksdb an external cmake project. This ensures
that rocksdb is no longer built from src/rocksdb, and that make clean
works correctly.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
9 years agopickup new rocksdb with support for linux cmake
Bassam Tabbara [Tue, 11 Oct 2016 06:04:18 +0000 (23:04 -0700)]
pickup new rocksdb with support for linux cmake

This picksup a new version of rocksdb with support for
linux cmake.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
9 years agoMerge pull request #11619 from dachary/wip-17662-ceph-disk
Kefu Chai [Wed, 26 Oct 2016 07:02:51 +0000 (15:02 +0800)]
Merge pull request #11619 from dachary/wip-17662-ceph-disk

ceph-disk: allow using a regular file as a journal

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11652 from ktdreyer/doc-mgr-syntax
Kefu Chai [Wed, 26 Oct 2016 05:53:27 +0000 (13:53 +0800)]
Merge pull request #11652 from ktdreyer/doc-mgr-syntax

doc: fix mgr literal block rST syntax

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years ago mon: print the num_pools and num_objects in 'ceph -s -f json/json-pretty'.
huangjun [Wed, 26 Oct 2016 03:40:05 +0000 (11:40 +0800)]
  mon: print the num_pools and num_objects in 'ceph -s -f json/json-pretty'.
Fixes: http://tracker.ceph.com/issues/17703
Signed-off-by: huangjun <hjwsm1989@gmail.com>
9 years agolibrbd: assert failure when using data pool
Venky Shankar [Mon, 24 Oct 2016 13:16:42 +0000 (18:46 +0530)]
librbd: assert failure when using data pool

This fixes a silly assert that's hit during image creation
(cli/api) when the data pool specified is same as the pool
specified by -p/--pool option (or the default).

Signed-off-by: Venky Shankar <vshankar@redhat.com>
9 years agodoc: standardize EPEL instructions
Ken Dreyer [Wed, 26 Oct 2016 02:00:48 +0000 (20:00 -0600)]
doc: standardize EPEL instructions

Prior to this change, the documentation pages contained different ways
to enable EPEL. Pick a simple, secure (https) way and standardize on
that.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agodoc: fix mgr literal block rST syntax
Ken Dreyer [Wed, 26 Oct 2016 01:44:57 +0000 (19:44 -0600)]
doc: fix mgr literal block rST syntax

Prior to this change, there were double-colon ("::") characters in the
HTML docs to indicate literal blocks.

The proceeding paragraphs were not pre-formatted because there was no
newline between the double-colon and the to-be-pre-formatted paragraph.

Move the "::" characters inline to simplify the syntax and make Sphinx
properly interpret these texts as literal blocks.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #11594 from cbodley/wip-rgw-init-bucket-sync
Yehuda Sadeh [Tue, 25 Oct 2016 22:06:54 +0000 (15:06 -0700)]
Merge pull request #11594 from cbodley/wip-rgw-init-bucket-sync

rgw: fix for passing temporary in InitBucketSyncStatus

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #11505 from cbodley/wip-17571
Yehuda Sadeh [Tue, 25 Oct 2016 22:05:27 +0000 (15:05 -0700)]
Merge pull request #11505 from cbodley/wip-17571

rgw: clean up RGWShardedOmapCRManager on early return

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #11504 from cbodley/wip-17568
Yehuda Sadeh [Tue, 25 Oct 2016 22:04:02 +0000 (15:04 -0700)]
Merge pull request #11504 from cbodley/wip-17568

rgw: RGWSimpleRadosReadCR tolerates empty reads

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>