Commit Graph

59794 Commits

Author SHA1 Message Date
Nathan Cutler
5e2f05ef7d doc: drop --journal-check from ceph-mds man page
References: http://tracker.ceph.com/issues/17747
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-11-11 12:21:29 +01:00
Sage Weil
f1476e221e Merge pull request #11894 from xiexingguo/xxg-wip-bluestore-1110
os/bluestore: speed up omap-key generation for same onode(the read paths)

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-10 09:18:16 -06:00
Sage Weil
891fefbf19 Merge pull request #11893 from xiexingguo/xxg-wip-bluestore-fix-clear
os/bluestore: fix potential memory leak

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-10 09:13:12 -06:00
Kefu Chai
b8e7ce393b Merge pull request #11892 from tchaikov/wip-move-context
Context: std::move the callback param in FunctionContext's ctor

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-10 22:38:50 +08:00
Kefu Chai
c1b2e3ae33 Merge pull request #11889 from trociny/wip-vstart-bashism
vstart.sh: fix bashism in the script

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-10 20:04:59 +08:00
Kefu Chai
d3927fe3a4 Merge pull request #11601 from ceph/wip-ms-async-keepalive2
msg/async/AsyncConnection: dispatch write handler on keepalive2

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-11-10 19:55:34 +08:00
Kefu Chai
f669cf8261 Merge pull request #11633 from ddiss/tcc17684_rados_segv_without_pool
rados: fix segfaults when run without --pool

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-10 19:53:44 +08:00
Kefu Chai
5d7f4ea4fc Merge pull request #11665 from wido/mon-prevent-pool-delete
mon: Do not allow pools to be deleted by default

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-10 19:52:27 +08:00
Kefu Chai
0e9462b66a Merge pull request #11795 from runsisi/wip-fix-osd-noin
mon/OSDMonitor: newly created osd should not be wrongly marked in

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-10 19:50:49 +08:00
Kefu Chai
e2a4302620 Merge pull request #10049 from sponce/wip-striper-async-rm-master
librados: improvements async IO in librados and libradosstriper

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-10 19:48:47 +08:00
Kefu Chai
654e5159f4 Context: std::move the callback param in FunctionContext's ctor
for better performance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-11-10 19:41:09 +08:00
Kefu Chai
a8cafa9553 Merge pull request #11883 from jcsp/wip-mgr-functioncontext
mgr: remove unnecessary C_StdFunction

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-10 19:17:32 +08:00
xie xingguo
18219d17b2 os/bluestore: fix potential memory leak
Call to extent_map.clear_and_dispose() will be noop after extent_map.clear()
hence causing memory leak.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-10 18:38:15 +08:00
Mykola Golub
d447339e48 vstart.sh: fix bashism in the script
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-11-10 12:14:49 +02:00
xie xingguo
d04f7d46d4 os/bluestore: speed up omap-key generation for same onode(the read paths)
In https://github.com/ceph/ceph/pull/11807 we only modify the write paths,
this patch fixes the read parts too, which are more time-sensitive.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-10 17:30:27 +08:00
Kefu Chai
8b77898b28 Merge pull request #11886 from stiopaa1/mds_mantle_includeCorrectHeaders
mds/Mantle.h: include correct header files

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2016-11-10 16:09:42 +08:00
Kefu Chai
f628bac31a Merge pull request #11683 from wjwithagen/wip-wjw-freebsd-vstart
src/vstart.sh: Only execute btrfs if it is available

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-10 10:39:33 +08:00
Kefu Chai
37f3897c55 Merge pull request #11702 from wjwithagen/wip-wjw-freebsd-cephtool-test
qa/workunits/cephtool/test.sh: FreeBSD has no distro.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-10 10:18:23 +08:00
Sage Weil
8e325b92d0 Merge pull request #11885 from cbodley/wip-python-rgw-deb
deb: update python-rgw dependencies to librgw2

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-09 16:51:13 -06:00
Michal Jarzabek
50feb66b5f mds/Mantle.h: include correct header files
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-11-09 22:40:17 +00:00
Casey Bodley
96923c726c deb: update python-rgw dependencies to librgw2
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-09 17:33:13 -05:00
Matt Benjamin
06275a7933 Merge pull request #11881 from linuxbox2/rgw-file-fsid
rgw_file: fix spurious mount entries w/Linux NFS client
verified that failed check is in osd-scrub-repair.sh
2016-11-09 17:28:39 -05:00
Sage Weil
299ecc3586 Merge pull request #11882 from yehudasa/wip-yehuda-spdk
spdk: a few fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-09 15:13:48 -06:00
John Spray
624bdbcf3a mgr: remove unnecessary C_StdFunction
FunctionContext works fine and already existed.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-09 19:54:32 +00:00
Sage Weil
ee3fa76234 Merge pull request #11811 from tanghaodong25/reap-ioc-wip
os/bluestore: reap ioc when stopping aio_thread.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-09 13:36:27 -06:00
Matt Benjamin
d929ba0c5b rgw_file: fix spurious mount entries w/Linux NFS client
This change fixes the initialization of root file handles to have
their correct fs instance.  Previously, the root file handle had
fs_inst-1.  The apparent change in fsid in a subordinate directory
triggers the client's behavior for new filesystem mounts, which
we don't want.

