]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agodoc: improvement of the "tunables" part 9135/head
lafont [Sun, 15 May 2016 20:31:53 +0000 (22:31 +0200)]
doc: improvement of the "tunables" part

* Some CRUSH_TUNABLES$N references were false.
* The explanations concerning the warning when tunables are
  non-optimal were false or confusing.
* Make the definition of the "default" profile clearer.

Signed-off-by: François Lafont <francois.lafont@ac-versailles.fr>
9 years agoMerge pull request #9110 from stiopaa1/osd_moveTickClasses
Sage Weil [Fri, 13 May 2016 13:35:46 +0000 (09:35 -0400)]
Merge pull request #9110 from stiopaa1/osd_moveTickClasses

osd: move tick classes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8887 from jcsp/wip-15689
John Spray [Fri, 13 May 2016 13:25:01 +0000 (08:25 -0500)]
Merge pull request #8887 from jcsp/wip-15689

osdc: send error to recovery waiters on shutdown

Reviewed-by: Yan, Zheng <zyan@redhat.com>
9 years agoMerge pull request #8835 from xiaoxichen/implement_fsync_in_pybind
John Spray [Fri, 13 May 2016 13:17:05 +0000 (08:17 -0500)]
Merge pull request #8835 from xiaoxichen/implement_fsync_in_pybind

pybind: expose fsync in cephfs binding.

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoosd/OSD.cc: add override to virtual functions 9110/head
Michal Jarzabek [Thu, 12 May 2016 19:53:16 +0000 (20:53 +0100)]
osd/OSD.cc: add override to virtual functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoosd/OSD: move C_Tick and C_Tick_WithoutOSDLock
Michal Jarzabek [Thu, 12 May 2016 19:51:55 +0000 (20:51 +0100)]
osd/OSD: move C_Tick and C_Tick_WithoutOSDLock

Since above classes are implementation detail of OSD class move them
to the .cc file.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoMerge pull request #9079 from liewegas/wip-bluestore-freelist
Sage Weil [Thu, 12 May 2016 17:56:30 +0000 (13:56 -0400)]
Merge pull request #9079 from liewegas/wip-bluestore-freelist

os/bluestore: switch to bitmap freelist by default

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #8956 from shinobu-x/wip-shinobu
Sage Weil [Thu, 12 May 2016 17:56:03 +0000 (13:56 -0400)]
Merge pull request #8956 from shinobu-x/wip-shinobu

os/bluestore: fix permissions on StupidAllocator.cc, cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #9074 from tchaikov/wip-cmake-manpages
Kefu Chai [Thu, 12 May 2016 14:14:18 +0000 (22:14 +0800)]
Merge pull request #9074 from tchaikov/wip-cmake-manpages

cmake: build man pages

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agocmake: restructure and add missing manpages 9074/head
Kefu Chai [Thu, 12 May 2016 05:47:49 +0000 (13:47 +0800)]
cmake: restructure and add missing manpages

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: build man pages
Kefu Chai [Wed, 11 May 2016 13:29:15 +0000 (21:29 +0800)]
cmake: build man pages

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9024 from trociny/fixup-rbd-mirror-asok
Jason Dillaman [Wed, 11 May 2016 21:13:11 +0000 (17:13 -0400)]
Merge pull request #9024 from trociny/fixup-rbd-mirror-asok

rbd-mirror: don't unregister asok commands if image replayer start failed

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9025 from trociny/fixup-rbd-mirror-status
Jason Dillaman [Wed, 11 May 2016 21:00:39 +0000 (17:00 -0400)]
Merge pull request #9025 from trociny/fixup-rbd-mirror-status

rbd-mirror: avoid potential deadlock

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9043 from fullerdj/wip-djf-fsx-fix
Jason Dillaman [Wed, 11 May 2016 20:36:17 +0000 (16:36 -0400)]
Merge pull request #9043 from fullerdj/wip-djf-fsx-fix

test/rbd: document fsx option to keep data on success

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9071 from runsisi/wip-rbd-mirror-minor-cleanup
Jason Dillaman [Wed, 11 May 2016 20:28:48 +0000 (16:28 -0400)]
Merge pull request #9071 from runsisi/wip-rbd-mirror-minor-cleanup

rbd-mirror: minor cleanup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8924 from xiexingguo/xxg-wip-monitor
Yuri Weinstein [Wed, 11 May 2016 18:47:36 +0000 (11:47 -0700)]
Merge pull request #8924 from xiexingguo/xxg-wip-monitor

