]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoMerge pull request #13742 from liupan1111/wip-cleanup-journal
Kefu Chai [Tue, 7 Mar 2017 04:24:50 +0000 (12:24 +0800)]
Merge pull request #13742 from liupan1111/wip-cleanup-journal

os/filestore: use existing variable for same func.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12177 from kylinstorage/wip-remove-unneeded-loop
Kefu Chai [Tue, 7 Mar 2017 04:21:32 +0000 (12:21 +0800)]
Merge pull request #12177 from kylinstorage/wip-remove-unneeded-loop

os/filestore/FileStore.cc: remove unneeded loop

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13741 from rzarzynski/wip-bs-fastcrc32-in-rocks
Kefu Chai [Tue, 7 Mar 2017 04:06:22 +0000 (12:06 +0800)]
Merge pull request #13741 from rzarzynski/wip-bs-fastcrc32-in-rocks

os/bluestore: enable SSE-assisted CRC32 calculations in RocksDB

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13768 from tchaikov/wip-clang-fixes
Kefu Chai [Tue, 7 Mar 2017 04:05:36 +0000 (12:05 +0800)]
Merge pull request #13768 from tchaikov/wip-clang-fixes

librados, osd: clang fixes

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #13794 from liewegas/wip-clog-newlines
Kefu Chai [Tue, 7 Mar 2017 04:04:52 +0000 (12:04 +0800)]
Merge pull request #13794 from liewegas/wip-clog-newlines

common: remove \n on clog messages

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #13796 from liewegas/wip-debian-base-dbg
Kefu Chai [Tue, 7 Mar 2017 04:04:25 +0000 (12:04 +0800)]
Merge pull request #13796 from liewegas/wip-debian-base-dbg

debian/control: add ceph-base-dbg

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13799 from optimistyzy/36_1
Haomai Wang [Tue, 7 Mar 2017 01:48:28 +0000 (09:48 +0800)]
Merge pull request #13799 from optimistyzy/36_1

bluestore, NVMEDEVICE: Specify the max io completion in conf

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
8 years agoMerge pull request #13806 from vshankar/rbd-internal-api-move
Jason Dillaman [Tue, 7 Mar 2017 01:45:48 +0000 (20:45 -0500)]
Merge pull request #13806 from vshankar/rbd-internal-api-move

test/librbd: move tests using non-public api to internal

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #13755 from liewegas/wip-19131
Josh Durgin [Mon, 6 Mar 2017 20:48:25 +0000 (12:48 -0800)]
Merge pull request #13755 from liewegas/wip-19131

osd/osd_internal_types: wake snaptrimmer on put_read lock, too

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13411 from yehudasa/wip-vstart-rgw-fix
Yehuda Sadeh [Mon, 6 Mar 2017 19:29:14 +0000 (11:29 -0800)]
Merge pull request #13411 from yehudasa/wip-vstart-rgw-fix

vstart: don't configure rgw_dns_name

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13425 from dzafman/wip-15912
David Zafman [Mon, 6 Mar 2017 18:49:01 +0000 (10:49 -0800)]
Merge pull request #13425 from dzafman/wip-15912

osd: various changes for preventing internal ENOSPC condition

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13783 from cbodley/wip-18980
Yehuda Sadeh [Mon, 6 Mar 2017 17:11:50 +0000 (09:11 -0800)]
Merge pull request #13783 from cbodley/wip-18980

rgw: if user.email is empty, dont try to delete

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #13379 from jecluis/wip-mon-luminous-features
Sage Weil [Mon, 6 Mar 2017 16:46:08 +0000 (10:46 -0600)]
Merge pull request #13379 from jecluis/wip-mon-luminous-features

mon: enable luminous monmap feature on full quorum

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13582 from guzhongyan/cleanup_execute_ctx
Yuri Weinstein [Mon, 6 Mar 2017 16:35:11 +0000 (08:35 -0800)]
Merge pull request #13582 from guzhongyan/cleanup_execute_ctx

osd: correct the func name in execute_ctx() log messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13699 from yuyuyu101/wipasync-name
Yuri Weinstein [Mon, 6 Mar 2017 16:34:28 +0000 (08:34 -0800)]
Merge pull request #13699 from yuyuyu101/wipasync-name

