Sage Weil
ef6da79502
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>
2017-03-06 10:46:08 -06:00
Yuri Weinstein
2a5b235958
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>
2017-03-06 08:35:11 -08:00
Yuri Weinstein
05ebe881d8
Merge pull request #13699 from yuyuyu101/wipasync-name
...
msg/async: set thread name for msgr worker
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:34:28 -08:00
Yuri Weinstein
f1bd9b9921
Merge pull request #13726 from dachary/wip-crushtool-json
...
crush: add --dump to crushtool
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:33:53 -08:00
Yuri Weinstein
37ca392712
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>
2017-03-06 08:32:26 -08:00
Sage Weil
478d9d3244
Merge pull request #13715 from wangzhengyong/master
...
os/bluestore: remove unused local variable "pos"
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:36:02 -06:00
Sage Weil
2cb36d2d70
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>
2017-03-06 08:35:20 -06:00
Sage Weil
63a903f0b8
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>
2017-03-06 08:35:01 -06:00
Sage Weil
30db52faca
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>
2017-03-06 08:34:43 -06:00
Kefu Chai
90f209d693
Merge pull request #13772 from Liuchang0812/wip-add-override-in-mgr-headers
...
mgr: add override in headers
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-06 10:39:01 +08:00
Matt Benjamin
8786b4c8fe
Merge pull request #13765 from guihecheng/rgwfs-time-attrs
...
rgw_file: posix style atime,ctime,mtime
2017-03-04 15:50:47 -05:00
Matt Benjamin
e180639ebf
Merge pull request #13712 from linuxbox2/wip-dtor-fhcache
...
rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache
2017-03-04 15:50:03 -05:00
Orit Wasserman
60bb2a8b38
Merge pull request #13645 from yehudasa/wip-rgw-support-ragweed
...
rgw: add apis to support ragweed
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-03-04 16:12:09 +02:00
Matt Benjamin
d51a3b1224
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>
2017-03-03 10:55:20 -05:00
liuchang0812
ecbcd591b7
mgr: add override in headers
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-03-03 19:39:10 +08:00
wangzhengyong
990adfc541
os/bluestore: "noid" is not always necessary in clone op
...
Signed-off-by: wangzhengyong@cmss.chinamobile.com
2017-03-03 17:16:21 +08:00
Kefu Chai
cdafc8d1fb
vstart.sh: do not add host for mgr.* section if not $overwrite_conf
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-03 15:54:14 +08:00
Kefu Chai
07e6c14a2f
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>
2017-03-03 15:03:03 +08:00
Gui Hecheng
ac25da2479
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>
2017-03-03 13:56:38 +08:00
Kefu Chai
4ac46fb1b2
Merge pull request #13762 from Liuchang0812/wip-remove-unnecessary-code-in-mon
...
mon: remove unnecessary function declaration
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-03 13:05:04 +08:00
liuchang0812
2855b0f821
mon: remove unnecessary function declaration
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-03-03 11:54:34 +08:00
Kefu Chai
afa57ae59d
Merge pull request #12566 from Liuchang0812/wip-rados
...
tools/rados: remove useless function declaration
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-03 11:47:25 +08: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
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
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
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
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
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
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
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
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
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