]>
git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
Swami Reddy [Fri, 21 Apr 2017 15:08:04 +0000 (20:38 +0530)]
mailmap: Nathan Cutler name normalization
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Fri, 21 Apr 2017 14:48:59 +0000 (20:18 +0530)]
mailmap: Ian Colle affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:58:14 +0000 (18:28 +0530)]
mailmap: Kyr Shatskyy affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:56:30 +0000 (18:26 +0530)]
mailmap: haodong tang affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:54:32 +0000 (18:24 +0530)]
mailmap: craigchi affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:52:52 +0000 (18:22 +0530)]
mailmap: Enming Zhang affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:49:07 +0000 (18:19 +0530)]
mailmap: Saumay Agrawal affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:46:33 +0000 (18:16 +0530)]
mailmap: Tahia Khan affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:45:15 +0000 (18:15 +0530)]
mailmap: Taeksang Kim affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:40:19 +0000 (18:10 +0530)]
mailmap: hechuang affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:38:19 +0000 (18:08 +0530)]
mailmap: Tang Wenjun affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:24:36 +0000 (17:54 +0530)]
mailmap: Jos Collin affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:22:48 +0000 (17:52 +0530)]
mailmap: Guillaume Abrioux affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:21:06 +0000 (17:51 +0530)]
mailmap: Nikita Gerasimov affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:19:27 +0000 (17:49 +0530)]
mailmap: DanielBar-On affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:14:44 +0000 (17:44 +0530)]
mailmap: wei xiao affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:12:39 +0000 (17:42 +0530)]
mailmap: Ziye Yang affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 12:09:56 +0000 (17:39 +0530)]
mailmap: Michael Eischer affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 11:57:47 +0000 (17:27 +0530)]
mailmap: Edwin F Boza affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 11:54:52 +0000 (17:24 +0530)]
mailmap: Shasha Lu affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 11:52:10 +0000 (17:22 +0530)]
mailmap: Chu Hua-Rong affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Swami Reddy [Wed, 12 Apr 2017 11:45:57 +0000 (17:15 +0530)]
mailmap: Lihongjie affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Haomai Wang [Sun, 2 Apr 2017 20:28:56 +0000 (04:28 +0800)]
Merge pull request #14288 from Adirl/small_leaks
msg/async/rdma: Fix small memory leaks detected by valgrind
Reviewed-by: Haomai Wang <haomai@xsky.com>
Amir Vadai [Sun, 26 Mar 2017 10:24:19 +0000 (13:24 +0300)]
msg/async/rdma: Fix small memory leaks detected by valgrind
Issue: 995322
Change-Id: Iccffbd0defd09aa51c4b51b78733921444ea1c5f
Signed-off-by: Amir Vadai <amir@vadai.me>
Kefu Chai [Sun, 2 Apr 2017 04:53:29 +0000 (12:53 +0800)]
Merge pull request #14170 from liewegas/wip-fewer-warnings
common/ceph_context: fewer warnings about experimental features
Reviewed-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Sat, 1 Apr 2017 22:59:38 +0000 (08:59 +1000)]
Merge pull request #14271 from joscollin/wip-krbd-warning
rbd: warning, ‘devno’ may be used uninitialized in this function
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sat, 1 Apr 2017 17:44:03 +0000 (01:44 +0800)]
Merge pull request #13909 from kestrels/wip-19217
crc32c: Add crc32c function optimized for ppc architecture
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 1 Apr 2017 17:41:50 +0000 (01:41 +0800)]
Merge pull request #14124 from Fabian-Gruenbichler/ipv6_fix
common: fix segfault in public IPv6 addr picking
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 1 Apr 2017 17:40:30 +0000 (01:40 +0800)]
Merge pull request #14173 from badone/wip-do_request-abort
common: Fix heap buffer overflow in do_request
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 1 Apr 2017 17:39:46 +0000 (01:39 +0800)]
Merge pull request #14193 from liupan1111/wip-fix-delete-full
librados: set the flag CEPH_OSD_FLAG_FULL_TRY of Op in the right place.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 1 Apr 2017 17:38:13 +0000 (01:38 +0800)]
Merge pull request #14248 from badone/wip-simple_spin_lock-delay
common: Make spinlock delay more conventional
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 1 Apr 2017 17:37:31 +0000 (01:37 +0800)]
Merge pull request #13690 from jcsp/wip-17503
mgr: pass through cluster log to plugins
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Orit Wasserman [Sat, 1 Apr 2017 06:48:46 +0000 (09:48 +0300)]
Merge pull request #14276 from atheism/rgw-rgwop-remove-unused-iter
rgw: rgw_op: remove unused variable iter
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Weibing Zhang [Sat, 1 Apr 2017 03:52:59 +0000 (11:52 +0800)]
rgw: rgw_op: remove unused variable iter
The variable iter is not used in RGWInitMultipart::execute().
Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
Sage Weil [Sat, 1 Apr 2017 01:54:22 +0000 (20:54 -0500)]
Merge pull request #13811 from rzarzynski/wip-bs-bitmap-mem-cleanup
os/bluestore: memory and dereference clean-up in the BitAllocator
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 1 Apr 2017 01:54:07 +0000 (20:54 -0500)]
Merge pull request #14121 from majianpeng/bluefs-get-allocated
os/bluestore/BlueFS: optimize get_allocated
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 1 Apr 2017 01:53:57 +0000 (20:53 -0500)]
Merge pull request #14162 from majianpeng/optimize-bluestore-force-flush
os/bluestore: clean up flush logic
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 1 Apr 2017 01:52:59 +0000 (20:52 -0500)]
Merge pull request #14225 from ivancich/wip_fix_throttle_config_change
os/bluestore: make live changes for BlueStore throttle config work like initial config
Reviewed-by: Sage Weil <sage@redhat.com>
vasukulkarni [Fri, 31 Mar 2017 16:15:53 +0000 (09:15 -0700)]
Merge pull request #14229 from ceph/wip-systemd
qa: Add reboot case for systemd test
John Spray [Fri, 31 Mar 2017 16:15:30 +0000 (17:15 +0100)]
Merge pull request #14254 from idryomov/wip-vstart-runner-ps
qa/vstart_runner: amend ps invocation
Reviewed-by: John Spray <john.spray@redhat.com>
vasukulkarni [Fri, 31 Mar 2017 16:15:21 +0000 (09:15 -0700)]
Merge pull request #14226 from ceph/preset-mon
systemd: remove ceph-create-keys from presets
Sage Weil [Fri, 31 Mar 2017 15:58:56 +0000 (10:58 -0500)]
Merge pull request #14266 from tchaikov/wip-require-mgr-for-pg-dump
tests: add MGR=1 so 'pg dump' won't be blocked
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 31 Mar 2017 15:52:53 +0000 (10:52 -0500)]
Merge pull request #14259 from johnwilkins/wip-doc-multisite
doc: wip-doc-multisite ports downstream multisite document upstream.
Jos Collin [Fri, 31 Mar 2017 14:31:23 +0000 (20:01 +0530)]
rbd: warning, ‘devno’ may be used uninitialized in this function
The following warning appears during make. Fixed in both unmap_image() functions in krbd.cc
--
krbd.cc: In function ‘int krbd_unmap_by_spec(krbd_ctx*, const char*, const char*, const char*, const char*)’:
krbd.cc:608:65: warning: ‘devno’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return do_unmap(ctx->udev, devno, build_unmap_buf(id, options));
^
krbd.cc:591:9: note: ‘devno’ was declared here
dev_t devno;
--
Signed-off-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Fri, 31 Mar 2017 10:32:41 +0000 (18:32 +0800)]
osd/OSDMap: use _pg_to_up_acting_osds() to get_pg_acting_primary()
avoid unnecessary swap() call of vector<int> which will be dropped on
the floor after getting its first element, which can be retrieved using
another parameter using _pg_to_up_acting_osds() directly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 31 Mar 2017 10:30:53 +0000 (18:30 +0800)]
mgr: use OSDMap::get_pg_acting_primary() to get the primary
OSDMap::pg_to_acting_osds() assumes that the "acting" parameter is not
null.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 31 Mar 2017 06:26:09 +0000 (14:26 +0800)]
tests: add MGR=1 so 'pg dump' won't be blocked
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 31 Mar 2017 05:17:46 +0000 (13:17 +0800)]
Merge pull request #14260 from dmick/wip-workunit-clone-with-branch
workunit: request branch when cloning
Reviewed-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Thu, 30 Mar 2017 06:50:32 +0000 (16:50 +1000)]
common: Make spinlock delay more conventional
The accepted method of implementing a spinlock delay is the "pause"
instruction.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Thu, 30 Mar 2017 04:37:01 +0000 (12:37 +0800)]
tasks/workunit.py: specify the branch name when cloning a branch
c1309fb failed to specify a branch when cloning using --depth=1, which
by default clones the HEAD. and we can not "git checkout" a specific
sha1 if it is not HEAD, after cloning using '--depth=1', so in this
change, we dispatch "tag", "branch", "HEAD" using three Refspec classes.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Sage Weil [Thu, 30 Mar 2017 22:23:09 +0000 (17:23 -0500)]
Merge pull request #14219 from ShiqiCooperation/master
os/bluestore: clean up Invalid return value judgment
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Mar 2017 22:21:55 +0000 (17:21 -0500)]
Merge pull request #14228 from ifed01/wip-bluestore-fix-store-test
test/store_test: fix bluestore test cases disablement
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Thu, 30 Mar 2017 22:12:00 +0000 (17:12 -0500)]
Merge pull request #13617 from liewegas/wip-mgr-commands
mon,mgr: tag some commands for ceph-mgr
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 30 Mar 2017 16:42:31 +0000 (12:42 -0400)]
mon/ConfigKeyService: wait for quorum
Among other things, this prevents a mgr activation stall if it
happens to request config-keys from a mon that is out of
quorum.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Mar 2017 16:31:35 +0000 (12:31 -0400)]
mon/MgrMonitor: show delta
This is mostly because I couldn't debug a weird state where
it kept updating but it appeared the addr was not changing
(always '-').
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Mar 2017 16:19:41 +0000 (12:19 -0400)]
mon/MgrMap: implement dump, add to ceph-dencoder
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Mar 2017 16:06:43 +0000 (12:06 -0400)]
mon/MgrMonitor: print MgrMap to log on each change
The other services do this.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Mar 2017 14:40:23 +0000 (10:40 -0400)]
mon/MgrMonitor: health warn/err if no active mgr
Start warning once mons are luminous; start erroring once
require_luminous is set in osdmap. Allow a grace period for
mgr to restart or standby to take over before we turn a warning
into an error.
Signed-off-by: Sage Weil <sage@redhat.com>
John Wilkins [Thu, 30 Mar 2017 21:54:42 +0000 (14:54 -0700)]
Ported the downstream (and tested) document upstream.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
John Wilkins [Thu, 30 Mar 2017 21:53:49 +0000 (14:53 -0700)]
Clarified index.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
John Wilkins [Thu, 30 Mar 2017 21:07:07 +0000 (14:07 -0700)]
doc: Added a new version of the multi-site graphic.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
Orit Wasserman [Thu, 30 Mar 2017 17:44:12 +0000 (20:44 +0300)]
Merge pull request #14183 from joscollin/wip-rgw-cleanup-removeunwantedheaders
rgw: Removed Unwanted headers
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Thu, 30 Mar 2017 17:43:37 +0000 (10:43 -0700)]
Merge pull request #14194 from joscollin/wip-rgw_rados-warning
rgw: warning, output may be truncated before the last format character
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Ilya Dryomov [Thu, 30 Mar 2017 16:59:08 +0000 (18:59 +0200)]
qa/vstart_runner: amend ps invocation
"ps -xwwu<id>" is parsed as BSD, because -x is not a UNIX option.
"u" is a BSD option for user-oriented format, so the <id> ends up being
parsed as an old-style "select by pid". The only reason this command
doesn't dump other user's processes is that the BSD "only yourself"
restriction is in effect.
I'm not sure what's wrong with a simple "ps xww", but if we want to
select by euid, let's do it right.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Mykola Golub [Thu, 30 Mar 2017 17:24:03 +0000 (20:24 +0300)]
Merge pull request #14253 from liupan1111/wip-remove-debug-message
rbd-nbd: remove debug messages from do_unmap
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Kefu Chai [Thu, 30 Mar 2017 16:35:45 +0000 (00:35 +0800)]
Merge pull request #13999 from tchaikov/wip-extract-creating-pgs
mon,osd: decouple creating pgs from pgmap
Reviewed-by: Sage Weil <sage@redhat.com>
Pan Liu [Thu, 30 Mar 2017 16:23:12 +0000 (00:23 +0800)]
rbd-nbd: remove debug message from do_unmap
Global context is not initialized when do_unmap is called.
Signed-off-by: Pan Liu <liupan1111@gmail.com>
Kefu Chai [Wed, 29 Mar 2017 08:34:26 +0000 (16:34 +0800)]
tools/ceph-objectstore-tool: always set first_committed
otherwise the workaround of
7fb3804fb is triggered. we need to remove
that workaround later on.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 27 Mar 2017 03:12:09 +0000 (11:12 +0800)]
mon: switch to osdmon when handling osd_pg_creates subs
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 26 Mar 2017 04:12:43 +0000 (12:12 +0800)]
mon/OSDMonitor: avoid search and lookup anti-pattern
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 26 Mar 2017 04:05:12 +0000 (12:05 +0800)]
mon/OSDMonitor: pass by reference not pointer of const param
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 14 Mar 2017 12:03:59 +0000 (20:03 +0800)]
mon/OSDMonitor: switch to the new creating_pgs
* prime_pg_temp(): switch to the new creating_pgs
* get_trim_to(): switch to the new creating_pgs
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 13 Mar 2017 07:50:17 +0000 (15:50 +0800)]
mon: handle MOSDPGCreated messages
MOSDPGCreated messages are used to prune the creating_pgs_by_osd_epoch
and creating_pgs, by updating created_pools. as once a pool is created
we will not send MOSDPGCreate to its acting_primary OSD anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 13 Mar 2017 07:13:03 +0000 (15:13 +0800)]
osd: send pg-created message if any pg is newly created
add an option named "osd_created_report_interval" to specify the
interval to check and send the "pg_created" mesages to mon
because pg could update its state when it is still in the pg_stat_queue,
for example, to change its state to PG_STATE_CLEAN, we cannot tell if we
have sent a "pg-created" message for it or not without introducing a new
member variable in PG.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 11 Mar 2017 14:50:50 +0000 (22:50 +0800)]
messages/MPGCreated: add MPGCreated
add a new message type MPGCreated. osd is supposed to send this message
to monitor to inform that any pg(s) is created and activated.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 9 Mar 2017 04:08:29 +0000 (12:08 +0800)]
mon/OSDMonitor: add send_pg_create() to OSDMonitor
OSDMonitor will handle the pg-create subscriptions after luminous.
1. scan new pools to get the pgs to be created
2. send pg creates using the collected pgs
3. trim the creating_pgs using the "created!" messages from OSD.
please note that we need to wait for the OSDMonitor::mapping to be fully
populated, so we cannot scan the incrementa map for creating pgs until
it is applied and accepted by other monitors.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 28 Mar 2017 03:29:20 +0000 (11:29 +0800)]
mon: acquire lock when accessing mon->session_map
we will access the mon->session_map for sending the osd-pg-creates
messages when finishing osdmapping in OSDMonitor, this could happen in
another thread without the protection of Monitor::lock, or in the same
thread already guarded by Monitor::lock. so instead of changing
Monitor::lock to a recursive lock, a new lock is introduced to protect
session_map.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 19 Mar 2017 06:02:15 +0000 (14:02 +0800)]
mon/OSDMonitor: run mapping on peons also
otherwise subcriptions on peons won't get the creating_pgs notification
mapping updated. we want to send the notification from peons also. and
the notifications should be updated with the updated pg mapping.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 16 Mar 2017 09:43:19 +0000 (17:43 +0800)]
mon/OSDMonitor: mapping is not optional anymore
as pg_creatings needs mapping to get the acting_primary osd of the
creating pg, so we can send the pg-create message to it if it subscribes
to this information, mapping should always be available now.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 9 Mar 2017 08:25:59 +0000 (16:25 +0800)]
mon: dispatch osd_beacon message to OSDMonitor
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 11 Mar 2017 09:51:13 +0000 (17:51 +0800)]
osd: send osd-beacon to mon periodically
add an option named "osd_beacon_report_interval" to specify the interval
to send osd-beacon.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 10 Mar 2017 17:27:59 +0000 (01:27 +0800)]
messages/MOSDBeacon: add beacon msg
osd will send beacon message to monitor periodically to inform it that
"i am still alive!", previously, monitor use the pg-stats to check the
status of OSD, but since osd will only send pg stat to mgr after
luminous, we use a dedicated msg for this purpose.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 9 Mar 2017 02:27:43 +0000 (10:27 +0800)]
mon/OSDMonitor: s/check_sub/check_osdmap_sub/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 9 Mar 2017 14:14:41 +0000 (22:14 +0800)]
mon/OSDMonitor: update comment in update_from_paxos()
this change updates the comment for
7fb3804fb ,
97462a3 and
e807770 ,
to reflect the reason why we need to fix latest_full in current code.
as the fix is not a workaround for cuttlefish anymore, it resolves the
issue where
0. mon.c has a latest_full of 5
1. mon.c is shutdown and out of sync with the quorum
2. mon.c starts sync
3. mon.c now has osdmap[31..50], and the latest_full is still 5.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 6 Mar 2017 06:01:51 +0000 (14:01 +0800)]
mon/PGMonitor: remove unused variable
last_pg_scan is not used in PGMonitor::update_from_paxos(), so remove
it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 6 Mar 2017 02:31:07 +0000 (10:31 +0800)]
mon/PGmonitor: remove unused last_sent_pg_create
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 24 Feb 2017 12:38:03 +0000 (20:38 +0800)]
mon: pass const variables by const ref not pointer
* PGMapUpdater::check_down_pgs(): pass a const reference to pgmap
instead of a pointer
* PGMapUpdater::register_new_pgs(): pass a const reference to pgmap
instead of a pointer
Signed-off-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Thu, 30 Mar 2017 10:37:39 +0000 (18:37 +0800)]
Merge pull request #14250 from Adirl/fix_last_poll_dev
msg/async/rdma: Device::last_poll_dev must be positive
Reviewed-by: Haomai Wang <haomai@xsky.com>
Amir Vadai [Sun, 26 Mar 2017 10:24:19 +0000 (13:24 +0300)]
msg/async/rdma: Device::last_poll_dev must be positive
Make Device::last_poll_dev `unsigned` - it could overlap and should not
be negative.
Also, add missing initialization.
Change-Id: I558f02292ae4f5d1ce48d9bcda5047d382604237
Signed-off-by: Amir Vadai <amir@vadai.me>
Haomai Wang [Thu, 30 Mar 2017 09:40:49 +0000 (17:40 +0800)]
Merge pull request #14249 from Adirl/rdma-cm-4_1
msg/async/rdma: Debug prints for ibv_*
Reviewed-by: Haomai Wang <haomai@xsky.com>
Amir Vadai [Tue, 31 Jan 2017 08:05:15 +0000 (10:05 +0200)]
msg/async/rdma: Debug prints for ibv_*
Setting RDMA_DEBUG to 1, will enable debug prints for every ibv_*
function called.
This makes it easier to debug RDMA issues.
Issue: 995322
Change-Id: I49d327d5d4386b44264f5619d50f2dbc7d76dcae
Signed-off-by: Amir Vadai <amir@vadai.me>
Sébastien Han [Thu, 30 Mar 2017 07:32:31 +0000 (09:32 +0200)]
systemd: remove all occurence of ceph-create-keys
ceph-create-keys unit file does not exist anymore so there is no need to
call it.
Signed-off-by: Sébastien Han <seb@redhat.com>
shiqi [Wed, 29 Mar 2017 06:33:55 +0000 (14:33 +0800)]
os/bluestore: clean up Invalid return value judgment
Signed-off-by: shiqi <1454927420@qq.com>
Haomai Wang [Thu, 30 Mar 2017 05:21:36 +0000 (13:21 +0800)]
Merge pull request #14245 from tchaikov/wip-revert-14201
Revert "msg/async/rdma: Debug prints for ibv_*"
Kefu Chai [Thu, 30 Mar 2017 04:57:58 +0000 (12:57 +0800)]
Revert "msg/async/rdma: Debug prints for ibv_*"
This reverts commit
7d1475f6274531988854cf62f6056f9cfd13ff29 .
Signed-off-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Thu, 30 Mar 2017 00:00:40 +0000 (08:00 +0800)]
Merge pull request #14201 from Adirl/rdma-cm-4
msg/async/rdma: Introduce RDMAConnMgr + Debug prints
Reviewed-by: Haomai Wang <haomai@xsky.com>
Dan Mick [Wed, 29 Mar 2017 18:36:05 +0000 (11:36 -0700)]
Merge pull request #14214 from dmick/wip-workunit-shallow-clone
tasks/workunit.py: when cloning, use --depth=1
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Wed, 29 Mar 2017 17:33:49 +0000 (13:33 -0400)]
Merge pull request #14202 from tchaikov/wip-cast-size_t-arm32
rbd: use min<uint64_t>() explicitly
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Vasu Kulkarni [Wed, 29 Mar 2017 16:56:11 +0000 (09:56 -0700)]
Fix distro's, point to latest version
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Wed, 29 Mar 2017 16:27:20 +0000 (09:27 -0700)]
Add reboot case for systemd test
test systemd units restart after reboot
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>