Commit Graph

66841 Commits

Author SHA1 Message Date
Jason Dillaman
8ddfb45326 librbd: keep rbd_default_features setting as bitmask
Support both human readable, comma delimited list of feature
names and also integer bitmask value. Attempting to read the
setting will always result in the feature bitmask integer
value.

This is required to avoid breaking backwards compatibility with
librbd clients that are dependent on the older behavior (e.g.
OpenStack).

Fixes: http://tracker.ceph.com/issues/18247
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-12-16 09:26:28 -05:00
Xie Xingguo
be1a4a2aee Merge pull request #12502 from kylinstorage/wip-ctypos2
fix typos

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-12-15 18:22:50 +08:00
xianxiaxiao
c1dedf780b rc/rgw/rgw_rados.cc : fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-15 09:24:56 +00:00
xianxiaxiao
c6206776b1 rc/rgw/rgw_coroutine.cc : fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-15 09:24:24 +00:00
xianxiaxiao
962587165c rc/os/memstore/MemStore.h : fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-15 09:23:46 +00:00
xianxiaxiao
9b317f7322 rc/os/filestore/FileStore.cc : fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-15 09:23:05 +00:00
xianxiaxiao
8094bcaf7a rc/os/bluestore/NVMEDevice.cc :fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-15 09:22:29 +00:00
xianxiaxiao
625ab0101f rc/mon/DumplingMonCommands.h :fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-15 09:21:40 +00:00
Xie Xingguo
298d6190dc 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>
2016-12-15 10:42:26 +08:00
Brad Hubbard
1fdbabad7e 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>
2016-12-15 11:58:44 +10:00
xianxiaxiao
c70e4c3659 src/os/bluestore/BlueStore.cc:fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-15 00:54:59 +00:00
Samuel Just
96d30395f7 Merge pull request #12493 from athanatos/wip-18113-qa
Wip 18113 qa
2016-12-14 16:07:27 -08:00
Samuel Just
ae40602c14 Merge remote-tracking branch 'ceph-qa-suite/master' into wip-18113-qa 2016-12-14 16:05:35 -08:00
Samuel Just
36481ff23f 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>
2016-12-14 15:57:24 -08:00
Brad Hubbard
1bfabc3d63 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>
2016-12-15 08:20:27 +10:00
Yuri Weinstein
940b96a75b Merge pull request #12438 from songbaisen/s6
mon: make it more clearly to debug for paxos state

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-14 13:49:24 -08:00
Yuri Weinstein
167b3e1dc5 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>
2016-12-14 13:48:28 -08:00
Yehuda Sadeh
a5bc1f4888 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>
2016-12-14 13:42:51 -08:00
Samuel Just
dff7077c67 Merge pull request #12487 from athanatos/wip-rpg-rename
src: rename ReplicatedPG to PrimaryLogPG

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-14 13:27:54 -08:00
Yehuda Sadeh
9b331f948d 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>
2016-12-14 11:35:24 -08:00
Samuel Just
c2c5dace33 Merge pull request #12268 from dzafman/wip-18113
osd: When deep-scrub errors present upgrade regular scrubs

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-14 11:34:24 -08:00
Samuel Just
6f8e4b3810 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>
2016-12-14 10:18:27 -08:00
Sage Weil
025f777dbb Merge pull request #12453 from liewegas/qa-suite-master
master: merge ceph-qa-suite
2016-12-14 11:39:42 -06:00
Sage Weil
a1eaa3f00f merge ceph-qa-suite 2016-12-14 11:29:58 -06:00
Sage Weil
c01f2ee0e2 move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00
Sage Weil
0c061c14a6 Revert "tasks/workunit.py: depth 1 clone"
This reverts commit 4faf77a649.
2016-12-14 12:28:23 -05:00
Mykola Golub
4828ab63fa 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>
2016-12-14 19:23:12 +02:00
Zack Cerza
124712a4d5 Merge pull request #1307 from ceph/wip-workunit-repo
tasks/workunit: use correct git mirror url
2016-12-14 10:21:05 -07:00
Sage Weil
4faf77a649 tasks/workunit.py: depth 1 clone
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-14 12:19:44 -05:00
Sage Weil
159c455a03 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>
2016-12-14 12:18:29 -05:00
Jason Dillaman
52e46fdf21 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>
2016-12-14 11:40:09 -05:00
Sage Weil
bd83719e6e Merge pull request #1309 from ceph/wip-16800-kefu
tasks/ceph: restore context of osd mount path before mkfs
2016-12-14 09:56:25 -06:00
Sage Weil
49698d6e2b Merge pull request #12476 from liewegas/wip-vstart-rados
CMakeLists: add vstart-base target

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-14 09:23:52 -06:00
Matt Benjamin
04bf0f8ca1 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>
2016-12-14 09:59:20 -05:00
Sage Weil
2b94702139 Merge pull request #12393 from dachary/wip-18036-throttle
tests: unittest_throttle avoid ASSERT_DEATH

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-14 08:54:34 -06:00
Mykola Golub
a1a2f3a0ce 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>
2016-12-14 16:51:04 +02:00
John Spray
2871374c38 Merge pull request #1156 from ceph/wip-kclient-python
Enable cephfs python tests on kclient
2016-12-14 14:09:13 +00:00
John Spray
63ae8579bf Merge pull request #11542 from batrick/systemd-ceph-fuse
systemd: add ceph-fuse service file

Reviewed-by: John Spray <john.spray@redhat.com>
2016-12-14 13:55:33 +00:00
John Spray
3c7c65c669 Merge pull request #12337 from vishalkanaujia/wip_12132
tools: cleanup phase of cephfs-data-scan

Reviewed-by: John Spray <john.spray@redhat.com>
2016-12-14 13:52:35 +00:00
John Spray
69e03da184 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>
2016-12-14 13:49:33 +00:00
John Spray
f0f552ca13 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>
2016-12-14 12:57:21 +00:00
John Spray
cdbad50eca Merge pull request #12395 from jcsp/wip-18166
mon/MDSMonitor: fix iterating over mutated map

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2016-12-14 12:56:35 +00:00
John Spray
e25f060a73 Merge pull request #12401 from kylinstorage/wip-typos
client: fix mutex name typos

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-12-14 12:56:11 +00:00
John Spray
8d4a95d50b Merge pull request #12443 from jcsp/wip-18225
mds: release pool allocator memory after exceeding size limit

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-12-14 12:52:23 +00:00
Kefu Chai
53225d5272 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>
2016-12-14 19:15:16 +08:00
Mykola Golub
42c2514fe2 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>
2016-12-14 09:53:05 +02:00
xianxiaxiao
b26555a042 src/kv/RocksDBStore.cc:fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-14 07:32:23 +00:00
xianxiaxiao
679292b957 src/erasure-code/shec/ErasureCodeShec.cc:fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-14 07:30:23 +00:00
xianxiaxiao
46e79f4828 src/client/SyntheticClient.cc: fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-14 07:28:49 +00:00
xianxiaxiao
54d505d60a src/rgw/rgw_cache.cc:fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
2016-12-14 07:27:25 +00:00