Commit Graph

69492 Commits

Author SHA1 Message Date
Li Wang
a5b871330e os/filestore/FileStore.cc: remove unneeded loop
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2017-03-03 03:31:50 +00:00
Sage Weil
39e6ad1757 Merge pull request #12421 from cernceph/wip-dvanders-split
os/filestore/HashIndex: be loud about splits

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 19:04:51 -06:00
Yuri Weinstein
c4c7bce815 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>
2017-03-02 16:59:34 -08:00
Yuri Weinstein
4657560503 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>
2017-03-02 16:57:23 -08:00
Radoslaw Zarzynski
aaad3facda 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>
2017-03-03 00:20:29 +01:00
Sage Weil
26a90141e5 Merge pull request #13599 from kylinstorage/cleanup_bitmapallocator
os/bluestore/BitMapAllocator: rm unused variable

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 16:50:22 -06:00
Sage Weil
faf9cce395 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>
2017-03-02 16:39:46 -06:00
Sage Weil
6aa4b76da9 Merge pull request #13750 from Saumay-Agrawal/master
mon: Update OSDMon.cc comments

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 16:38:56 -06:00
Sage Weil
bb35678417 Merge pull request #13751 from Saumay-Agrawal/patch-1
doc: Update sample.ceph.conf

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 16:38:07 -06:00
Sage Weil
993179870e 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>
2017-03-02 15:03:57 -06:00
Saumay Agrawal
5fd2593a49 Update sample.ceph.conf
I have fixed the cleanup issue #19090: Wrong hard-coded URLs
Please add these changes to your documentation.
2017-03-03 01:04:19 +05:30
Saumay Agrawal
4d75a04608 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.
2017-03-03 00:39:26 +05:30
Sage Weil
678cb843a1 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>
2017-03-02 12:12:52 -06:00
Joao Eduardo Luis
23740119c6 mon: test 'mon feature' cli
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:35 +00:00
Joao Eduardo Luis
3cabcb7d51 qa/workunits/ceph-helpers: add wait_for_quorum()
Takes optional timeout and desired quorum size

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:34 +00:00
Joao Eduardo Luis
11c4946b63 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>
2017-03-02 17:32:34 +00:00
Joao Eduardo Luis
9c6a6f19d8 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>
2017-03-02 17:32:34 +00:00
Jason Dillaman
870bc38823 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>
2017-03-02 12:03:25 -05:00
Kefu Chai
86f0d93f55 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>
2017-03-03 00:13:57 +08:00
Sage Weil
5fdddd268e 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>
2017-03-02 10:07:30 -06:00
Sage Weil
50d215dafa 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>
2017-03-02 10:05:21 -06:00
Sage Weil
d22b481391 Merge pull request #13693 from Liuchang0812/wip-add-override-in-mon-headers
mon: add override in headers

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 10:04:04 -06:00
Mykola Golub
a08af6cb1c Merge pull request #13701 from dillaman/wip-19010
librbd: simplify image open/close semantics

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-03-02 17:42:54 +02:00
liuchang0812
d873e24833 common: use ref to avoid unnecessary memory copy
Fixes: http://tracker.ceph.com/issues/19107

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-03-02 21:58:01 +08:00
Tahia Khan
7a0ab204aa doc: deletes duplicated word and clarifies an example
Signed-off-by: Tahia Khan <tahia.khan@gmail.com>
2017-03-02 08:44:53 -05:00
Mykola Golub
2ec5806c8c 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>
2017-03-02 15:01:35 +02:00
liuchang0812
2199315c40 mon: add override in headers
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-03-02 20:46:26 +08:00
Nathan Cutler
769b695465 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>
2017-03-02 12:42:34 +01:00
Radoslaw Zarzynski
fab7d54486 os/bluestore: switch to alloc_dbg_assert in BmapEntityListIter::next().
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-02 12:05:37 +01:00
Radoslaw Zarzynski
a4a9d19ec9 os/bluestore: inline for the sake of BitMapAreaLeaf::child_check_n_lock.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-02 12:03:59 +01:00
Zhao Chao
01d816cb55 mailmap: fix Zhao Chao affiliation.
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2017-03-02 18:50:29 +08:00
Kefu Chai
a15e5045ff 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>
2017-03-02 17:00:48 +08:00
Haomai Wang
73fdc579b5 Merge pull request #13738 from yuyuyu101/wip-fix-ib
msg/async/rdma: fix potential racing connection usage

Reviewed-by: Adir lev <adirl@mellanox.com>
2017-03-02 15:52:03 +08:00
Haomai Wang
2ce11e1872 Merge pull request #13655 from Adirl/ulimit
msg/async/rdma: check ulimit

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-03-02 15:02:21 +08:00
Sarit Zubakov
750bd5e7df 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>
2017-03-02 08:59:35 +02:00
Haomai Wang
911fbf30a0 Merge pull request #13510 from yuyuyu101/wip-rdma-buffer-size
common/config_opts: improve rdma buffer size to 128k
2017-03-02 14:47:01 +08:00
liuchang0812
efe027dcb2 test: unittest_hostname compile error on freebsd
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-03-02 14:29:57 +08:00
Kefu Chai
d34df3183c Merge pull request #13713 from drunkard/master
doc: misc minor fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-02 14:16:48 +08:00
Kefu Chai
9132269421 rpm: disable dwz to speed up valgrind
Fixes: http://tracker.ceph.com/issues/19099
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-02 13:08:19 +08:00
Haomai Wang
f7c6bffdec msg/async/rdma: fix incorrect method name
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-02 11:53:13 +08:00
Haomai Wang
4323ec25c4 msg/async/rdma: keep qp_conns lock to prevent connection alive
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-02 11:44:59 +08:00
Haomai Wang
97e0486979 msg/async/rdma: remove unused variables
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-02 11:41:52 +08:00
Haomai Wang
595f945cbd Merge pull request #13525 from yuyuyu101/wip-infiniband-fork
msg/async/rdma: make Infiniband can be forkable
2017-03-02 11:36:51 +08:00
Haomai Wang
522555070b msg/async/rdma: restart Infiniband resources to handle fork properly
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-02 11:36:12 +08:00
Haomai Wang
f1ae21ba2e Merge pull request #13666 from Adirl/chunk_size
msg/async/rdma: rename chunk_size to buffer_size

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-03-02 11:34:44 +08:00
Drunkard Zhang
230605eeeb doc: add missed commas
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-02 11:04:35 +08:00
Drunkard Zhang
d46fca02c4 doc: add mark for quoted content
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-02 11:04:35 +08:00
Drunkard Zhang
7088fe7718 doc: command typo fix, s/radosgw_admin/radosgw-admin
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-02 11:04:35 +08:00
Drunkard Zhang
590da965e7 doc: fix aiming of command ping
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-02 11:04:35 +08:00
Drunkard Zhang
bcb89fbe0d doc: hyperlink typo fix in dev/index
The doc compiler complains about this.

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-02 11:04:35 +08:00