Commit Graph

46539 Commits

Author SHA1 Message Date
Radoslaw Zarzynski
0a36b9576f rgw: fix iterate_slo_parts() and improve its declaration's formatting.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:58:08 +01:00
Radoslaw Zarzynski
4bab3fcac1 rgw: move RGWBulkDelete in rgw/rgw_op.h.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:58:08 +01:00
Yehuda Sadeh
1df28c8edd rgw: iterate over slo parts
Read slo parts when a read request was sent.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>

Conflicts:
	src/rgw/rgw_op.cc
2015-12-08 17:58:07 +01:00
Yehuda Sadeh
7f5fdcedee rgw: store slo info when putting object
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>

Conflicts:
	src/rgw/rgw_op.cc
	src/rgw/rgw_op.h
2015-12-08 17:58:07 +01:00
Yehuda Sadeh
d8593b161f rgw: read and parse put slo obj request
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>

Conflicts:
	src/rgw/rgw_op.h
	src/rgw/rgw_rest_swift.cc
2015-12-08 17:58:07 +01:00
Yehuda Sadeh
ffb4691c78 rgw: s/obj_manifest/dlo_manifest
Be more clear, as slo_manifest will come later.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>

Conflicts:
	src/rgw/rgw_op.cc
2015-12-08 17:57:25 +01:00
Radoslaw Zarzynski
8eb8048573 rgw: support bucket removal in Bulk Delete API implementation.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:24 +01:00
Radoslaw Zarzynski
60018d9241 rgw: improve response code handling for Bulk Delete API.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:24 +01:00
Radoslaw Zarzynski
c421037f5a rgw: enable chunking in Bulk Delete API implementation.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:24 +01:00
Radoslaw Zarzynski
b665b04672 rgw: add support for Bulk Delete API of Swift.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:24 +01:00
Radoslaw Zarzynski
2ff837f469 rgw: rework authorization parts to accomodate Bulk Delete API.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:23 +01:00
Radoslaw Zarzynski
4ea0c7c65d rgw: XMLFormatter may print XML tags lowercased and underscored now.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:23 +01:00
Radoslaw Zarzynski
3ecc2c3e90 rgw: RGWFormatter_Plain does support key-value style for Bulk Delete API.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:22 +01:00
Radoslaw Zarzynski
2b45910ffd rgw: implement std::streambuf over RGWClientIO.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:22 +01:00
Radoslaw Zarzynski
619e9452aa rgw: improve code formatting in Swift's DLO implementation.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:22 +01:00
Radoslaw Zarzynski
b48f3d7741 rgw: fix wrong length in Content-Range HTTP header of Swift's DLO.
Fixes: #13452
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:21 +01:00
Radoslaw Zarzynski
66f47f35bb rgw: fix wrong first byte pos in Content-Range HTTP header of Swift's DLO.
Fixes: #13452
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:21 +01:00
Radoslaw Zarzynski
2945bef8eb rgw: add support for putting Swift's X-Object-Manifest through POST.
Fixes: #12886
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-12-08 17:57:21 +01:00
Loic Dachary
2d8d706191 Merge pull request #6857 from dachary/wip-13986-test-pg-scrub
tests: osd-scrub-snaps.sh to display full osd logs on error

Reviewed-by: Xinze Chi <xinze@xsky.com>
2015-12-08 17:03:10 +01:00
Loic Dachary
2c7c712925 tests: osd-scrub-snaps.sh to display full osd logs on error
This generates a large output but is the only way to get more
information about race conditions that turn out to show up frequently.

http://tracker.ceph.com/issues/13986 Refs: #13986

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-08 13:54:58 +01:00
John Spray
76467ee132 Merge pull request #6850 from H3C/wip-zcl-ceph-mds
ceph-mds:add --help/-h

Reviewed-by: John Spray <john.spray@redhat.com>
2015-12-08 12:31:40 +00:00
John Spray
534ff381ab Merge pull request #6848 from H3C/wip-zcl-layout-rst
doc:file must be empty when writing layout fields of file use "setfattr"

Reviewed-by: John Spray <john.spray@redhat.com>
2015-12-08 11:47:22 +00:00
Cilang Zhao
a69367d971 ceph-mds:add --help/-h
When use ceph-mds --hlep/-h, the usage will be showed

Signed-off-by: Cilang Zhao <zhao.cilang@h3c.com>
2015-12-08 04:01:12 -05:00
Cilang Zhao
07c334a2ca doc:file must be empty when writing layout fields of file use "setfattr"
When the layout fields of a file are modified, this file must be empty, otherwise an error would occur.

Signed-off-by:Cilang Zhao zhao.cilang@h3c.com
2015-12-08 03:45:43 -05:00
Loic Dachary
84ee7c3399 Merge remote-tracking branch 'ceph/jewel' 2015-12-08 09:03:55 +01:00
Loic Dachary
2c1af382c6 Merge pull request #6844 from dachary/wip-13997-centos-libunwind-jewel
build/ops: enable CR in CentOS 7

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2015-12-08 08:52:58 +01:00
Loic Dachary
247ee6084b build/ops: enable CR in CentOS 7
To get libunwind from the CR repositories until CentOS 7.2.1511 is released.