mon/Monitor: fix memory leak; add leaked key to tracked_conf_key

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Marcel Lauhoff <lauhoff@uni-mainz.de>
9 years agoMerge pull request #8952 from badone/wip-i-am-osd-fix
Yuri Weinstein [Wed, 11 May 2016 18:36:07 +0000 (11:36 -0700)]
Merge pull request #8952 from badone/wip-i-am-osd-fix

osd: Trivial grammatical fix 'i' to 'I'

Reviewed-by: songbaisen <song.baisen@zte.com.cn>
9 years agoMerge pull request #8993 from XinzeChi/wip-copy-get
Yuri Weinstein [Wed, 11 May 2016 18:33:03 +0000 (11:33 -0700)]
Merge pull request #8993 from XinzeChi/wip-copy-get

osd: fix ReplicatedPG::fill_in_copy_get logic

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8995 from xiexingguo/xxg-wip-fixpingreply
Yuri Weinstein [Wed, 11 May 2016 18:31:03 +0000 (11:31 -0700)]
Merge pull request #8995 from xiexingguo/xxg-wip-fixpingreply

osd: fix potential access violation during handling PING_REPLY

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8990 from tchaikov/wip-13990
Sage Weil [Wed, 11 May 2016 18:21:03 +0000 (14:21 -0400)]
Merge pull request #8990 from tchaikov/wip-13990

osd: remove all stale osdmaps in handle_osd_map()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #8998 from kylinstorage/wip-fix-wrong-raw-pointer-conversion
Sage Weil [Wed, 11 May 2016 18:17:52 +0000 (14:17 -0400)]
Merge pull request #8998 from kylinstorage/wip-fix-wrong-raw-pointer-conversion

librados: fix wrong raw pointer conversion

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoqa: rbd/map-snapshot-io.sh: don't chown sysfs files
Josh Durgin [Wed, 11 May 2016 18:14:36 +0000 (11:14 -0700)]
qa: rbd/map-snapshot-io.sh: don't chown sysfs files

qa: rbd/map-snapshot-io.sh: don't chown sysfs files

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoqa: rbd/map-snapshot-io.sh: don't chown sysfs files 9080/head
Ilya Dryomov [Wed, 11 May 2016 15:26:39 +0000 (17:26 +0200)]
qa: rbd/map-snapshot-io.sh: don't chown sysfs files

/sys/bus/rbd/add_single_major is used if present, so chown'ing
/sys/bus/rbd/add doesn't help.  Use sudo on rbd map instead.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
9 years agoos/bluestore: switch to bitmap freelist by default 9079/head
Sage Weil [Wed, 11 May 2016 17:51:26 +0000 (13:51 -0400)]
os/bluestore: switch to bitmap freelist by default

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: v0.94.7 hammer
Sage Weil [Wed, 11 May 2016 17:44:53 +0000 (13:44 -0400)]
doc/release-notes: v0.94.7 hammer

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8377 from vshankar/bs-alloc-cleanup
Sage Weil [Wed, 11 May 2016 16:31:15 +0000 (12:31 -0400)]
Merge pull request #8377 from vshankar/bs-alloc-cleanup

bluefs: use Allocator::create() to instantiate allocator

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8482 from majianpeng/bluestore-prefallocate
Sage Weil [Wed, 11 May 2016 14:52:42 +0000 (10:52 -0400)]
Merge pull request #8482 from majianpeng/bluestore-prefallocate

os/bluestore/BlueStore: preallocate space when use file instead of blockdevice

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8771 from xiaoxichen/configurable_prefix
John Spray [Wed, 11 May 2016 14:08:12 +0000 (09:08 -0500)]
Merge pull request #8771 from xiaoxichen/configurable_prefix

pybind: configurable cephfs_vol_client prefix.

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agorbd-mirror: fix typo 9071/head
runsisi [Wed, 11 May 2016 12:52:38 +0000 (20:52 +0800)]
rbd-mirror: fix typo

Signed-off-by: runsisi <runsisi@zte.com.cn>
9 years agorbd-mirror: librbd::mirror_peer_list never returns -ENOENT
runsisi [Wed, 11 May 2016 12:42:37 +0000 (20:42 +0800)]
rbd-mirror: librbd::mirror_peer_list never returns -ENOENT

no need to check -ENOENT specially