msg/async: set thread name for msgr worker

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13726 from dachary/wip-crushtool-json
Yuri Weinstein [Mon, 6 Mar 2017 16:33:53 +0000 (08:33 -0800)]
Merge pull request #13726 from dachary/wip-crushtool-json

crush: add --dump to crushtool

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13730 from idryomov/wip-osd-rm-incremental
Yuri Weinstein [Mon, 6 Mar 2017 16:32:26 +0000 (08:32 -0800)]
Merge pull request #13730 from idryomov/wip-osd-rm-incremental

osd/OSDMap: don't set weight to IN when OSD is destroyed

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13715 from wangzhengyong/master
Sage Weil [Mon, 6 Mar 2017 14:36:02 +0000 (08:36 -0600)]
Merge pull request #13715 from wangzhengyong/master

os/bluestore: remove unused local variable "pos"

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13728 from ifed01/wip-bluestore-fix-smallwrite
Sage Weil [Mon, 6 Mar 2017 14:35:20 +0000 (08:35 -0600)]
Merge pull request #13728 from ifed01/wip-bluestore-fix-smallwrite

os/bluestore: fix a bug in small write handling on sharded extents

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13736 from rzarzynski/wip-bs-bitmap-exact-type-in-leaf
Sage Weil [Mon, 6 Mar 2017 14:35:01 +0000 (08:35 -0600)]
Merge pull request #13736 from rzarzynski/wip-bs-bitmap-exact-type-in-leaf

os/bluestore: leverage the type knowledge in BitMapAreaLeaf.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13743 from rzarzynski/wip-bs-bitmap-zone-direct-vector
Sage Weil [Mon, 6 Mar 2017 14:34:43 +0000 (08:34 -0600)]
Merge pull request #13743 from rzarzynski/wip-bs-bitmap-zone-direct-vector

os/bluestore: remove unneeded indirection in BitMapZone.

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agotest / librbd: move non-public api usage tests to internal 13806/head
Venky Shankar [Mon, 6 Mar 2017 06:52:27 +0000 (12:22 +0530)]
test / librbd: move non-public api usage tests to internal

Signed-off-by: Venky Shankar <vshankar@redhat.com>
8 years agotest / librbd: create_image_full_pp() / clone_image_pp() helpers
Venky Shankar [Sun, 5 Mar 2017 06:17:02 +0000 (11:47 +0530)]
test / librbd: create_image_full_pp() / clone_image_pp() helpers

Signed-off-by: Venky Shankar <vshankar@redhat.com>
8 years agobluestore, NVMEDEVICE: Specify the max io completion in conf 13799/head
optimistyzy [Mon, 6 Mar 2017 04:55:41 +0000 (12:55 +0800)]
bluestore, NVMEDEVICE: Specify the max io completion in conf

I do not think that 4 is meaninful. If a value needs to be determined,
it should be configured in the configuration file.

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
8 years agoos/filestore: use existing variable to assign newsize. 13742/head
Pan Liu [Mon, 6 Mar 2017 04:35:22 +0000 (12:35 +0800)]
os/filestore: use existing variable to assign newsize.

Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agoMerge pull request #13228 from trociny/wip-qa-rbd_mirror-opts
Kefu Chai [Mon, 6 Mar 2017 04:07:23 +0000 (12:07 +0800)]
Merge pull request #13228 from trociny/wip-qa-rbd_mirror-opts

qa/workunits/rbd: tweak rbd-mirror config to spead up testing

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agocommon: remove \n on clog messages 13794/head
Sage Weil [Mon, 6 Mar 2017 02:59:45 +0000 (21:59 -0500)]
common: remove \n on clog messages

Confirmed these aren't needed, and are inconsistently included.
Remove them where they do appear.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13772 from Liuchang0812/wip-add-override-in-mgr-headers
Kefu Chai [Mon, 6 Mar 2017 02:39:01 +0000 (10:39 +0800)]
Merge pull request #13772 from Liuchang0812/wip-add-override-in-mgr-headers

mgr: add override in headers

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: enable SSE-assisted CRC32 calculations in RocksDB. 13741/head
Radoslaw Zarzynski [Thu, 2 Mar 2017 06:57:33 +0000 (07:57 +0100)]
os/bluestore: enable SSE-assisted CRC32 calculations in RocksDB.

