Commit Graph

58373 Commits

Author SHA1 Message Date
Yehuda Sadeh
5b3cd2efbe Merge pull request #10223 from mikulely/doc-s3-static-website-support
doc: update s3 static webiste feature support status

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-10-04 17:12:30 -07:00
Yehuda Sadeh
c16929f6bc Merge pull request #11325 from yehudasa/wip-17499
rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_…

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 17:02:51 -07:00
weiqiaomiao
a8d33c081b rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_ObjStore_S3::send_response()' function
Fixes: http://tracker.ceph.com/issues/17499

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
2016-10-04 17:06:36 -07:00
Yehuda Sadeh
92c2c9bc87 Merge pull request #10820 from yanghonggang/master
rgw: fix get object instance  returned NoSuchKey error

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 16:20:51 -07:00
Yehuda Sadeh
91a70c3e51 Merge pull request #10726 from weiqiaomiao/wqm-wip-remove-ret
rgw: remove the field ret from class RGWPutLC

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 15:48:05 -07:00
Yehuda Sadeh
a8fe5554b9 Merge pull request #6501 from dwj192/check-index-multipart
rgw:bucket check remove _multipart_ prefix

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 13:49:05 -07:00
Yehuda Sadeh
69b11838fe Merge pull request #10558 from cbodley/wip-rgw-mdlog-history
rgw: store oldest mdlog period in rados

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 13:10:29 -07:00
Sage Weil
16e6e349ef Merge pull request #11312 from liewegas/wip-bluestore-assign-blob
os/bluestore: fix crash in decode_some()
2016-10-04 13:10:10 -05:00
Yehuda Sadeh
b974dac04e Merge pull request #10372 from cbodley/wip-rgw-data-log-trim
rgw multisite: trim data logs as peer zones catch up

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 10:20:31 -07:00
Sage Weil
6b21e69a42 os/bluestore: fix crash in decode_some()
shared_blob must be non-null when we call Extent::assign_blob().

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-04 12:52:27 -04:00
Sage Weil
96707194c7 Merge pull request #11295 from liewegas/wip-bluestore-cache
os/bluestore: make cache settings process-wide

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-10-04 10:39:50 -05:00
Jason Dillaman
3e4a59d81b Merge pull request #11291 from trociny/wip-qa-mirror-asok
qa/workunits/rbd: check status also in pool dir after asok commands

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-04 11:22:53 -04:00
Casey Bodley
8c2dc6eacf Merge pull request #11278 from gaurav36/wip-obsolete-rgw-admin-period-prepare
rgw: obsolete 'radosgw-admin period prepare' command

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-10-04 11:14:50 -04:00
Sage Weil
b16bd7781a unittest_bluestore_types: show sizeof for key types
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-04 11:14:08 -04:00
John Spray
fcf61342c6 Merge pull request #11307 from jcsp/wip-mgr-compile
mgr: squash compiler warnings

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2016-10-04 16:03:16 +01:00
Sage Weil
304a3b1bf8 os/bluestore: use Extent::assign_blob
More explicit, less error-prone.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-04 10:59:15 -04:00
John Spray
7a93aa874e Merge pull request #11299 from liewegas/wip-mgr-fix
mgr: implement con reset handling

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-04 15:44:39 +01:00
John Spray
d5c6a961d3 Merge pull request #11308 from liewegas/wip-mgr-valgrind
mgr/MgrMap: initialize all fields

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-04 15:05:31 +01:00
Gaurav Kumar Garg
1508c70d36 rgw multisite: obsolete 'radosgw-admin period prepare' command
All that the 'radosgw-admin period prepare' command does is create an
empty period and write it to rados. When we added the staging period
(see 'period get --staging'), uncommitted changes were written to that
instead - so the 'period prepare' command became obsolete. It should be
removed!

Fixes: http://tracker.ceph.com/issues/17387

