]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Yehuda Sadeh [Tue, 10 May 2016 23:24:30 +0000 (16:24 -0700)]
Revert "rgw: RGWDataSyncStatusManager::finalize() cleanup"
This reverts commit
365e8334b4d376ba2d57c2d7d904462fdcc35059 .
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Yehuda Sadeh [Mon, 9 May 2016 21:23:03 +0000 (14:23 -0700)]
rgw: code cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
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>
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>
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>
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>
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>
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>
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/
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/
Yuri Weinstein [Mon, 9 May 2016 16:09:13 +0000 (09:09 -0700)]
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/
Yuri Weinstein [Mon, 9 May 2016 16:08:39 +0000 (09:08 -0700)]
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/
Yuri Weinstein [Mon, 9 May 2016 16:07:19 +0000 (09:07 -0700)]
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/
Yuri Weinstein [Mon, 9 May 2016 16:06:31 +0000 (09:06 -0700)]
Merge pull request #8953 from xiexingguo/xxg-wip-prettydump
mon/PGMap: pretty output for "pg dump osds" command
Sage Weil [Mon, 9 May 2016 15:53:05 +0000 (11:53 -0400)]
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>
Venky Shankar [Thu, 5 May 2016 09:58:16 +0000 (15:28 +0530)]
rbd: helpful error message on map failure
Failure to map an rbd image provides pretty much nothing to
debug (or rectify) the nature of failure. This change tries
to improve the same by providing helpful error messages (by
pointing to dmesg, etc..).
Fixes: http://tracker.ceph.com/issues/15721
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Casey Bodley [Mon, 9 May 2016 15:25:32 +0000 (11:25 -0400)]
Merge pull request #8981 from ceph/wip-rgw-test-fix
test/rgw: fix bucket checkpoint
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Mon, 9 May 2016 15:22:48 +0000 (11:22 -0400)]
journal: incorrectly computed object offset within set
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Mon, 9 May 2016 14:38:07 +0000 (22:38 +0800)]
Merge pull request #8786 from tchaikov/wip-btrfs-sudo
test: sudo to rm btrfs subvol
Reviewed-by: Erwan Velu <erwan@redhat.com>
Orit Wasserman [Mon, 9 May 2016 14:36:43 +0000 (16:36 +0200)]
Merge pull request #8994 from theanalyst/fix/15776
rgw: log name instead of id for SystemMetaObj on failure
Sage Weil [Mon, 9 May 2016 13:51:19 +0000 (09:51 -0400)]
Merge pull request #8919 from stiopaa1/log_moveToPrivateOsdService
osd/OSD.h: change some data members to private
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 13:50:46 +0000 (09:50 -0400)]
Merge pull request #8989 from flyd1005/wip-fix-python-warnings
cleanup: python: remove warnings of 'trailing whitespace' and 'new blank line at EOF'
Sage Weil [Mon, 9 May 2016 13:49:54 +0000 (09:49 -0400)]
Merge pull request #8992 from runsisi/wip-fix-dup-keygen
cls_journal: remove duplicated key generation
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 13:48:52 +0000 (09:48 -0400)]
Merge pull request #8991 from emenguy/doc_test-reweight-by-utilization
doc: adding test-reweight-by-utilization documentation
Sage Weil [Mon, 9 May 2016 13:38:12 +0000 (09:38 -0400)]
Merge pull request #8984 from stiopaa1/osd_removeUnorderedSet
osd/OSD.h: remove unneeded include file
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 13:15:24 +0000 (09:15 -0400)]
Merge pull request #8097 from aclamk/crushtool-pool-id
crushtool: add ability of precise testing of placement group calculation.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 13:14:55 +0000 (09:14 -0400)]
Merge pull request #8832 from stiopaa1/log_graylogmove
common/Graylog.cc: use std move to avoid copy
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 9 May 2016 13:14:10 +0000 (09:14 -0400)]
Merge pull request #8920 from XinzeChi/wip-race-shutdown
osd: fix deadlock in OSD::_committed_osd_maps
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 13:13:26 +0000 (09:13 -0400)]
Merge pull request #8922 from runsisi/wip-fix-lockdep-assert
lockdep: fix assertion expression if ran out of lock ids
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Mon, 9 May 2016 13:12:49 +0000 (09:12 -0400)]
Merge pull request #8967 from liewegas/wip-15760
osdc/Objecter: upper bound watch_check result
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Mon, 9 May 2016 12:59:05 +0000 (08:59 -0400)]
Merge pull request #8357 from liewegas/wip-osd-prestart
osd: update crush_location from ceph-osd on startup
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 9 May 2016 12:58:33 +0000 (08:58 -0400)]
Merge pull request #8194 from tanghaodong25/fix_4
os/bluestore/KernelDevice.cc: small fix in buffer flush
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Mon, 9 May 2016 12:57:51 +0000 (08:57 -0400)]
Merge pull request #8349 from Aran85/prepare_entry_cleanup
os/filestore: prepare entry cleanup
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 28 Apr 2016 14:09:29 +0000 (10:09 -0400)]
osd: create osd id if it does not exist
Most tools create the osd id before trying to start ceph-osd. Notably,
teuthology does not. We could fix that, but we would be changing behavior,
as the osd boot will happily create the osd id on the fly for us. Other
provisioning tools might rely on that behavior. Instead, just allocate
the id sooner in the process (if necessary).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Apr 2016 15:12:38 +0000 (11:12 -0400)]
osd: change osd_crush_initial_weight = 0 to mean weight to 0
Negative now means auto-weight, 0 means weight to 0. Change the
default accordingly.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Apr 2016 15:07:05 +0000 (11:07 -0400)]
osd: update crush_location on startup from ceph-osd
Update the crush location from ceph-osd instead of relying on
kludgey bash in ceph-osd-prestart.sh. Among other things, this
lets us get accurate statfs information from the ObjectStore
implementation instead of relying on 'df'.
Fixes: http://tracker.ceph.com/issues/15213
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 29 Mar 2016 16:50:22 +0000 (12:50 -0400)]
osdc/Objecter: use cct's crush_location
Keep the observer so that we refresh our copy of the multimap.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 29 Mar 2016 16:50:03 +0000 (12:50 -0400)]
global: init crush_location on daemon start
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 29 Mar 2016 16:49:36 +0000 (12:49 -0400)]
common/ceph_context: add CrushLocation to cct
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 29 Mar 2016 16:49:16 +0000 (12:49 -0400)]
crush/CrushLocation: add class to manage crush_location
The crush_location can come from an explicitly set config,
a hook, or a simple fabricated default (root=default host=...).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 May 2016 12:52:56 +0000 (08:52 -0400)]
Merge pull request #8684 from vuhuong/wip-radosaio-copyout-data-xio
librados: copy out data to users' buffer for xio
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>