By default RocksDB extensively employs CRC32. It has two paths
for the checksum calculation:
 * rocksdb::crc32c::Slow_CRC32,
 * rocksdb::crc32c::Fast_CRC32.

The fast path depends on a run-time discovery of CPU capabilities
AND a compile-time define __SSE4_2__. Although my systems really
offer SSE4.2 support, the macro was undefined resulting in poor
RocksDB performance visible especially during WAL transactions.

The patch (awkwardly) adds the -msse4.2 to CXXFLAGS for RocksDB.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agodebian/control: add ceph-base-dbg 13796/head
Sage Weil [Sun, 5 Mar 2017 19:38:12 +0000 (14:38 -0500)]
debian/control: add ceph-base-dbg

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13765 from guihecheng/rgwfs-time-attrs
Matt Benjamin [Sat, 4 Mar 2017 20:50:47 +0000 (15:50 -0500)]
Merge pull request #13765 from guihecheng/rgwfs-time-attrs

rgw_file: posix style atime,ctime,mtime

8 years agoMerge pull request #13712 from linuxbox2/wip-dtor-fhcache
Matt Benjamin [Sat, 4 Mar 2017 20:50:03 +0000 (15:50 -0500)]
Merge pull request #13712 from linuxbox2/wip-dtor-fhcache

rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache

8 years agoMerge pull request #13645 from yehudasa/wip-rgw-support-ragweed
Orit Wasserman [Sat, 4 Mar 2017 14:12:09 +0000 (16:12 +0200)]
Merge pull request #13645 from yehudasa/wip-rgw-support-ragweed

rgw: add apis to support ragweed
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #13413 from zhaochao/fix-mailmap-affiation
Kefu Chai [Sat, 4 Mar 2017 04:51:19 +0000 (12:51 +0800)]
Merge pull request #13413 from zhaochao/fix-mailmap-affiation

mailmap: fix Zhao Chao affiliation.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agorgw: delete_system_obj() fails on empty object name 13783/head
Casey Bodley [Fri, 3 Mar 2017 17:10:40 +0000 (12:10 -0500)]
rgw: delete_system_obj() fails on empty object name

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: if user.email is empty, dont try to delete
Casey Bodley [Fri, 3 Mar 2017 16:42:45 +0000 (11:42 -0500)]
rgw: if user.email is empty, dont try to delete

Fixes: http://tracker.ceph.com/issues/18980
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/suites/rados/thrash: add no-thrash item to matrix 13755/head
Sage Weil [Fri, 3 Mar 2017 16:07:43 +0000 (10:07 -0600)]
qa/suites/rados/thrash: add no-thrash item to matrix

Run all of our cases with no thrashing.  This would have uncovered
http://tracker.ceph.com/issues/19131 much sooner!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13767 from tchaikov/wip-vstart-no-multiple-mgr-x
Sage Weil [Fri, 3 Mar 2017 15:56:07 +0000 (09:56 -0600)]
Merge pull request #13767 from tchaikov/wip-vstart-no-multiple-mgr-x

vstart.sh: do not add host for mgr.* section if not $overwrite_conf

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw_file: RGWFileHandle dtor must also cond-unlink from FHCache 13712/head
Matt Benjamin [Wed, 1 Mar 2017 01:24:12 +0000 (20:24 -0500)]
rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache

Formerly masked in part by the reclaim() action, direct-delete now
substitutes for reclaim() iff its LRU lane is over its high-water
mark, and in particular, like reclaim() the destructor is certain
to see handles still interned on the FHcache when nfs-ganesha is
recycling objects from its own LRU.

Fixes: http://tracker.ceph.com/issues/19112
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agomgr: add override in headers 13772/head
liuchang0812 [Wed, 22 Feb 2017 11:52:46 +0000 (19:52 +0800)]
mgr: add override in headers

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoosd/PGLog: always use ldpp_dout() to print with dpp 13768/head
Kefu Chai [Fri, 3 Mar 2017 08:42:53 +0000 (16:42 +0800)]
osd/PGLog: always use ldpp_dout() to print with dpp