Signed-off-by: runsisi <runsisi@zte.com.cn>
9 years agorbd-mirror: use the already known pool name directly
runsisi [Wed, 11 May 2016 12:34:51 +0000 (20:34 +0800)]
rbd-mirror: use the already known pool name directly

no need to try to get the pool name by pool id again

Signed-off-by: runsisi <runsisi@zte.com.cn>
9 years agoMerge pull request #9067 from trociny/fixup-mirror_image_status_list
Jason Dillaman [Wed, 11 May 2016 12:23:23 +0000 (08:23 -0400)]
Merge pull request #9067 from trociny/fixup-mirror_image_status_list

cls::rbd: mirror_image_status_list returned max 64 items

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8602 from ajarr/wip-15045
John Spray [Wed, 11 May 2016 12:22:56 +0000 (07:22 -0500)]
Merge pull request #8602 from ajarr/wip-15045

ceph_volume_client: evict client also based on mount path

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #8955 from xiexingguo/xxg-wip-docrgw
Kefu Chai [Wed, 11 May 2016 12:09:58 +0000 (20:09 +0800)]
Merge pull request #8955 from xiexingguo/xxg-wip-docrgw

doc/rgw: fix typo, abbreviation error etc.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9058 from dillaman/wip-cmake-test-rbd-mirror
Kefu Chai [Wed, 11 May 2016 11:42:20 +0000 (19:42 +0800)]
Merge pull request #9058 from dillaman/wip-cmake-test-rbd-mirror

cmake: fix rbd compile errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: fix rbd compile errors 9058/head
Jason Dillaman [Wed, 11 May 2016 02:37:01 +0000 (22:37 -0400)]
cmake: fix rbd compile errors

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocls::rbd: mirror_image_status_list returned max 64 items 9067/head
Mykola Golub [Wed, 11 May 2016 11:14:46 +0000 (14:14 +0300)]
cls::rbd: mirror_image_status_list returned max 64 items

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #8633 from dreamhost/wip-15531
Orit Wasserman [Wed, 11 May 2016 09:05:23 +0000 (11:05 +0200)]
Merge pull request #8633 from dreamhost/wip-15531

rgw/s3website: Fix x-amz-website-redirect-location support.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: Set Access-Control-Allow-Origin to a Asterisk if allowed in a ruleReviewed-by...
Orit Wasserman [Wed, 11 May 2016 09:02:30 +0000 (11:02 +0200)]
rgw: Set Access-Control-Allow-Origin to a Asterisk if allowed in a ruleReviewed-by: Orit Wasserman <owasserm@redhat.com>

rgw: Set Access-Control-Allow-Origin to a Asterisk if allowed in a rule
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoRevert "rgw: RGWDataSyncStatusManager::finalize() cleanup"
Yehuda Sadeh [Tue, 10 May 2016 23:24:30 +0000 (16:24 -0700)]
Revert "rgw: RGWDataSyncStatusManager::finalize() cleanup"

This reverts commit 365e8334b4d376ba2d57c2d7d904462fdcc35059.

9 years agorgw: RGWDataSyncStatusManager::finalize() cleanup
Casey Bodley [Tue, 10 May 2016 21:30:20 +0000 (17:30 -0400)]
rgw: RGWDataSyncStatusManager::finalize() cleanup

rgw: RGWDataSyncStatusManager::finalize() cleanup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #9055 from cbodley/wip-rgw-period-commit-master
Yehuda Sadeh [Tue, 10 May 2016 21:15:50 +0000 (14:15 -0700)]
Merge pull request #9055 from cbodley/wip-rgw-period-commit-master

rgw: 'period commit' sends to new master zone by default

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8605 from theanalyst/fix/15455
Casey Bodley [Tue, 10 May 2016 21:14:32 +0000 (17:14 -0400)]
Merge pull request #8605 from theanalyst/fix/15455

rgw: return 503 for requests when master zone is down

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoradosgw-admin: 'period commit' sends to new master zone by default 9055/head
Casey Bodley [Tue, 10 May 2016 19:51:27 +0000 (15:51 -0400)]
radosgw-admin: 'period commit' sends to new master zone by default

if no --remote or --url is given, set --remote = master_zone_id to
override the rest_master_conn (which refers to the old master zone)

Fixes: http://tracker.ceph.com/issues/15828
Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoradosgw-admin: allow --remote to specify zone or zonegroup id
Casey Bodley [Tue, 10 May 2016 19:48:33 +0000 (15:48 -0400)]
radosgw-admin: allow --remote to specify zone or zonegroup id

