Commit Graph

53192 Commits

Author SHA1 Message Date
Yehuda Sadeh
a80ef267fe Merge pull request #8548 from weiqiaomiao/wq
rgw:remove an unnecessary assignment of the variable 'marker'

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2016-05-10 11:50:29 -07:00
Kefu Chai
ed43214ca2 Merge pull request #8301 from tchaikov/wip-fortify
cmake: enable FORTFY flags if supported

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-11 02:42:28 +08:00
Kefu Chai
e79c031dbe cmake: enable FORTFY flags if supported
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-11 02:41:12 +08:00
Yehuda Sadeh
143e3c3174 Merge pull request #8945 from cbodley/wip-rgw-admin-output
radosgw-admin: added missing json output to some commands

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-05-10 11:36:08 -07:00
Yehuda Sadeh
88e10286b6 Merge pull request #8951 from ceph/wip-15745
rgw: handle stripe transition when flushing final pending_data_bl

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-10 11:18:25 -07:00
Yehuda Sadeh
7dbd6360e8 rgw: 'period delete' cleans up all period objectsReviewed-by: Yehuda Sadeh
rgw: 'period delete' cleans up all period objects

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-10 09:44:02 -07:00
Nathan Cutler
b3b3cc2631 Merge pull request #9045 from ceph/wip-selinux-noprio
rpm: Drop SELinux priority setting

Reviewed by: Nathan Cutler <ncutler@suse.com>
2016-05-10 18:36:57 +02:00
Boris Ranto
7e606f29f4 rpm: Drop SELinux priority setting
Older versions of semodule binary that are in Centos/RHEL do not
support priority setting, dropping it.

Fixes: #15822
Signed-off-by: Boris Ranto <branto@redhat.com>
2016-05-10 18:21:50 +02:00
Josh Durgin
7fcb52d0d3 Merge pull request #8921 from dillaman/wip-15110
rbd-mirror: image sync needs to handle snapshot size and protection status

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>

Conflicts:
	src/test/librbd/test_mock_Journal.cc (moved and edited MockJournaler - trivial)
2016-05-10 08:10:24 -07:00
Josh Durgin
43b66f9721 Merge pull request #8937 from dillaman/wip-15642
librbd: client-side handling for incompatible object map sizes 

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-10 07:58:26 -07:00
Josh Durgin
f5d38f099b Merge pull request #8958 from dillaman/wip-15750
librbd: constrain size of AioWriteEvent journal entries

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-10 07:57:20 -07:00
Josh Durgin
e0c57573a1 librbd: potential concurrent event processing during journal replayReviewed-by: Josh Durgin <jdurgin@redhat.com>
librbd: potential concurrent event processing during journal replay
2016-05-10 07:56:58 -07:00
Josh Durgin
9c43690c88 Merge pull request #8999 from dillaman/wip-15765
journal: incorrectly computed object offset within set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-10 07:56:36 -07:00
Josh Durgin
7131b77919 Merge pull request #9034 from dillaman/wip-rbd-cli-integration-test
test: update rbd integration cram test to remove format 1 warning

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-10 07:51:07 -07:00
Jason Dillaman
85e325369f Merge pull request #9030 from trociny/wip-15771
librbd: fix get/list mirror image status API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-10 09:04:22 -04:00
Jason Dillaman
098038fad4 test: update rbd integration cram test to remove format 1 warning
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-10 08:33:13 -04:00
Mykola Golub
e6c709b3a8 rbd-mirror: fixup to get/list mirror image status API
- embed name and rbd_mirror_image_info_t into rbd_mirror_image_status_t;
- index image status list by image id to make 'start' work correctly;
- provide rbd_mirror_image_status_list_cleanup function.

