Commit Graph

59704 Commits

Author SHA1 Message Date
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
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
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
Haomai Wang
334d125f78 pybind/rgwfile: fixes hardcode way to find include dir
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-08 00:00:57 +08:00
Haomai Wang
aef68c458e pybind/rgwfile: raise Exception when failing to umount
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-07 23:58:59 +08:00
Haomai Wang
7a4ecd8323 pybind/rgwfile: change FileHandler to FileHandle
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-07 23:56:05 +08:00
Casey Bodley
a50ede03f6 Merge pull request #11794 from rzarzynski/wip-rgw-17803
rgw: fix uncompressed object size deduction in RGWRados::copy_obj_data.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-11-07 10:13:45 -05:00
Sage Weil
c2a94808e1 Merge pull request #11797 from yuyuyu101/wip-bluestore-pending
os/bluestore: reap collection after all pending ios done

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-07 08:16:18 -06:00
John Spray
60e9b9f960 Merge pull request #11713 from stiopaa1/mds_mantle_passByConstRef
mds/Mantle: pass parameters by const ref

Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-07 14:13:58 +01:00
John Spray
06732de7d1 Merge pull request #11727 from stiopaa1/mds_mdsrank_addOverideToThreadClass
mds/MDSRank.h: add override to virtual function

Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-07 14:13:34 +01:00
Jason Dillaman
860df296bd Merge pull request #11781 from trociny/wip-qa-rbd-nbd-sudo
qa/workunits/rbd: simplify running nbd test under build env

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-07 08:02:46 -05:00
Yan, Zheng
ebb6f5ee81 Merge pull request #11806 from david-z/wip-remove-dup-log
mds: remove duplicated log in handle_client_readdir
2016-11-07 17:02:48 +08:00
Zhi Zhang
004bfc4264 mds: remove duplicated log in handle_client_readdir
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2016-11-07 16:41:39 +08:00
Michal Jarzabek
af7d321134 mds/FSMap.h: add const and reference
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-11-06 18:55:51 +00:00
Yehuda Sadeh
45722ecbe4 Merge pull request #11343 from ceph/wip-civetweb-1.8
Update version of civetweb to 1.8
2016-11-05 12:53:23 -07:00
Michal Jarzabek
c220eb99a3 mds/FSMap.cc: prevent unneeded copy of map entry
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-11-05 19:06:16 +00:00
Haomai Wang
f46527a934 os/bluestore: reap collection after all pending ios done
Otherwise when umount finish reap and wait for pending io done, the last
pending io may aim to remove collection and make removed_collection not
empty. So the leaked collection ref will result in BlueStore deconstruction
segment failt

Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-11-06 02:55:24 +08:00
Kefu Chai
916d46172f Merge pull request #11251 from stiopaa1/osd_replicatedpg_removeCount2
osd/ReplicatedPG: remove unneeded use of count

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-06 01:50:37 +08:00
Jason Dillaman
5e03f4880b Merge pull request #11510 from vshankar/wip-17356
librbd: batch object map updates during trim

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-05 13:15:27 -04:00
Jason Dillaman
8adf3848ef Merge pull request #11766 from trociny/wip-rbd-info-fix-upgrade-client
librbd: snap_get_limit compatibility check

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-05 13:15:08 -04:00
Sage Weil
4f1070c331 Merge pull request #10907 from jecluis/wip-mon-features
mon: have mon-specific features & rework internal monmap structures

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-05 07:58:14 -05:00
Sage Weil
aa5b8e7e4c Merge pull request #11772 from liewegas/wip-sortbitwise
osd,mon: require sortbitwise flag to upgrade beyond jewel
2016-11-05 07:57:17 -05:00
Sage Weil
b7f8e099e1 Merge pull request #11791 from liewegas/wip-remove-move-ranges
os: remove move_ranges_destroy_src
2016-11-05 07:57:07 -05:00
Radoslaw Zarzynski
5007dbbb1c rgw: fix uncompressed object size deduction in RGWRados::copy_obj_data.
Fixes: http://tracker.ceph.com/issues/17803
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-11-05 13:11:18 +01:00
Kefu Chai
a7e42ab89a Merge pull request #10447 from stiopaa1/msg_pipe_moveDelayedDelivery2
msg/Pipe: move DelayedDelivery class to cc file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-05 14:53:13 +08:00