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
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
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
xie xingguo
db769dca88
os/bluestore: speed up omap-key generation for same onode
...
This is useful if we have to batch-process omap kvs.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-08 09:00:34 +08:00
Sage Weil
27efa84c0e
Merge pull request #11754 from athanatos/wip-17789
...
osd/ReplicatedPG: do_update_log_missing: take the pg lock in the callback
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-07 17:07:08 -06:00
Sage Weil
3b1b5a9c7c
os/bluestore/KernelDevice: debug support to detect stalled aios
...
This is additional bookkeeping to track the oldest aio in flight, so we
make it optional, and disabled by default. It is useful for identifying
buggy kernel aio or bad devices.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 17:57:01 -05:00
Sage Weil
3bbfcf153f
os/fs: add aio_list_t type
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 17:51:17 -05:00
Sage Weil
9cb879ad2b
os/fs: uninline aio methods
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 17:51:01 -05:00
Michal Jarzabek
be26aaa794
mds/Migrator.h: add const to member functions
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-11-07 22:49:49 +00:00
Matt Benjamin
9dd5b70abc
boost: pull up boost to enable boost_python build
...
Pullup to just the merges on Sep 10 fixes an obvious compile
problem, but there are other relevant changes.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-07 16:01:29 -05:00
Matt Benjamin
132469c4e9
Adapt for ceph-manager
...
The ceph manager change added a separate Boost dependency
check, add it to the combined section.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-07 15:57:02 -05:00
Sage Weil
feefd35853
do_cmake.sh: set BOOST_J to $(nproc)
...
This lets us build boost with all processors.
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-07 15:56:53 -05:00
Matt Benjamin
81e1fcc4f0
boost: update boost to 8/29
...
Pull-up Boost to the commit which merged the upstream fix for
upstream Boost/iostreams bug #11860 (template arity warnings),
per discussion in core.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-07 15:56:43 -05:00
Matt Benjamin
5f869450ea
cmake: find and build bundled boost
...
Build Boost using the src/boost submodule, unless overridden
by -DWITH_SYSTEM_BOOST.
If -DBOOST_J=<n> is provided, builds Boost with <n> jobs.
Boost builds in the configured Build directory.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-07 15:56:29 -05:00
Matt Benjamin
d8dff81c3e
boost: add submodule at tag boost-1.61.0
...
This implements option #4 for external boost, based on upstream
discussion. In option #4 :
1. boost is added as a submodule
2. builds default to using the attached boost module
3. building against a system-provided boost is supported, but
must be configured explicitly
Because all of the boost components are attached as nested
submodules in the upstream boost repository, neither the nested
submodules nor the root boost submodule have been cloned into
modules in github.com/ceph (acked by Sage).
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-07 15:56:17 -05:00
John Spray
f80c7a8f20
Merge pull request #11647 from ceph/wip-jlayton-cephfs
...
libcephfs client API overhaul and update
Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-07 21:07:40 +01:00
Yehuda Sadeh
351911a20e
Merge pull request #11425 from weiqiaomiao/wqm-rgw-oplog
...
rgw: fix the field 'total_time' of log entry in log show opt
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-11-07 10:45:10 -08:00
Yehuda Sadeh
ace03b97ab
Merge pull request #8712 from diwakargoel/master
...
doc: Correcting the sample python tempurl generation script.
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-07 10:41:04 -08:00
Yehuda Sadeh
82740e9be3
Merge pull request #11648 from cbodley/wip-17698
...
rgw: fix for bucket delete racing with mdlog sync
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-11-07 10:36:29 -08:00
Yehuda Sadeh
996e59f05c
Merge pull request #11598 from cbodley/wip-rgw-bucket-sync
...
rgw multisite: move lease up to RunBucketSync instead of child crs
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-07 10:35:26 -08:00
Casey Bodley
9c731ed6b6
rgw: delete entries_index in RGWFetchAllMetaCR
...
use a unique_ptr to ensure the entries_index is freed on destruction
Fixes: http://tracker.ceph.com/issues/17812
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-11-07 13:08:11 -05:00
Loic Dachary
b51aec70fb
Merge pull request #11715 from dzafman/wip-test-ec-eio
...
Fix racey test by setting noout flag (tracker 17757)
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-11-07 17:26:53 +01:00
Daniel Gryniewicz
28a338a381
Merge pull request #11624 from yuyuyu101/wip-rgwfile-pybind
...
Wip rgwfile pybind
2016-11-07 11:08:35 -05:00
Haomai Wang
b4fc122754
pybind/rgwfile: change description
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-08 00:04:07 +08:00