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
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
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
Haomai Wang
c97f2ceb3c
Throttler: Add reset support
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-09 11:39:02 +08:00
xie xingguo
6fa3f39c68
os/bluestore: move selectiong of csum/crr out of for loop
...
We don't have to trace the csum/compression_required_ration option changing
at such a small granularity, which costs too much.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-09 08:27:55 +08:00
xie xingguo
aa7b9a8251
os/bluestore: refactor _do_write()
...
By moving garbage collection logic into a separate method.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-09 08:24:18 +08:00
Gregory Farnum
b2fe54bfaf
Merge pull request #11681 from stiopaa1/mds_mdstableclient_addConsttoMemFun
...
mds/MDSTableClient.h: add const to member funct
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-11-08 14:49:34 -08:00
Sage Weil
267cd5a6a2
Merge pull request #11818 from liewegas/wip-bluestore-aio-stalls3
...
os/bluestore: optional debug mode to identify aio stalls
2016-11-08 15:22:06 -06:00
Sage Weil
5bf2ad74c3
Merge pull request #11826 from ovh/wip-doc-update-xattr-config-documentation
...
doc: Update filestore xattr config documentation.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-08 14:46:27 -06:00
Matt Benjamin
3420cae593
Merge pull request #11831 from ceph/wip-dang-rgw-pybind
...
RGW Python bindings - use explicit array
2016-11-08 14:22:05 -05:00
Daniel Gryniewicz
b655c31838
RGW Python bindings - use explicit array
...
Older Cython doesn't to implicit simple arrays, so use an explicit array
for stat output.
Revert change removing stat
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-11-08 13:50:03 -05:00
Yehuda Sadeh
98c2f39a7b
Merge pull request #11816 from cbodley/wip-17812
...
rgw: delete entries_index in RGWFetchAllMetaCR
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-08 09:31:26 -08:00
haodong
d13b2b3a7a
os/bluestore: reap ioc when stopping aio_thread.
...
there is possibillity that reap_ioc don't excute when stopping
aio_thread. so add reap_ioc after aio_thread is stopped.
Signed-off-by: Haodong Tang <haodong.tang@intel.com>
2016-11-09 00:27:17 +08:00
Sage Weil
a38d53e1d2
Merge pull request #11817 from linuxbox2/wip-boost-3
...
boost: embedded
2016-11-08 10:13:06 -06:00
Kefu Chai
e4feeb507a
Merge pull request #11825 from ceph/wip-11820
...
pybind: fix build failure of rgwfile binding
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-11-08 22:15:22 +08:00
Bartłomiej Święcki
253df6b2d7
doc: Update filestore xattr config documentation.
...
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
2016-11-08 13:41:24 +01:00
Kefu Chai
a439e9abac
pybind: fix build failure of rgwfile binding
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-11-08 19:39:33 +08:00
Sage Weil
9197475b23
Merge pull request #9624 from gaurav36/coverity-1355603-dead-code
...
coverity fix: fixing few coverity issue
2016-11-07 20:59:30 -06:00
Sage Weil
37b5c6aeab
Merge pull request #11798 from stiopaa1/mds_fsmap_preventcopyinginloop
...
mds/FSMap.cc: prevent unneeded copy of map entry
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-07 20:44:08 -06:00
Sage Weil
c9f7a5ae4f
Merge pull request #11802 from stiopaa1/mds_fsmap_constReference
...
mds/FSMap.h: add const and reference
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-07 20:43:49 -06:00
Sage Weil
f1cc1904ba
Merge pull request #11819 from stiopaa1/mds_migrator_addConstTomemFun
...
mds/Migrator.h: add const to member functions
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-07 20:39:34 -06:00
Sage Weil
4bc6bad6de
Merge pull request #11807 from xiexingguo/xxg-wip-bs-1107
...
os/bluestore: speed up omap-key generation for same onode
Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-07 20:38:20 -06:00