--remote was only looking for zonegroup connections. extended to check
for zone connections as well

updated the usage to clarify that it expects zone/zonegroup ids

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #8909 from theanalyst/rgw/zone-eexist-msg
Casey Bodley [Tue, 10 May 2016 19:54:59 +0000 (15:54 -0400)]
Merge pull request #8909 from theanalyst/rgw/zone-eexist-msg

rgw: remove EEXIST error msg for ZoneCreate

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #9035 from tchaikov/wip-cmake-venv
Casey Bodley [Tue, 10 May 2016 19:06:18 +0000 (15:06 -0400)]
Merge pull request #9035 from tchaikov/wip-cmake-venv

cmake: pass CEPH_BUILD_VIRTUALENV to test as an env variable

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #8548 from weiqiaomiao/wq
Yehuda Sadeh [Tue, 10 May 2016 18:50:29 +0000 (11:50 -0700)]
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>
9 years agoMerge pull request #8301 from tchaikov/wip-fortify
Kefu Chai [Tue, 10 May 2016 18:42:28 +0000 (02:42 +0800)]
Merge pull request #8301 from tchaikov/wip-fortify

cmake: enable FORTFY flags if supported

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agocmake: enable FORTFY flags if supported 8301/head
Kefu Chai [Thu, 24 Mar 2016 15:20:44 +0000 (23:20 +0800)]
cmake: enable FORTFY flags if supported

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8945 from cbodley/wip-rgw-admin-output
Yehuda Sadeh [Tue, 10 May 2016 18:36:08 +0000 (11:36 -0700)]
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>
9 years agoMerge pull request #8951 from ceph/wip-15745
Yehuda Sadeh [Tue, 10 May 2016 18:18:25 +0000 (11:18 -0700)]
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>
9 years agorgw: 'period delete' cleans up all period objectsReviewed-by: Yehuda Sadeh
Yehuda Sadeh [Tue, 10 May 2016 16:44:02 +0000 (09:44 -0700)]
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>
9 years agoMerge pull request #9045 from ceph/wip-selinux-noprio
Nathan Cutler [Tue, 10 May 2016 16:36:57 +0000 (18:36 +0200)]
Merge pull request #9045 from ceph/wip-selinux-noprio

rpm: Drop SELinux priority setting

Reviewed by: Nathan Cutler <ncutler@suse.com>

9 years agotest/rbd: document fsx option to keep data on success 9043/head
Douglas Fuller [Tue, 10 May 2016 15:37:54 +0000 (08:37 -0700)]
test/rbd: document fsx option to keep data on success

Add documentation line for the -k option to fsx to retain data
on success.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
9 years agorpm: Drop SELinux priority setting 9045/head
Boris Ranto [Tue, 10 May 2016 16:20:13 +0000 (18:20 +0200)]
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>
9 years agoMerge pull request #8921 from dillaman/wip-15110
Josh Durgin [Tue, 10 May 2016 15:10:24 +0000 (08:10 -0700)]
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)

9 years agoMerge pull request #8937 from dillaman/wip-15642
Josh Durgin [Tue, 10 May 2016 14:58:26 +0000 (07:58 -0700)]
Merge pull request #8937 from dillaman/wip-15642

librbd: client-side handling for incompatible object map sizes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8958 from dillaman/wip-15750
Josh Durgin [Tue, 10 May 2016 14:57:20 +0000 (07:57 -0700)]
Merge pull request #8958 from dillaman/wip-15750

librbd: constrain size of AioWriteEvent journal entries

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: potential concurrent event processing during journal replayReviewed-by: Josh...
Josh Durgin [Tue, 10 May 2016 14:56:58 +0000 (07:56 -0700)]
librbd: potential concurrent event processing during journal replayReviewed-by: Josh Durgin <jdurgin@redhat.com>

librbd: potential concurrent event processing during journal replay

9 years agoMerge pull request #8999 from dillaman/wip-15765
Josh Durgin [Tue, 10 May 2016 14:56:36 +0000 (07:56 -0700)]
Merge pull request #8999 from dillaman/wip-15765