lderr(dpp->get_cct()) could crash if dpp is null.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13584 from theanalyst/doc/release-luminous
Nathan Cutler [Fri, 3 Mar 2017 09:42:07 +0000 (10:42 +0100)]
Merge pull request #13584 from theanalyst/doc/release-luminous

doc: releases update the luminous, hammer, jewel release dates

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoos/bluestore: "noid" is not always necessary in clone op 13715/head
wangzhengyong [Fri, 3 Mar 2017 09:16:21 +0000 (17:16 +0800)]
os/bluestore: "noid" is not always necessary in clone op

Signed-off-by: wangzhengyong@cmss.chinamobile.com
8 years agolibrados: rados_inconsistent_pg_list() check "buf" param for null before copying...
Kefu Chai [Fri, 3 Mar 2017 08:41:51 +0000 (16:41 +0800)]
librados: rados_inconsistent_pg_list() check "buf" param for null before copying to it

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agovstart.sh: do not add host for mgr.* section if not $overwrite_conf 13767/head
Kefu Chai [Fri, 3 Mar 2017 07:52:11 +0000 (15:52 +0800)]
vstart.sh: do not add host for mgr.* section if not $overwrite_conf

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13678 from liewegas/wip-readable
Kefu Chai [Fri, 3 Mar 2017 07:03:03 +0000 (15:03 +0800)]
Merge pull request #13678 from liewegas/wip-readable

test/encoding: fix readable.sh bugs; fix ceph-object-corpus

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorgw_file: posix style atime,ctime,mtime 13765/head
Gui Hecheng [Thu, 2 Mar 2017 09:21:57 +0000 (17:21 +0800)]
rgw_file: posix style atime,ctime,mtime

As an ganesha FSAL backend, rgw_file should properly maintain
the atime,ctime,mtime properly against operations such as:
(read,write) for file
(create,unlink,mkdir,rmdir,rename) for dir
(setattr) for file and dir

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
8 years agoMerge pull request #13762 from Liuchang0812/wip-remove-unnecessary-code-in-mon
Kefu Chai [Fri, 3 Mar 2017 05:05:04 +0000 (13:05 +0800)]
Merge pull request #13762 from Liuchang0812/wip-remove-unnecessary-code-in-mon

mon: remove unnecessary function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomon: remove unnecessary function declaration 13762/head
liuchang0812 [Fri, 3 Mar 2017 03:54:34 +0000 (11:54 +0800)]
mon: remove unnecessary function declaration

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #12566 from Liuchang0812/wip-rados
Kefu Chai [Fri, 3 Mar 2017 03:47:25 +0000 (11:47 +0800)]
Merge pull request #12566 from Liuchang0812/wip-rados

tools/rados: remove useless function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/filestore/FileStore.cc: remove unneeded loop 12177/head
Li Wang [Fri, 3 Mar 2017 03:27:45 +0000 (03:27 +0000)]
os/filestore/FileStore.cc: remove unneeded loop

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
8 years agoMerge pull request #12421 from cernceph/wip-dvanders-split
Sage Weil [Fri, 3 Mar 2017 01:04:51 +0000 (19:04 -0600)]
Merge pull request #12421 from cernceph/wip-dvanders-split

os/filestore/HashIndex: be loud about splits

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12627 from liupan1111/wip-fix-remove-when-full
Yuri Weinstein [Fri, 3 Mar 2017 00:59:34 +0000 (16:59 -0800)]
Merge pull request #12627 from liupan1111/wip-fix-remove-when-full

rbd: When Ceph cluster becomes full, should allow user to remove rbd …

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13289 from songbaisen/s13
Yuri Weinstein [Fri, 3 Mar 2017 00:57:23 +0000 (16:57 -0800)]
Merge pull request #13289 from songbaisen/s13

rados:  we need to get the latest osdmap when pool does not exists

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoos/bluestore: remove unneeded indirection in BitMapZone. 13743/head
Radoslaw Zarzynski [Wed, 1 Mar 2017 15:54:39 +0000 (16:54 +0100)]
os/bluestore: remove unneeded indirection in BitMapZone.

