Nathan Cutler
c35a72173f
Merge pull request #14156 from smithfarm/release-notes-add-rbd-mirror
...
tools: ceph-release-notes: prefixes and pep8 compliance
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-04-03 12:16:17 +02:00
Abhishek Lekshmanan
f40b8afaca
script: drop the -x arg for credits script
...
while useful for debugging creates a whole lot of output which we don't
need normally
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-04-03 11:57:34 +02:00
Loic Dachary
81d0f48eed
crush: implement rebuild_roots_with_classes
...
- remove all class buckets (even those that are in use)
- rebuild all class buckets (this will restore the buckets that were in
use with exactly the same id)
- remove the class buckets that are not used
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-04-03 10:35:57 +02:00
Loic Dachary
ea1fdc824a
crush: CrushWrapper s/remove_unused_root/remove_root/
...
The unused argument allows removal of class buckets that are in use.
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-04-03 10:35:57 +02:00
Loic Dachary
b7c9f788d8
crush: CrushWrapper::trim_roots_with_class removed unused variable
...
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-04-03 10:35:56 +02:00
Orit Wasserman
0c4c0c892d
Merge pull request #12084 from hansbogert/patch-4
...
rgw: Add --zonegroup-new-name in usage
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-04-03 10:21:25 +03:00
Kefu Chai
65c85823a3
Merge pull request #14269 from liewegas/wip-no-spinlock
...
mon/OSDMonitor: spinlock -> std::mutex
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-03 15:16:58 +08:00
Kefu Chai
d79d85bca5
Merge pull request #14274 from liewegas/wip-osd-beacon-fix
...
osd: fix some osd beacon bugs
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-03 15:16:05 +08:00
Kefu Chai
a521b13a68
mon/OSDMonitor: only check last_osd_report if the whole cluster is luminous
...
if a peon is not luminous, it won't forward the beacon message. if any
OSD is not luminous, it won't report to mon with beacon messages. so, we
can trust the OSDMonitor::last_osd_report only if the whole cluster is
luminous.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-03 15:11:48 +08:00
Haomai Wang
2900ba5568
Merge pull request #14288 from Adirl/small_leaks
...
msg/async/rdma: Fix small memory leaks detected by valgrind
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-03 04:28:56 +08:00
Willem Jan Withagen
3d712b6781
build: let FreeBSD build ceph-fuse
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-02 21:39:41 +02:00
Kefu Chai
3ebe721a91
cmake: point to asm_compiler to yasm only if HAVE_INTEL
...
as currently only isa uses it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-03 01:44:18 +08:00
Kefu Chai
195425c9ca
cmake: extract ppc64le detection into SIMDExt.cmake
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-03 01:44:17 +08:00
Radoslaw Zarzynski
2189c63e35
rgw: add the check for Content-Length in BulkUpload.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-02 18:35:22 +02:00
Radoslaw Zarzynski
06b9a84851
rgw: implement the full response generation in BulkUpload of Swift API.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-02 18:35:22 +02:00
Radoslaw Zarzynski
3770e2473b
rgw: optimize metadata caching in BulkUpload of Swift API.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-02 18:35:22 +02:00
Radoslaw Zarzynski
0c4d1dfabf
rgw: implement the object creation in BulkUpload of Swift API.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-02 18:35:22 +02:00
Radoslaw Zarzynski
e9afe38665
rgw: implement the container creation in BulkUpload of Swift API.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-02 18:35:21 +02:00
Amir Vadai
23fd3efaaf
msg/async/rdma: Fix small memory leaks detected by valgrind
...
Issue: 995322
Change-Id: Iccffbd0defd09aa51c4b51b78733921444ea1c5f
Signed-off-by: Amir Vadai <amir@vadai.me>
2017-04-02 16:47:46 +03:00
Radoslaw Zarzynski
6c1bb7a10e
rgw: implement the AlignedStreamGetter.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-02 15:46:13 +02:00
Radoslaw Zarzynski
9ed7edaaf7
rgw: implement the basic security check for BulkUpload of Swift API.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-02 15:46:13 +02:00
Kefu Chai
ef006681b7
Merge pull request #14170 from liewegas/wip-fewer-warnings
...
common/ceph_context: fewer warnings about experimental features
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-02 12:53:29 +08:00
Kefu Chai
47080150a1
qa/tasks/workunit.py: use "overrides" as the default settings of workunit
...
otherwise the settings in "workunit" tasks are always overridden by the
settings in template config. so we'd better follow the way of how
"install" task updates itself with the "overrides" settings: it uses the
"overrides" as the *defaults*.
Fixes: http://tracker.ceph.com/issues/19429
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-02 12:26:30 +08:00
Brad Hubbard
fa3ddead5e
Merge pull request #14271 from joscollin/wip-krbd-warning
...
rbd: warning, ‘devno’ may be used uninitialized in this function
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-02 08:59:38 +10:00
Kefu Chai
d65ee4ba52
Merge pull request #13909 from kestrels/wip-19217
...
crc32c: Add crc32c function optimized for ppc architecture
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-02 01:44:03 +08:00
Kefu Chai
09c977869d
Merge pull request #14124 from Fabian-Gruenbichler/ipv6_fix
...
common: fix segfault in public IPv6 addr picking
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-02 01:41:50 +08:00
Kefu Chai
c2432a5a6b
Merge pull request #14173 from badone/wip-do_request-abort
...
common: Fix heap buffer overflow in do_request
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-02 01:40:30 +08:00
Kefu Chai
e2b7cc00d9
Merge pull request #14193 from liupan1111/wip-fix-delete-full
...
librados: set the flag CEPH_OSD_FLAG_FULL_TRY of Op in the right place.
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-02 01:39:46 +08:00
Kefu Chai
3f92a8522f
Merge pull request #14248 from badone/wip-simple_spin_lock-delay
...
common: Make spinlock delay more conventional
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-02 01:38:13 +08:00
Kefu Chai
6ae3ce9148
Merge pull request #13690 from jcsp/wip-17503
...
mgr: pass through cluster log to plugins
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-02 01:37:31 +08:00
Radoslaw Zarzynski
4c4cdf2183
rgw: implement the TAR extraction loop of Swift's BulkUpload.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-01 15:46:26 +02:00
Radoslaw Zarzynski
278978be2f
rgw: implement the TAR format interpreter.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-01 15:46:26 +02:00
Radoslaw Zarzynski
0edc4e55b2
rgw: implement RGWBulkUploadOp::DecoratedStreamGetter.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-01 15:46:25 +02:00
Radoslaw Zarzynski
0091c83498
rgw: initial class structure for BulkUpload of Swift API.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-01 15:46:25 +02:00
tang.jin
2f78a100fe
osd: fix comments about pg refs and lock
...
Signed-off-by: tang.jin <tang.jin@istuary.com>
2017-04-01 16:44:21 +08:00
Orit Wasserman
ea9331e484
Merge pull request #14276 from atheism/rgw-rgwop-remove-unused-iter
...
rgw: rgw_op: remove unused variable iter
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-04-01 09:48:46 +03:00
Weibing Zhang
fa1fe5fc1d
test: objectstore: chain_xattr: fix wrong memset usage to fill buf
...
Current usage:
memset(buf, sizeof(buf), 0x1F);
should be:
memset(buf, 0x1F, sizeof(buf));
to fill the buffer with '0x1F'.
Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
2017-04-01 13:24:42 +08:00
Weibing Zhang
d5a525c645
rgw: rgw_op: remove unused variable iter
...
The variable iter is not used in RGWInitMultipart::execute().
Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
2017-04-01 11:52:59 +08:00
Sage Weil
c4ba267245
Merge pull request #13811 from rzarzynski/wip-bs-bitmap-mem-cleanup
...
os/bluestore: memory and dereference clean-up in the BitAllocator
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-31 20:54:22 -05:00
Sage Weil
cc6a88ec2c
Merge pull request #14121 from majianpeng/bluefs-get-allocated
...
os/bluestore/BlueFS: optimize get_allocated
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-31 20:54:07 -05:00
Sage Weil
841de704cf
Merge pull request #14162 from majianpeng/optimize-bluestore-force-flush
...
os/bluestore: clean up flush logic
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-31 20:53:57 -05:00
Sage Weil
b19613f8ab
Merge pull request #14225 from ivancich/wip_fix_throttle_config_change
...
os/bluestore: make live changes for BlueStore throttle config work like initial config
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-31 20:52:59 -05:00
Zhang Shaowen
8b43c97812
rgw: version id doesn't work in fetch_remote_obj
...
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-04-01 09:47:58 +08:00
Sage Weil
b0d7e13435
osd: only send beacon on connect if active
...
Otherwise the mon will just ignore it and we'll wait another
cycle.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-31 15:23:27 -04:00
Sage Weil
4b07746381
osd: fix beacon condition
...
- && should have been ||
- change this to instead not send when monmap epoch==0,
and only set last_sent_beacon if we actually send. That
way we'll send on the next tick after we get a real monmap.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-31 15:22:00 -04:00
Sage Weil
52fbdc5e94
osd/ReplicatedBackend: remove MOSDSubOp cruft from repop_commit
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-31 14:42:12 -04:00
Sage Weil
137b3721b4
osd: drop unused MOSDSubOp includes
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-31 14:42:12 -04:00
Sage Weil
5ecf7b0ba1
osd/ReplicatedBackend: rename sub_op_modify* do_repop*
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-31 14:42:12 -04:00
Sage Weil
d06128b764
osd/ReplicatedBackend: no empty MOSDSubOps anymore
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-31 14:42:12 -04:00
Sage Weil
3a271eac3c
osd/ReplicatedBackend: use more __func__
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-31 14:42:12 -04:00