journal: incorrectly computed object offset within set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #9034 from dillaman/wip-rbd-cli-integration-test
Josh Durgin [Tue, 10 May 2016 14:51:07 +0000 (07:51 -0700)]
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>
9 years agocmake: pass CEPH_BUILD_VIRTUALENV to test as an env variable 9035/head
Kefu Chai [Tue, 10 May 2016 13:50:17 +0000 (21:50 +0800)]
cmake: pass CEPH_BUILD_VIRTUALENV to test as an env variable

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9030 from trociny/wip-15771
Jason Dillaman [Tue, 10 May 2016 13:04:22 +0000 (09:04 -0400)]
Merge pull request #9030 from trociny/wip-15771

librbd: fix get/list mirror image status API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agotest: update rbd integration cram test to remove format 1 warning 9034/head
Jason Dillaman [Tue, 10 May 2016 12:33:03 +0000 (08:33 -0400)]
test: update rbd integration cram test to remove format 1 warning

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-mirror: fixup to get/list mirror image status API 9030/head
Mykola Golub [Tue, 10 May 2016 09:29:12 +0000 (12:29 +0300)]
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>
9 years agoMerge pull request #8197 from H3C/wip-rgw-bugfixa
Orit Wasserman [Tue, 10 May 2016 11:57:05 +0000 (13:57 +0200)]
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>
9 years agoMerge pull request #8944 from vshankar/rbd-map-errno
Ilya Dryomov [Tue, 10 May 2016 09:02:20 +0000 (11:02 +0200)]
Merge pull request #8944 from vshankar/rbd-map-errno

rbd: helpful error message on map failure

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
9 years agorbd-mirror: avoid potential deadlock 9025/head
Mykola Golub [Wed, 4 May 2016 12:25:04 +0000 (15:25 +0300)]
rbd-mirror: avoid potential deadlock

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agorbd-mirror: don't unregister asok commands if image replayer start failed 9024/head
Mykola Golub [Wed, 4 May 2016 12:23:11 +0000 (15:23 +0300)]
rbd-mirror: don't unregister asok commands if image replayer start failed

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agomon/Monitor: use CEPH_MON_PORT for CRC output 8924/head
xie xingguo [Wed, 4 May 2016 08:53:18 +0000 (16:53 +0800)]
mon/Monitor: use CEPH_MON_PORT for CRC output

The default monitor port will be changed from 6789 to 3300, which has
been assigned to us by IANA. So update this accordingly for better
tracing and understanding.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agomon/Monitor: fix memory leak
xie xingguo [Wed, 4 May 2016 07:03:55 +0000 (15:03 +0800)]
mon/Monitor: fix memory leak

Fixes: http://tracker.ceph.com/issues/15793
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agotest: add missing header dependency for MockJournaler 8921/head
Jason Dillaman [Mon, 9 May 2016 22:25:39 +0000 (18:25 -0400)]
test: add missing header dependency for MockJournaler

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8918 from ceph/wip-rgw-leak-3
Yehuda Sadeh [Mon, 9 May 2016 22:15:11 +0000 (15:15 -0700)]
Merge pull request #8918 from ceph/wip-rgw-leak-3

rgw: fix memory leaks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: RGWDataSyncStatusManager::finalize() cleanup 9014/head
Yehuda Sadeh [Mon, 9 May 2016 22:13:41 +0000 (15:13 -0700)]
rgw: RGWDataSyncStatusManager::finalize() cleanup

cleanup following code review

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #9012 from cbodley/wip-cmake-freelist
Ali Maredia [Mon, 9 May 2016 22:09:10 +0000 (18:09 -0400)]
Merge pull request #9012 from cbodley/wip-cmake-freelist

cmake: add missing FreelistManager sources

9 years agorgw: RGWHTTPClient requests can unregister themselves early 8918/head
Yehuda Sadeh [Thu, 5 May 2016 17:57:05 +0000 (10:57 -0700)]
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>
9 years agoMerge pull request #9013 from cbodley/wip-rgw-test-mtime
Yehuda Sadeh [Mon, 9 May 2016 21:37:48 +0000 (14:37 -0700)]
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>
9 years agorgw: move around sync_env.init()
Yehuda Sadeh [Thu, 5 May 2016 01:08:38 +0000 (18:08 -0700)]
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>
9 years agorgw: rados crs, explicit cleanup
Yehuda Sadeh [Tue, 3 May 2016 19:01:55 +0000 (12:01 -0700)]
rgw: rados crs, explicit cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: RGWHTTPManager, avoid referring to req_data->client when completing
Yehuda Sadeh [Tue, 3 May 2016 19:00:46 +0000 (12:00 -0700)]
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>
9 years agorgw: civetweb_callback() refer to store inside lock
Yehuda Sadeh [Tue, 3 May 2016 18:59:11 +0000 (11:59 -0700)]
rgw: civetweb_callback() refer to store inside lock