Fixes: http://tracker.ceph.com/issues/17850

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-09 14:28:36 -05:00
Sage Weil
0a45b22f78 Merge pull request #11832 from ceph/wip-python-rgw
deb: add python-rgw packages

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2016-11-09 11:42:09 -06:00
Sage Weil
ffc3dd6e9a debian: add python-rgw package
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-09 12:22:46 -05:00
Sage Weil
3aab75e0d2 Merge pull request #11845 from xiexingguo/xxg-wip-bs-1109
os/bluestore: remove duplicated namespace of tx state

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-09 11:13:58 -06:00
Kefu Chai
88ed951473 Merge pull request #11859 from ceph/wip-py-rgw
doc: add python-rgw doc

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-11-10 00:45:43 +08:00
Sage Weil
e1622bc18a Merge pull request #11823 from xiexingguo/xxg-wip-bluestore-1108
os/bluestore: refactor _do_write(); move initializaiton of csum out of loop

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-11-09 08:18:07 -06:00
Sage Weil
0619ab6106 Merge pull request #10748 from yuyuyu101/wip-dpdk8
msg/async: DPDKStack as AsyncMessenger backend
2016-11-09 08:13:48 -06:00
Kefu Chai
8fd95430fe doc: add doc for pybind of rgw
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-11-09 21:07:29 +08:00
Kefu Chai
cb351a923b pybind: rename rgw_file.pyx to rgw.pyx
so the init function offered by rgw python extension is named "initrgw"
instead of "initrgw_file". and "initrgw" is the expected name by python
intepreter when loading an extension.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-11-09 21:07:25 +08:00
Loic Dachary
3b16316d4e Merge pull request #11847 from yuyuyu101/wip-fix-rgw-spec
ceph.spec: add pybind rgwfile

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-09 13:48:00 +01:00
Haomai Wang
9b8c306afa ceph.spec: add pybind rgwfile
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 18:49:48 +08:00
xie xingguo
35758b4908 os/bluestore: remove duplicated namespace of tx state
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-09 17:55:52 +08:00
Haomai Wang
215136f739 test/CMakeLists: only enable ceph_test_userspace when dpdk is true
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
ca88228ce8 msg/async/dpdk: change error to warning
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
a4a84365d6 update dpdk submodule to ceph/dpdk
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
57d6f4c5c6 msg/async/Stack: allow to setup dpdkstack
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
9555b6d320 test_async_networkstack: fix unmatched create/delete file event
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
80a705c89e test/test_async_networkstack: add dpdk backend test
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
6192b174b3 test: add userspace_event
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
058bd8df18 Event: don't wakeup dpdk driver since it's spinning on cpu
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
009d06194b msg/async/Event: add DPDKDriver type to allow userspace event
Like epoll, kqueue, select, dpdk backend also need to allow notify EventCenter
when a connection is ready to read/write. So we need to let DPDKStack can kick
EventCenter. DPDKDriver which introduced UserspaceEvent to simulate epoll
event achieve the goal.

Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
eae7d5a645 msg/async: add dpdk stack plugin
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:20 +08:00
Haomai Wang
252479d8e3 buffer: add new ptr type which destruct with passed deleter
deleter is a wrapper for lambda which can used to free resource associated
with object

Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:02 +08:00
Haomai Wang
c5662c15b7 msg/async/Event: add Poller to allow event thread spin on Poller::poll
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:02 +08:00
Haomai Wang
a95a3d0923 Event: Add get_driver to return driver backend
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:02 +08:00