Fixes: #15771
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-10 15:04:14 +03:00
Orit Wasserman
dee1bdf42a Merge pull request #8197 from H3C/wip-rgw-bugfixa
rgw:response information is error when geting token of swift account
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-10 13:57:05 +02:00
Ilya Dryomov
ee31a7f658 Merge pull request #8944 from vshankar/rbd-map-errno
rbd: helpful error message on map failure

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2016-05-10 11:02:20 +02:00
Jason Dillaman
fa91919c85 test: add missing header dependency for MockJournaler
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-09 18:25:39 -04:00
Yehuda Sadeh
c49c8bdf17 Merge pull request #8918 from ceph/wip-rgw-leak-3
rgw: fix memory leaks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 15:15:11 -07:00
Ali Maredia
2d5bb928d5 Merge pull request #9012 from cbodley/wip-cmake-freelist
cmake: add missing FreelistManager sources
2016-05-09 18:09:10 -04:00
Yehuda Sadeh
91f61d68bf rgw: RGWHTTPClient requests can unregister themselves early
No need to wait for req_state to complete anymore.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:38:22 -07:00
Yehuda Sadeh
fa9566825c Merge pull request #9013 from cbodley/wip-rgw-test-mtime
test/rgw: enable mtime comparison in check_object_eq()

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:37:48 -07:00
Yehuda Sadeh
3d8442effc rgw: move around sync_env.init()
call sync_env.init() even if we're initalized in RGWRemoteDataLog::init()

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:41 -07:00
Yehuda Sadeh
1c876eb387 rgw: rados crs, explicit cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
7ada4df124 rgw: RGWHTTPManager, avoid referring to req_data->client when completing
this is past calling req_data->finish(), client can be destroyed by now

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
2ca38dab07 rgw: civetweb_callback() refer to store inside lock
pe->store might change when reconfiguring

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
98433e589f rgw: RGWPeriodPusher, stop http manager explicitly
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
bdce81a2ae rgw: RGWHTTPManager, can call stop() more than once
destructor calls stop(), but it can be also called explicitly, if caller
wants to ensure requests are not being handled anymore.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
d1ec31def7 rgw: RGWReadRESTResourceCR, fix refcounting
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
95162a4c1b rgw: RGWReadRemoteDataLogShardCR fix destructor
was missing destructor, constructor was broken

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
14cd44e084 rgw: RGWDataSyncStatusManager, cleanup if failing init
init can be called more than once, ended up with leaking some resources

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
a3a3f4f588 rgw: rest crs, explicitly call cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
cb797d4fd7 rgw: more leaks fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:39 -07:00
Yehuda Sadeh
4442d1c19a rgw: drop a reference to http op
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:39 -07:00
Yehuda Sadeh
e1463adb8b Merge pull request #8766 from yehudasa/wip-15597
rgw: upgrade default zonegroup and set correct zone[group] id

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-05-09 14:23:50 -07:00
Yehuda Sadeh
d53ffbfe65 rgw: code cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:23:03 -07:00
Yehuda Sadeh
8ab94f39e3 Merge pull request #8772 from yehudasa/wip-15625
rgw: sync fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 14:13:11 -07:00
Casey Bodley
9d996c567d test/rgw: enable mtime comparison in check_object_eq()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 17:06:12 -04:00
Yehuda Sadeh
4a156662f8 Merge pull request #8880 from cbodley/wip-rgw-zonegroup-remove
radosgw-admin: add missing 'zonegroup remove'

Reviewed-by: Yehuda Sadeh <yehudasa@gmail.com>
2016-05-09 14:05:53 -07:00
Casey Bodley
5ba1b7b642 cmake: add missing FreelistManager sources
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 17:01:15 -04:00
Casey Bodley
c431924742 Merge pull request #8166 from kmroz/wip-rgw-rest-conn-use-vector
rgw: rest and http client code to use param vectors

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 14:11:05 -04:00
Yuri Weinstein
0f003ffbe7 common/ShardedOpWQ: make timeout when calling WaitInterval configurabletest run http://pulpito.ceph.com/yuriw-2016-05-07_09:11:04-rados-wip-yuri-testing---basic-smithi/
common/ShardedOpWQ: make timeout when calling WaitInterval configurable

test run http://pulpito.ceph.com/yuriw-2016-05-07_09:11:04-rados-wip-yuri-testing---basic-smithi/
2016-05-09 09:10:01 -07:00
Yuri Weinstein
e4fa44cd48 Merge pull request #8810 from xiexingguo/xxg-wip-fixgotfullmap
osd: fix problematic got_full_map() logic

test run http://pulpito.ceph.com/yuriw-2016-05-07_09:11:04-rados-wip-yuri-testing---basic-smithi/
2016-05-09 09:09:26 -07:00
Yuri Weinstein
22dc9696b6 Merge pull request #8857 from liewegas/wip-15678
osd: handle boot racing with NOUP set

test run http://pulpito.ceph.com/yuriw-2016-05-07_09:11:04-rados-wip-yuri-testing---basic-smithi/
2016-05-09 09:09:13 -07:00
Yuri Weinstein
347a04b9cd Merge pull request #8881 from liewegas/wip-14952
osd: fix pg stuck messages while PGs are being created

test run http://pulpito.ceph.com/yuriw-2016-05-07_09:11:04-rados-wip-yuri-testing---basic-smithi/
2016-05-09 09:08:39 -07:00
Yuri Weinstein
5670e2749e Merge pull request #8798 from majianpeng/buffer
common/buffer: clean up alignment checks

test run http://pulpito.ceph.com/yuriw-2016-05-08_08:12:51-rados-wip-yuri-testing2---basic-smithi/
2016-05-09 09:07:19 -07:00
Yuri Weinstein
b6525a064f Merge pull request #8953 from xiexingguo/xxg-wip-prettydump
mon/PGMap: pretty output for "pg dump osds" command
2016-05-09 09:06:31 -07:00
Sage Weil
16a0c4f147 Merge pull request #8986 from stiopaa1/osd_prepublishmap_move
osd/OSD.h: move shared_ptr instead of copying it

Reviewed-by: Adam Emerson <aemerson@redhat.com
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-09 11:53:05 -04:00