BitMapZone aggregates BmapEntries through a pointer to independently-
allocated std::vector which in turn has its own pointer to the real
data. This indirection is unnecessary as std::vector is pretty cheap
in the terms of memory overhead. For instance, on x86-64 & GCC 5.4.0
sizeof(std::vector) == 24, which translates to 3 raw pointers.

Stripping the indirection could have positive impact on processor's
caches and allow to minimize the number of memory accesses.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #13599 from kylinstorage/cleanup_bitmapallocator
Sage Weil [Thu, 2 Mar 2017 22:50:22 +0000 (16:50 -0600)]
Merge pull request #13599 from kylinstorage/cleanup_bitmapallocator

os/bluestore/BitMapAllocator: rm unused variable

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13744 from smithfarm/wip-19129
Sage Weil [Thu, 2 Mar 2017 22:39:46 +0000 (16:39 -0600)]
Merge pull request #13744 from smithfarm/wip-19129

build/ops: add psmisc dependency to ceph-base (deb and rpm)

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13750 from Saumay-Agrawal/master
Sage Weil [Thu, 2 Mar 2017 22:38:56 +0000 (16:38 -0600)]
Merge pull request #13750 from Saumay-Agrawal/master

mon: Update OSDMon.cc comments

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13751 from Saumay-Agrawal/patch-1
Sage Weil [Thu, 2 Mar 2017 22:38:07 +0000 (16:38 -0600)]
Merge pull request #13751 from Saumay-Agrawal/patch-1

doc: Update sample.ceph.conf

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoosd/osd_internal_types: wake snaptrimmer on put_read lock, too
Sage Weil [Thu, 2 Mar 2017 21:03:57 +0000 (15:03 -0600)]
osd/osd_internal_types: wake snaptrimmer on put_read lock, too

The snaptrimmer can block taking a write lock, which might happen due to
a conficting EC read.  When the EC read completes, we need to wake up the
snaptrimmer.

Fixes: http://tracker.ceph.com/issues/19131
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoUpdate sample.ceph.conf 13751/head
Saumay Agrawal [Thu, 2 Mar 2017 19:34:19 +0000 (01:04 +0530)]
Update sample.ceph.conf

I have fixed the cleanup issue #19090: Wrong hard-coded URLs
Please add these changes to your documentation.

8 years agoUpdate OSDMon.cc 13750/head
Saumay Agrawal [Thu, 2 Mar 2017 19:09:26 +0000 (00:39 +0530)]
Update OSDMon.cc

I have fixed the issue cleanup #19090: Wrong hard-coded URLs
I have replaced the wrong URLs with correct URLs redirecting to the Tunables headline under Crush Map documentation.
Please add it to the documentation.

8 years agoMerge pull request #13748 from tchaikov/wip-disable-dwz
Sage Weil [Thu, 2 Mar 2017 18:12:52 +0000 (12:12 -0600)]
Merge pull request #13748 from tchaikov/wip-disable-dwz

rpm: disable dwz to speed up valgrind

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomon: test 'mon feature' cli 13379/head
Joao Eduardo Luis [Tue, 14 Feb 2017 16:35:01 +0000 (16:35 +0000)]
mon: test 'mon feature' cli

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agoqa/workunits/ceph-helpers: add wait_for_quorum()
Joao Eduardo Luis [Tue, 21 Feb 2017 01:27:54 +0000 (01:27 +0000)]
qa/workunits/ceph-helpers: add wait_for_quorum()

Takes optional timeout and desired quorum size

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agomon: enable persistent monmap features on full quorum
Joao Eduardo Luis [Mon, 13 Feb 2017 00:36:31 +0000 (00:36 +0000)]
mon: enable persistent monmap features on full quorum

We will now only enable persistent features automatically
when ALL the monitors in the monmap are in the quorum.
 #noMonitorLeftBehind

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agomon: better 'mon features' cli
Joao Eduardo Luis [Mon, 13 Feb 2017 00:35:18 +0000 (00:35 +0000)]
mon: better 'mon features' cli

Allows listing supported and currently set monmap features, as well as
setting and unsetting them.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agoMerge pull request #13571 from trociny/wip-18784
Jason Dillaman [Thu, 2 Mar 2017 17:03:25 +0000 (12:03 -0500)]
Merge pull request #13571 from trociny/wip-18784