http://tracker.ceph.com/issues/13997 Fixes: #13997

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-08 08:25:24 +01:00
Loic Dachary
91264778b3 Merge pull request #6842 from badone/wip-13997
tests: centos7 needs the Continuous Release (CR) Repository enabled for

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-08 07:47:06 +01:00
Brad Hubbard
b47eeae1da tests: centos7 needs the Continuous Release (CR) Repository enabled for
libunwind

Fixes: #13997
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-12-08 16:07:38 +10:00
Josh Durgin
8676120b44 Merge pull request #6818 from trociny/fix-cmake
cmake: update for recent rbd changes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-07 16:06:18 -08:00
Josh Durgin
caedebded5 Merge pull request #6837 from dreamhost/wip-test-cephtool-filenames
qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-07 15:52:47 -08:00
Robin H. Johnson
cd0c13bbf0 qa/workunits/cephtool/test.sh: false positive fail on /tmp/obj1.
If /tmp/obj1 happened to exist already, and was not writable by the
testing user, then this test failed!

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-12-07 15:27:12 -08:00
Josh Durgin
f112e25f42 Merge pull request #6838 from stiopaa1/Wreorder_ceph_context
common/ceph_context.cc:fix order of initialisers

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-07 15:21:16 -08:00
Josh Durgin
b667259470 Merge pull request #6831 from fullerdj/wip-14010
qa/krbd: Expunge generic/247

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-07 15:01:01 -08:00
David Zafman
74ee7bd241 Merge pull request #6793 from dzafman/wip-hist-les-fix
osd: Allow repair of history.last_epoch_started using config

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-12-07 14:56:03 -08:00
Michal Jarzabek
a80ff1fe43 common/ceph_context.cc:fix order of initialisers
Fix order of member initialisers causing [-Wreorder] warning.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2015-12-07 22:39:11 +00:00
Yehuda Sadeh
0a883a48b4 Merge branch 'unlinkcallbyrmbucket'
Conflicts:
	src/rgw/rgw_bucket.cc

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-07 11:54:49 -08:00
Aran85
0186cdc622 rgw:dont update entrypoint when removing bucket
when removing bucket,we unlink the bucket bucket but we don't want
to update the entrypoint here.Because the update_entrypoint's default
value is true,so we need to indicate it to false.

Signed-off-by: Zengran Zhang <zhangzengran@h3c.com>
2015-12-07 11:51:25 -08:00
Yehuda Sadeh
23554c46a1 Merge pull request #6735 from rzarzynski/wip-rgw-clean-putmetabucket
rgw: remove unused variable in RGWPutMetadataBucket::execute

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-07 11:10:24 -08:00
Yehuda Sadeh
54a6222501 Merge pull request #6829 from LenzGr/master
doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-07 11:09:41 -08:00
Yehuda Sadeh
eb81cc44ef Merge pull request #6774 from ceph/wip-rgw-cap-fix
rgw: add a missing cap type
2015-12-07 10:42:18 -08:00
Douglas Fuller
9af8d6f03b qa/krbd: Expunge generic/247
xfstests generic/247 exercises XFS DIO and AIO to detect races. Some
races apparently exist in the XFS code as this is a known issue within
XFS. Expunge this test because it is not specifically relevant to krbd
and not a specific krbd issue.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2015-12-07 09:24:33 -08:00
Orit Wasserman
12d5b65fae Merge pull request #6805 from zaitcev/cmake-pluginregistry
cmake: Add common/PluginRegistry.cc to CMakeLists.txt
2015-12-07 16:16:26 +01:00
Lenz Grimmer
3e23e45dd7 doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity
Fixed incorrect name of a "List Multipart Upload Parts" Response Entity:
"InitiatedMultipartUploadsResult" -> "ListPartsResult"

Fixes: #14003

Signed-off-by: Lenz Grimmer <lenz@grimmer.com>
2015-12-07 15:54:49 +01:00
Mykola Golub
c83d6dbf5c cmake: update for recent rbd changes
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-07 11:13:47 +02:00
Loic Dachary
8eb0ed1dcd Merge pull request #6816 from drunkard/doc
doc: rst style fix for pools document

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-07 10:02:02 +01:00
Loic Dachary
273c52a597 Merge pull request #6820 from mikulely/add-umcloud-affiliation
Add UMCloud affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-07 09:52:05 +01:00
Jiaying Ren
25c70cfc9b Update Jiaying Ren affinity
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2015-12-07 16:17:44 +08:00
Jiaying Ren
c11ca42684 Update Rongze Zhu affinity
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2015-12-07 16:17:08 +08:00
Gregory Farnum
47c7893446 Merge pull request #6655 from jcsp/wip-inode-claim
tools: add cephfs-table-tool 'take_inos'

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2015-12-06 21:09:56 -08:00