Commit Graph

70531 Commits

Author SHA1 Message Date
yaoning
8a83a2d611 rbd: add sparse size support in rbd
add --sparse_size in rbd command options
add calc_sparse_extent in rbd utils

Signed-off-by: yaoning <yaoning@unitedstack.com>
2017-04-04 03:18:52 +00:00
Brad Hubbard
b05bc817be client/SyntheticClient.cc: Fix warning in random_walk
Fixes: http://tracker.ceph.com/issues/19445
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-04 11:12:12 +10:00
Orit Wasserman
14867ad398 Merge pull request #12243 from rzarzynski/wip-rgw-bulkupload
rgw: add support for the BulkUpload of Swift API
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-04-03 21:54:32 +03:00
Casey Bodley
8e31c002e3 doc/rgw: update section on global quotas
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-03 14:48:58 -04:00
Casey Bodley
4ede51f2d4 radosgw-admin: new 'global quota' commands update period config
Fixes: http://tracker.ceph.com/issues/19409

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-03 14:48:50 -04:00
Casey Bodley
6c6f78bcc0 rgw: load period config separately when there's no current period
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-03 14:42:51 -04:00
Casey Bodley
b49b065343 rgw: synchronize period config with period updates
read period config from local storage on RGWPeriod::update(), and write
the new config to storage on RGWPeriod::reflect()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-03 14:42:51 -04:00
Casey Bodley
70a2f03810 rgw: allow RGWPeriodConfig to be stored separately
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-03 14:42:51 -04:00
Casey Bodley
275b3182bb rgw: constify some rgw_pool args
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-03 14:42:51 -04:00
Casey Bodley
a6034436e3 rgw: remove unused RGWPeriod::update(RGWZoneGroupMap)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-03 14:42:51 -04:00
Yehuda Sadeh
e18b2f26e9 Merge pull request #14120 from wangzhengyong/uninitialized
rgw: fix uninitialized fields

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-03 11:33:23 -07:00
Sage Weil
bd4ba40b9e mgr: move 'osd perf' and 'osd blocked-by' to mgr
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-03 12:46:32 -04:00
Sage Weil
ba730ecd70 mon: move 'osd perf' and 'osd blocked-by' to PGMap
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-03 12:46:21 -04:00
Sage Weil
7b7402f695 Merge pull request #14217 from Liuchang0812/wip-18584-pg-info-dump
osd: print pg_info_t::purged_snaps as array, not string

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-03 10:46:36 -05:00
John Spray
2bf485d366 Merge pull request #14036 from batrick/mds-debug-reply
mds: bump client_reply debug to match client_req

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-03 16:20:19 +01:00
Loic Dachary
21f5737d4a Merge pull request #14296 from theanalyst/fix/script/credits
script: drop the -x arg for credits script

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-04-03 17:03:12 +02:00
Sage Weil
c3d1333794 Merge pull request #13401 from liewegas/wip-kill-subop
osd: kill all remaining MOSDSubOp users

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-04-03 10:00:53 -05:00
John Spray
531118fbe8 Merge pull request #14221 from jcsp/wip-19253-b
qa: whitelist another fullness log message

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-03 15:31:29 +01:00
Sage Weil
aec22a7d57 Merge pull request #14279 from jimmyway/wip-fix-pg-comment
osd: fix comments about pg refs and lock

Reviewed-by: Pan Liu <liupan1111@gmail.com>
2017-04-03 09:27:13 -05:00
Sage Weil
f5803eb7b3 Merge pull request #14277 from atheism/fix-test-objectstore-chain_xattr
test: objectstore: chain_xattr: fix wrong memset usage to fill buf

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-03 09:26:30 -05:00
Sage Weil
2c7ee9dfec os/bluestore: flush osr on collection split
We need to ensure that any preceding txcs have finished their deferred
writes before splitting, or else later txcs on the child sequencer will
not order/wait for deferred writes correctly before deallocated extents.

Fixes: http://tracker.ceph.com/issues/19379
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-03 09:57:18 -04:00
Sage Weil
78a5bdeef1 os/bluestore: make deferred_aggressive atomic
This is written and read outside of any mutex.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-03 09:57:18 -04:00
Sage Weil
3ea9790ba3 osd: use target object hash (not pgid.ps) for temp objects
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-03 09:57:18 -04:00
Sage Weil
4d888d491e Merge pull request #13800 from xiexingguo/wip-clean-pgcreate-throttle
common/config_opts.h: kill mon_pg_create_interval

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-03 08:38:07 -05:00
Radoslaw Zarzynski
51dd349d65 Merge pull request #13621 from Jing-Scott/add-remov-x-delete-feature
rgw: add the remove-x-delete feature to cancel swift object expiration

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-03 15:19:12 +02:00
John Spray
13e8315d1a Merge pull request #13862 from jcsp/wip-16523
qa, mds: add checks for fragmentation, and enable it by default
2017-04-03 11:56:37 +01:00
Shinobu Kinjo
daae49f959 mon/OSDMonitor: Clean up: delete extra S signature for plural
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-04-03 19:28:21 +09:00
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
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