rbd-mirror A/A: leader should track up/down rbd-mirror instances

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13746 from tahia-khan/wip-doc-quick-ceph-deploy
Kefu Chai [Thu, 2 Mar 2017 16:13:57 +0000 (00:13 +0800)]
Merge pull request #13746 from tahia-khan/wip-doc-quick-ceph-deploy

doc: deletes duplicated word and clarifies an example

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13689 from Liuchang0812/wip-19107-cleanup-confutil
Sage Weil [Thu, 2 Mar 2017 16:07:30 +0000 (10:07 -0600)]
Merge pull request #13689 from Liuchang0812/wip-19107-cleanup-confutil

common: use ref to avoid unnecessary memory copy

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13739 from Liuchang0812/fix-unittest-hostname
Sage Weil [Thu, 2 Mar 2017 16:05:21 +0000 (10:05 -0600)]
Merge pull request #13739 from Liuchang0812/fix-unittest-hostname

test: unittest_hostname compile error on freebsd

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #13693 from Liuchang0812/wip-add-override-in-mon-headers
Sage Weil [Thu, 2 Mar 2017 16:04:04 +0000 (10:04 -0600)]
Merge pull request #13693 from Liuchang0812/wip-add-override-in-mon-headers

mon: add override in headers

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13701 from dillaman/wip-19010
Mykola Golub [Thu, 2 Mar 2017 15:42:54 +0000 (17:42 +0200)]
Merge pull request #13701 from dillaman/wip-19010

librbd: simplify image open/close semantics

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agocommon: use ref to avoid unnecessary memory copy 13689/head
liuchang0812 [Tue, 28 Feb 2017 08:59:41 +0000 (16:59 +0800)]
common: use ref to avoid unnecessary memory copy

Fixes: http://tracker.ceph.com/issues/19107
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agodoc: deletes duplicated word and clarifies an example 13746/head
Tahia Khan [Thu, 2 Mar 2017 13:41:38 +0000 (08:41 -0500)]
doc: deletes duplicated word and clarifies an example

Signed-off-by: Tahia Khan <tahia.khan@gmail.com>
8 years agoMerge pull request #13679 from dillaman/wip-librbd-image-cache-clip
Mykola Golub [Thu, 2 Mar 2017 13:01:35 +0000 (15:01 +0200)]
Merge pull request #13679 from dillaman/wip-librbd-image-cache-clip

librbd: image-extent cache needs to clip out-of-bounds read buffers

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agomon: add override in headers 13693/head
liuchang0812 [Wed, 22 Feb 2017 10:07:02 +0000 (18:07 +0800)]
mon: add override in headers

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agobuild/ops: add psmisc dependency to ceph-base (deb and rpm) 13744/head
Nathan Cutler [Thu, 2 Mar 2017 11:41:07 +0000 (12:41 +0100)]
build/ops: add psmisc dependency to ceph-base (deb and rpm)

Fixes: http://tracker.ceph.com/issues/19129
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoos/bluestore: switch to alloc_dbg_assert in BmapEntityListIter::next(). 13736/head
Radoslaw Zarzynski [Thu, 2 Mar 2017 11:05:37 +0000 (12:05 +0100)]
os/bluestore: switch to alloc_dbg_assert in BmapEntityListIter::next().

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoos/bluestore: inline for the sake of BitMapAreaLeaf::child_check_n_lock.
Radoslaw Zarzynski [Thu, 2 Mar 2017 08:07:17 +0000 (09:07 +0100)]
os/bluestore: inline for the sake of BitMapAreaLeaf::child_check_n_lock.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agomailmap: fix Zhao Chao affiliation. 13413/head
Zhao Chao [Tue, 14 Feb 2017 08:39:15 +0000 (16:39 +0800)]
mailmap: fix Zhao Chao affiliation.

Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
8 years agoMerge pull request #13427 from ly798/update-info
Kefu Chai [Thu, 2 Mar 2017 09:00:48 +0000 (17:00 +0800)]
Merge pull request #13427 from ly798/update-info

mailmap: Liu Yang affiliation

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #13738 from yuyuyu101/wip-fix-ib
Haomai Wang [Thu, 2 Mar 2017 07:52:03 +0000 (15:52 +0800)]
Merge pull request #13738 from yuyuyu101/wip-fix-ib