pe->store might change when reconfiguring

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: RGWPeriodPusher, stop http manager explicitly
Yehuda Sadeh [Tue, 3 May 2016 17:03:14 +0000 (10:03 -0700)]
rgw: RGWPeriodPusher, stop http manager explicitly

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: RGWHTTPManager, can call stop() more than once
Yehuda Sadeh [Tue, 3 May 2016 17:02:02 +0000 (10:02 -0700)]
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>
9 years agorgw: RGWReadRESTResourceCR, fix refcounting
Yehuda Sadeh [Tue, 3 May 2016 17:01:33 +0000 (10:01 -0700)]
rgw: RGWReadRESTResourceCR, fix refcounting

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: RGWReadRemoteDataLogShardCR fix destructor
Yehuda Sadeh [Tue, 3 May 2016 16:59:47 +0000 (09:59 -0700)]
rgw: RGWReadRemoteDataLogShardCR fix destructor

was missing destructor, constructor was broken

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: RGWDataSyncStatusManager, cleanup if failing init
Yehuda Sadeh [Tue, 3 May 2016 01:13:17 +0000 (18:13 -0700)]
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>
9 years agorgw: rest crs, explicitly call cleanup
Yehuda Sadeh [Fri, 29 Apr 2016 20:04:13 +0000 (13:04 -0700)]
rgw: rest crs, explicitly call cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: more leaks fixes
Yehuda Sadeh [Fri, 29 Apr 2016 00:03:21 +0000 (17:03 -0700)]
rgw: more leaks fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: drop a reference to http op
Yehuda Sadeh [Wed, 27 Apr 2016 23:39:36 +0000 (16:39 -0700)]
rgw: drop a reference to http op

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8766 from yehudasa/wip-15597
Yehuda Sadeh [Mon, 9 May 2016 21:23:50 +0000 (14:23 -0700)]
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>
9 years agorgw: code cleanup 8766/head
Yehuda Sadeh [Mon, 9 May 2016 21:23:03 +0000 (14:23 -0700)]
rgw: code cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8772 from yehudasa/wip-15625
Yehuda Sadeh [Mon, 9 May 2016 21:13:11 +0000 (14:13 -0700)]
Merge pull request #8772 from yehudasa/wip-15625

rgw: sync fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agotest/rgw: enable mtime comparison in check_object_eq() 9013/head
Casey Bodley [Wed, 27 Apr 2016 21:17:57 +0000 (17:17 -0400)]
test/rgw: enable mtime comparison in check_object_eq()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #8880 from cbodley/wip-rgw-zonegroup-remove
Yehuda Sadeh [Mon, 9 May 2016 21:05:53 +0000 (14:05 -0700)]
Merge pull request #8880 from cbodley/wip-rgw-zonegroup-remove

radosgw-admin: add missing 'zonegroup remove'

Reviewed-by: Yehuda Sadeh <yehudasa@gmail.com>
9 years agocmake: add missing FreelistManager sources 9012/head
Casey Bodley [Mon, 9 May 2016 20:57:14 +0000 (16:57 -0400)]
cmake: add missing FreelistManager sources

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw/s3website: Fix x-amz-website-redirect-location support. 8633/head
Robin H. Johnson [Sun, 17 Apr 2016 15:23:23 +0000 (08:23 -0700)]
rgw/s3website: Fix x-amz-website-redirect-location support.

Support for the x-amz-website-redirect-location header was broken in the
feature merging of Jewel, as it previously depended on the error handler to
redirect, which was overkill. Simplify it to work.

Backport: jewel
Fixes: http://tracker.ceph.com/issues/15531
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agoMerge pull request #8166 from kmroz/wip-rgw-rest-conn-use-vector
Casey Bodley [Mon, 9 May 2016 18:11:05 +0000 (14:11 -0400)]
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>
9 years agocommon/ShardedOpWQ: make timeout when calling WaitInterval configurabletest run http...
Yuri Weinstein [Mon, 9 May 2016 16:10:01 +0000 (09:10 -0700)]
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/

9 years agoMerge pull request #8810 from xiexingguo/xxg-wip-fixgotfullmap
Yuri Weinstein [Mon, 9 May 2016 16:09:26 +0000 (09:09 -0700)]
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/