Reported-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2016-10-04 15:58:09 +02:00
Sage Weil
5b3e71621f mgr/MgrMap: initialize all fields
Fixes: http://tracker.ceph.com/issues/17492
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-04 09:23:27 -04:00
John Spray
a22bb9cb75 mgr: squash compiler warnings
Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-04 14:12:59 +01:00
John Spray
0aab9e2737 Merge pull request #11254 from xiexingguo/xxg-wip-fs-0929
mds/MDCache: kill a comipler warning

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-04 14:12:41 +01:00
Jason Dillaman
baa2202ea2 Merge pull request #11306 from trociny/fixup-notify_image_updated
librbd: memory leak in MirroringWatcher::notify_image_updated

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-04 09:05:28 -04:00
Jason Dillaman
3b021d662e Merge pull request #11303 from ceph/wip-rbd-clarify-size
doc: clarify rbd size units

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-04 09:00:22 -04:00
Mykola Golub
91d7de44d9 librbd: memory leak in MirroringWatcher::notify_image_updated
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-10-04 15:54:09 +03:00
Jason Dillaman
476820bf18 Merge pull request #11257 from trociny/wip-17355-fixup
journal: ensure in-flight ops are complete destroying journaler

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-04 08:48:05 -04:00
Boris Ranto
2d1f164613 Merge pull request #11259 from b-ranto/wip-selinux-tmp-files
selinux: Allow ceph to manage tmp files

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2016-10-04 13:30:18 +02:00
Ilya Dryomov
d38dc29ed5 doc: clarify rbd size units
It wasn't clear from the man page that --size defaults to M.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-10-04 10:21:36 +02:00
Gregory Farnum
110238608a Merge pull request #11218 from ceph/wip-getuid
Client: pass "UserPerm" struct everywhere for security checks

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2016-10-03 22:30:55 -07:00
Yang Honggang
d43b69e529 rgw: fix versioned object IO error
When accessing a copied destination object, its source object's instance ID
    information is needed, however it's missing now in the destination object's
    manifest.

    In order to fix this problem, we can record source object's version_id/instance
    into dest object's manifest(a new filed 'tail_instance' is added). When creating
    a new object(not copy), 'tail_instance' should be equal to its instance value.
    When copy/get a object, 'tail_instance' should always be used to get the right
    tail objects.

    Fixes: http://tracker.ceph.com/issues/17111
    Signed-off-by: Yang Honggang <joseph.yang@xtaotech.com>
2016-10-04 09:18:09 +08:00
Sage Weil
0118293a4e os/bluestore: turn bluestore_onode_cache_size 16k -> 4k
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 18:42:03 -04:00
Sage Weil
05bb253c94 os/bluestore: drop unnecessary assert
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 18:42:03 -04:00
Sage Weil
a706908340 os/bluestore: instrument cache blob and extent counts
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 18:42:03 -04:00
Sage Weil
8c4cabec0f unittest_bluestore_types: attach blobs to cache
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 18:42:03 -04:00
Sage Weil
c8a06ce1ee do_cmake.sh: set .ceph_port to random port
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 18:40:07 -04:00
Sage Weil
33e26d021d os/bluestore: add perf counters for cache size
Onodes, buffers, buffer bytes.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 18:40:07 -04:00
Sage Weil
6098761000 os/bluestore: fix typo in write_penalty_read_ops perf counter
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 18:40:06 -04:00
Sage Weil
cbfa540c68 os/bluestore: fix cache tunables to be process-wide
Divide by the shard count so that the user isn't totally
confused.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 18:40:06 -04:00
Sage Weil
2efe05128b Merge pull request #11300 from liewegas/wip-bluestore-onode-add
os/bluestore: fix onode cache addition race
2016-10-03 17:11:57 -05:00
Sage Weil
2150e9914b os/bluestore: fix onode cache addition race
Two threads may try to add the same onode to the cache.
This is rare, but allowed (in the case of the meta
collection).  If that happens, one of them will just
back off and use the winning onode ref.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 17:37:15 -04:00
Sage Weil
f7a9a6f656 mgr/MgrClient: implement con reset handling
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 14:42:35 -04:00
Gregory Farnum
8d37c68b56 Merge pull request #11298 from liewegas/wip-mgr-fix
mgr/MgrClient: fix ms_handle_reset
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-03 11:13:12 -07:00
Sage Weil
848ee05932 mgr/MgrClient: fix ms_handle_reset
Return false because we don't handle the reset.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 13:59:51 -04:00
Radoslaw Zarzynski
cfc0a16e04 Merge pull request #11292 from rzarzynski/yj-wip-swift-build_token-cleanup
rgw/swift: remove redundant assignment operation

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-10-03 17:53:19 +02:00
Kefu Chai
eb62120723 Merge pull request #11019 from liewegas/wip-autotools-must-die
autotools: remove a few other remaining traces

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-03 23:52:38 +08:00
Jason Dillaman
ada727047d Merge pull request #11294 from trociny/fixup-qa-rbd_mirror-metadata_set
qa/workunits/rbd: set image-meta on primary image and wait it is replicated

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-03 11:50:04 -04:00
Sage Weil
8242afb135 Merge pull request #11288 from stiopaa1/osd_replicatedpg_moveCOSDOnAppliedClass
osd/ReplicatedPG:move C_OSD_OnApplied class to cc

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-03 09:26:03 -05:00
Sage Weil
dbef9d057e Merge pull request #11289 from stiopaa1/mds_sessionmap_moveStatementUnderAssertPushPv
mds/SessionMap.h: change statement to assertion

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2016-10-03 09:25:36 -05:00
Mykola Golub
eb4097b8ef qa/workunits/rbd: set image-meta on primary image and wait it is replicated
After recently added image metadata replication it is not possible any
more to update it on non-primary image.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-10-03 17:02:59 +03:00
Sage Weil
b424a35f3a run-make-check.sh: use cmake exclusively
..and drop the separate cmake script

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-03 09:46:50 -04:00