msg/async/rdma: fix potential racing connection usage

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agoMerge pull request #13655 from Adirl/ulimit
Haomai Wang [Thu, 2 Mar 2017 07:02:21 +0000 (15:02 +0800)]
Merge pull request #13655 from Adirl/ulimit

msg/async/rdma: check ulimit

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: check ulimit 13655/head
Sarit Zubakov [Mon, 20 Feb 2017 20:52:55 +0000 (20:52 +0000)]
msg/async/rdma: check ulimit

On RDMA, memlock should be unlimited. If it is not then
warn the user

issue: 973654

Change-Id: If1e07722aaca9df88714828ca3f7398a2504e262
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
8 years agoMerge pull request #13510 from yuyuyu101/wip-rdma-buffer-size
Haomai Wang [Thu, 2 Mar 2017 06:47:01 +0000 (14:47 +0800)]
Merge pull request #13510 from yuyuyu101/wip-rdma-buffer-size

common/config_opts: improve rdma buffer size to 128k

8 years agotest: unittest_hostname compile error on freebsd 13739/head
liuchang0812 [Thu, 2 Mar 2017 05:56:20 +0000 (13:56 +0800)]
test: unittest_hostname compile error on freebsd

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #13713 from drunkard/master
Kefu Chai [Thu, 2 Mar 2017 06:16:48 +0000 (14:16 +0800)]
Merge pull request #13713 from drunkard/master

doc: misc minor fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorpm: disable dwz to speed up valgrind 13748/head
Kefu Chai [Thu, 2 Mar 2017 05:08:17 +0000 (13:08 +0800)]
rpm: disable dwz to speed up valgrind

Fixes: http://tracker.ceph.com/issues/19099
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/async/rdma: fix incorrect method name 13738/head
Haomai Wang [Thu, 2 Mar 2017 03:53:13 +0000 (11:53 +0800)]
msg/async/rdma: fix incorrect method name

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: keep qp_conns lock to prevent connection alive
Haomai Wang [Thu, 2 Mar 2017 03:44:59 +0000 (11:44 +0800)]
msg/async/rdma: keep qp_conns lock to prevent connection alive

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: remove unused variables
Haomai Wang [Thu, 2 Mar 2017 03:41:52 +0000 (11:41 +0800)]
msg/async/rdma: remove unused variables

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13525 from yuyuyu101/wip-infiniband-fork
Haomai Wang [Thu, 2 Mar 2017 03:36:51 +0000 (11:36 +0800)]
Merge pull request #13525 from yuyuyu101/wip-infiniband-fork

msg/async/rdma: make Infiniband can be forkable

8 years agomsg/async/rdma: restart Infiniband resources to handle fork properly 13525/head
Haomai Wang [Mon, 20 Feb 2017 03:58:15 +0000 (11:58 +0800)]
msg/async/rdma: restart Infiniband resources to handle fork properly

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13666 from Adirl/chunk_size
Haomai Wang [Thu, 2 Mar 2017 03:34:44 +0000 (11:34 +0800)]
Merge pull request #13666 from Adirl/chunk_size

msg/async/rdma: rename chunk_size to buffer_size

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agodoc: add missed commas 13713/head
Drunkard Zhang [Wed, 1 Mar 2017 02:06:02 +0000 (10:06 +0800)]
doc: add missed commas

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: add mark for quoted content
Drunkard Zhang [Wed, 1 Mar 2017 02:05:38 +0000 (10:05 +0800)]
doc: add mark for quoted content

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: command typo fix, s/radosgw_admin/radosgw-admin
Drunkard Zhang [Wed, 1 Mar 2017 02:01:38 +0000 (10:01 +0800)]
doc: command typo fix, s/radosgw_admin/radosgw-admin

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: fix aiming of command ping
Drunkard Zhang [Wed, 1 Mar 2017 02:00:43 +0000 (10:00 +0800)]
doc: fix aiming of command ping

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: hyperlink typo fix in dev/index
Drunkard Zhang [Wed, 1 Mar 2017 01:58:29 +0000 (09:58 +0800)]
doc: hyperlink typo fix in dev/index

The doc compiler complains about this.

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>