]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomailmap: Yao Zongyou affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:53:04 +0000 (18:53 +0200)]
mailmap: Yao Zongyou affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Patrick Dinnen affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:52:46 +0000 (18:52 +0200)]
mailmap: Patrick Dinnen affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Henrik Korkuc affiliation
Abhishek Lekshmanan [Mon, 12 Jun 2017 11:16:48 +0000 (13:16 +0200)]
mailmap: Henrik Korkuc affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Sven Seeberg affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:52:05 +0000 (18:52 +0200)]
mailmap: Sven Seeberg affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Mohamad Gebai affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:51:45 +0000 (18:51 +0200)]
mailmap: Mohamad Gebai affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Fabian Grünbichler affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:51:17 +0000 (18:51 +0200)]
mailmap: Fabian Grünbichler affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Vedant Nanda affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:50:33 +0000 (18:50 +0200)]
mailmap: Vedant Nanda affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Andrew Solomon affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:50:09 +0000 (18:50 +0200)]
mailmap: Andrew Solomon affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Yu Shengzuo affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:49:49 +0000 (18:49 +0200)]
mailmap: Yu Shengzuo affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Yanchun Bai affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:49:31 +0000 (18:49 +0200)]
mailmap: Yanchun Bai affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Tone Zhang affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:48:43 +0000 (18:48 +0200)]
mailmap: Tone Zhang affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Liu Hong affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:47:40 +0000 (18:47 +0200)]
mailmap: Liu Hong affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Liu Hong affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:46:51 +0000 (18:46 +0200)]
mailmap: Liu Hong affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Li Hongjie name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:46:06 +0000 (18:46 +0200)]
mailmap: Li Hongjie name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Josh Durgin name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:45:14 +0000 (18:45 +0200)]
mailmap: Josh Durgin name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Jesse Williamson name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:44:32 +0000 (18:44 +0200)]
mailmap: Jesse Williamson name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Hongtong Liu name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:44:05 +0000 (18:44 +0200)]
mailmap: Hongtong Liu name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: He Chuang affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:43:32 +0000 (18:43 +0200)]
mailmap: He Chuang affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Chu Hua-Rong name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:40:50 +0000 (18:40 +0200)]
mailmap: Chu Hua-Rong name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #15570 from joscollin/wip-cleanup-testmsgr-warning
Jos Collin [Fri, 9 Jun 2017 07:00:35 +0000 (12:30 +0530)]
Merge pull request #15570 from joscollin/wip-cleanup-testmsgr-warning

test/msgr: silence warnings from -Wsign-compare

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
8 years agoMerge pull request #15100 from kestrels/wip-crc32c-fastzero2
Sage Weil [Fri, 9 Jun 2017 01:39:59 +0000 (20:39 -0500)]
Merge pull request #15100 from kestrels/wip-crc32c-fastzero2

crc32c: Add ppc64le fast zero optimized assembly.

Reviewed-By: Piotr Dałek <piotr.dalek@corp.ovh.com>
8 years agoMerge pull request #15387 from jecluis/wip-20123
Sage Weil [Fri, 9 Jun 2017 01:39:33 +0000 (20:39 -0500)]
Merge pull request #15387 from jecluis/wip-20123

mon/PGMap: show %used in formatted output

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15508 from tchaikov/wip-ceph.in-cleanup
Sage Weil [Fri, 9 Jun 2017 01:39:15 +0000 (20:39 -0500)]
Merge pull request #15508 from tchaikov/wip-ceph.in-cleanup

ceph.in: drop the compatiiblity to handle non json commands

8 years agoMerge pull request #15560 from dmick/master
Sage Weil [Fri, 9 Jun 2017 01:38:58 +0000 (20:38 -0500)]
Merge pull request #15560 from dmick/master

mgr/DaemonServer.cc: log daemon type string as well as id

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15562 from tchaikov/wip-no-assert.h
Sage Weil [Fri, 9 Jun 2017 01:38:23 +0000 (20:38 -0500)]
Merge pull request #15562 from tchaikov/wip-no-assert.h

common,osdc: remove atomic_t completely

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15567 from Fabian-Gruenbichler/pull/logrotatesync
Sage Weil [Fri, 9 Jun 2017 01:38:08 +0000 (20:38 -0500)]
Merge pull request #15567 from Fabian-Gruenbichler/pull/logrotatesync

debian: sync logrotate packaging with downstream

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15578 from jcsp/wip-mgr-cleanup
Sage Weil [Fri, 9 Jun 2017 01:37:53 +0000 (20:37 -0500)]
Merge pull request #15578 from jcsp/wip-mgr-cleanup

mgr: cleanup, stop clients sending in perf counters

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15582 from liewegas/wip-20226
Sage Weil [Fri, 9 Jun 2017 01:37:27 +0000 (20:37 -0500)]
Merge pull request #15582 from liewegas/wip-20226

osd: take PGRef for recovery sleep wakeup event

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15405 from liewegas/wip-rest-test
Sage Weil [Thu, 8 Jun 2017 22:07:22 +0000 (17:07 -0500)]
Merge pull request #15405 from liewegas/wip-rest-test

pybind/mgr/restful: improve cert handling; work with vstart

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agodebian/control: Build-Depends on python-pecan 15405/head
Sage Weil [Thu, 8 Jun 2017 17:49:30 +0000 (13:49 -0400)]
debian/control: Build-Depends on python-pecan

This is needed for make check (so that restful mgr module can load).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15557 from liewegas/wip-mgr-respawn
Sage Weil [Thu, 8 Jun 2017 20:45:52 +0000 (15:45 -0500)]
Merge pull request #15557 from liewegas/wip-mgr-respawn

mgr/MgrStandby: respawn when deactivated

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15301 from shashalu/rgw-ssl
Casey Bodley [Thu, 8 Jun 2017 20:01:47 +0000 (16:01 -0400)]
Merge pull request #15301 from shashalu/rgw-ssl

rgw: add "rgw_verify_ssl" config

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15257 from shashalu/fix-rgw-admin-retcode
Casey Bodley [Thu, 8 Jun 2017 20:00:02 +0000 (16:00 -0400)]
Merge pull request #15257 from shashalu/fix-rgw-admin-retcode

rgw: fix radosgw-admin retcode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14950 from fangyuxiangGL/set-obj-accounted-size
Casey Bodley [Thu, 8 Jun 2017 19:59:20 +0000 (15:59 -0400)]
Merge pull request #14950 from fangyuxiangGL/set-obj-accounted-size

rgw: set object accounted size correctly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agomgr/Mgr: fix deadlock in load_config
Sage Weil [Mon, 5 Jun 2017 20:15:43 +0000 (16:15 -0400)]
mgr/Mgr: fix deadlock in load_config

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/dashboard: get_localized_config for server_{addr,port}
Sage Weil [Mon, 5 Jun 2017 19:43:18 +0000 (15:43 -0400)]
pybind/mgr/dashboard: get_localized_config for server_{addr,port}

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/rest/test_mgr_rest_api.py: improvements
Sage Weil [Thu, 1 Jun 2017 14:34:06 +0000 (10:34 -0400)]
qa/workunits/rest/test_mgr_rest_api.py: improvements

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: store each key+pass in a separate key
Sage Weil [Fri, 2 Jun 2017 14:25:00 +0000 (10:25 -0400)]
pybind/mgr/restful: store each key+pass in a separate key

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: prefix commands with 'restful'
Sage Weil [Fri, 2 Jun 2017 14:31:41 +0000 (10:31 -0400)]
pybind/mgr/restful: prefix commands with 'restful'

And use - instead of _, following the ceph convention.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr: add get_config_prefix
Sage Weil [Fri, 2 Jun 2017 14:24:39 +0000 (10:24 -0400)]
mgr: add get_config_prefix

Fetch a dict of all config options with a given prefix.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: localize key/crt keys
Sage Weil [Fri, 2 Jun 2017 14:05:54 +0000 (10:05 -0400)]
pybind/mgr/restful: localize key/crt keys

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr/PyState: add get_mgr_id() to module interface
Sage Weil [Fri, 2 Jun 2017 14:05:08 +0000 (10:05 -0400)]
mgr/PyState: add get_mgr_id() to module interface

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr/PyModules: prefix by mgr/, not mgr/$id/
Sage Weil [Fri, 2 Jun 2017 13:50:18 +0000 (09:50 -0400)]
mgr/PyModules: prefix by mgr/, not mgr/$id/

If modules want per-instance state, they can include
the mgr id in their portion of the key name.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/ConfigKeyService: more useful status message
Sage Weil [Thu, 1 Jun 2017 20:33:42 +0000 (16:33 -0400)]
mon/ConfigKeyService: more useful status message

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: start up mgr restful API
Sage Weil [Thu, 1 Jun 2017 04:06:24 +0000 (00:06 -0400)]
vstart.sh: start up mgr restful API

We try to stagger the ports that mgr modules bind to so that
concurrent vstart instances can run with consecutive ports but
the services will not collide.  Yes, this is awkward.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: all crt/key or filename in config-key
Sage Weil [Thu, 1 Jun 2017 04:05:09 +0000 (00:05 -0400)]
pybind/mgr/restful: all crt/key or filename in config-key

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph.spec.in: add python-pecan as BuildDepends too
Sage Weil [Thu, 1 Jun 2017 03:29:11 +0000 (23:29 -0400)]
ceph.spec.in: add python-pecan as BuildDepends too

For install-deps.sh's benefit.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: load 'restful' (not 'rest') mgr module
Sage Weil [Thu, 1 Jun 2017 03:23:24 +0000 (23:23 -0400)]
vstart.sh: load 'restful' (not 'rest') mgr module

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/vstart_wrapper.sh: fix MGR_PYTHON_PATH
Sage Weil [Fri, 2 Jun 2017 03:05:17 +0000 (23:05 -0400)]
test/vstart_wrapper.sh: fix MGR_PYTHON_PATH

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: start mgr dashboard, echo URL(s)
Sage Weil [Tue, 23 May 2017 19:06:49 +0000 (15:06 -0400)]
vstart.sh: start mgr dashboard, echo URL(s)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15507 from zhangsw/fix-rgw-logtrim-bug
Yehuda Sadeh [Thu, 8 Jun 2017 18:26:44 +0000 (11:26 -0700)]
Merge pull request #15507 from zhangsw/fix-rgw-logtrim-bug

rgw: datalog trim and mdlog trim handles the result returned by osd incorrectly.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15102 from majianpeng/blockdevice-pmem
Sage Weil [Thu, 8 Jun 2017 18:15:52 +0000 (13:15 -0500)]
Merge pull request #15102 from majianpeng/blockdevice-pmem

os/bluestore/BlockDevice: support pmem device as bluestore backend

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoosd: take PGRef for recovery sleep wakeup event 15582/head
Sage Weil [Thu, 8 Jun 2017 18:08:52 +0000 (14:08 -0400)]
osd: take PGRef for recovery sleep wakeup event

The raw PG* may not remain valid when the event fires.

Fixes: http://tracker.ceph.com/issues/20226
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15577 from jcsp/wip-dashboard-cleanup
Jason Dillaman [Thu, 8 Jun 2017 17:56:19 +0000 (13:56 -0400)]
Merge pull request #15577 from jcsp/wip-dashboard-cleanup

mgr: dashboard code cleanup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agomgr/dashboard: remove confusing SyncObject stuff 15577/head
John Spray [Thu, 8 Jun 2017 12:57:50 +0000 (08:57 -0400)]
mgr/dashboard: remove confusing SyncObject stuff

This was a hangover from when these wrapper classes
were borrowed from Calamari, which used these
versions/equality functions to work out when
to go fetch data from the ceph cluster.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr/dashboard: fix server view on funny version format
John Spray [Thu, 8 Jun 2017 12:06:12 +0000 (08:06 -0400)]
mgr/dashboard: fix server view on funny version format

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr/dashboard: fix error handling in remote_view_cache
John Spray [Wed, 7 Jun 2017 16:50:38 +0000 (12:50 -0400)]
mgr/dashboard: fix error handling in remote_view_cache

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr/dashboard: keep a global librados instance
John Spray [Wed, 7 Jun 2017 16:48:40 +0000 (12:48 -0400)]
mgr/dashboard: keep a global librados instance

...so that classes that need one aren't creating
their own all the time.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15566 from baruza/wip-doc-20199
Kefu Chai [Thu, 8 Jun 2017 15:10:51 +0000 (23:10 +0800)]
Merge pull request #15566 from baruza/wip-doc-20199

doc: Change the default values of some OSD options

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15485 from ceph/wip-hdd-throttle-cost
Sage Weil [Thu, 8 Jun 2017 15:02:54 +0000 (10:02 -0500)]
Merge pull request #15485 from ceph/wip-hdd-throttle-cost

common/config_opts.h: Lower HDD throttle cost.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15203 from Liuchang0812/wip-kill-broken-links
Kefu Chai [Thu, 8 Jun 2017 14:59:11 +0000 (22:59 +0800)]
Merge pull request #15203 from Liuchang0812/wip-kill-broken-links

doc: kill some broken links

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodebian: sync logrotate packaging with downstream 15567/head
Fabian Grünbichler [Tue, 6 Jun 2017 10:20:06 +0000 (12:20 +0200)]
debian: sync logrotate packaging with downstream

both Ubuntu and Debian put the logrotate script into
ceph-common, to ensure that radosgw logs are rotated as
well.

to prevent duplicate logrotate scripts handling the same log
files, and to minimize the delta between upstream and
downstream packaging, sync this change back upstream.

Fixes: http://tracker.ceph.com/issues/19938
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
8 years agomgr: drop PyModules::lock around module shutdown calls 15578/head
John Spray [Thu, 8 Jun 2017 12:46:33 +0000 (08:46 -0400)]
mgr: drop PyModules::lock around module shutdown calls

This deadlocked if the module's shutdown call was trying
to take a pythonland lock that was held by a thread
that was in turn trying to call into C++ land and take
PyModules::lock.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: don't let TYPE_CLIENT entities send stats
John Spray [Thu, 8 Jun 2017 12:43:02 +0000 (08:43 -0400)]
mgr: don't let TYPE_CLIENT entities send stats

Anyone instantiating librados instances ended up
appearing as a weird entry in DaemonStateIndex.

Come back to this at the point we want e.g. stats
from RGWs or NFS gateways.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: don't log successful ceph_config_get as err
John Spray [Wed, 7 Jun 2017 15:11:48 +0000 (11:11 -0400)]
mgr: don't log successful ceph_config_get as err

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15575 from liewegas/wip-pgnls-note
Gregory Farnum [Thu, 8 Jun 2017 13:55:37 +0000 (06:55 -0700)]
Merge pull request #15575 from liewegas/wip-pgnls-note

PendingReleaseNotes: notes on whiteouts vs pgnls

8 years agoMerge pull request #15309 from ifed01/wip-bluestore-boost-statfs
Sage Weil [Thu, 8 Jun 2017 13:52:34 +0000 (08:52 -0500)]
Merge pull request #15309 from ifed01/wip-bluestore-boost-statfs

os/bluestore: keep statfs replica in RAM to avoid expensive KV retrieval

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoPendingReleaseNotes: notes on whiteouts vs pgnls 15575/head
Sage Weil [Thu, 8 Jun 2017 13:41:25 +0000 (09:41 -0400)]
PendingReleaseNotes: notes on whiteouts vs pgnls

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15532 from dillaman/wip-rbd-mirror-stress
Mykola Golub [Thu, 8 Jun 2017 11:42:29 +0000 (14:42 +0300)]
Merge pull request #15532 from dillaman/wip-rbd-mirror-stress

rbd-mirror: lock loss during sync should wait for in-flight copies

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #15518 from dillaman/wip-rbd-missing-default-pool
Mykola Golub [Thu, 8 Jun 2017 11:41:51 +0000 (14:41 +0300)]
Merge pull request #15518 from dillaman/wip-rbd-missing-default-pool

rbd: removed hardcoded default pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoos/bluestore: introduce a debug switch to bypass kv update. 15309/head
Igor Fedotov [Thu, 13 Apr 2017 14:51:33 +0000 (17:51 +0300)]
os/bluestore: introduce a debug switch to bypass kv update.

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: introduce debug parameter to bypass bdev verification
Igor Fedotov [Fri, 26 May 2017 12:55:47 +0000 (05:55 -0700)]
os/bluestore: introduce debug parameter to bypass bdev verification

E.g. this allows to backup WAL/DB volumes after preconditioning and quickly rollback to that state when needed.

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: keep statfs replica in memory to avoid expensive KV access
Igor Fedotov [Fri, 26 May 2017 12:33:05 +0000 (15:33 +0300)]
os/bluestore: keep statfs replica in memory to avoid expensive KV access

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: move volatile_statfs struct out of TransContext
Igor Fedotov [Fri, 26 May 2017 12:07:28 +0000 (15:07 +0300)]
os/bluestore: move volatile_statfs struct out of TransContext

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agotest/msgr: silence warnings from -Wsign-compare 15570/head
Jos Collin [Thu, 8 Jun 2017 11:18:20 +0000 (16:48 +0530)]
test/msgr: silence warnings from -Wsign-compare

The following warning appears during make in the latest code:

ceph/src/test/msgr/test_msgr.cc:1474:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     CHECK_AND_WAIT_TRUE(srv_dispatcher.count > last + 1);
                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
ceph/src/test/msgr/test_msgr.cc:54:9: note: in definition of macro ‘CHECK_AND_WAIT_TRUE’
     if (expr)                           \
         ^~~~
ceph/src/test/msgr/test_msgr.cc:1475:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (srv_dispatcher.count == last) {

Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15433 from wjwithagen/wip-wjw-prettytable
Loic Dachary [Thu, 8 Jun 2017 10:52:31 +0000 (12:52 +0200)]
Merge pull request #15433 from wjwithagen/wip-wjw-prettytable

ceph-disk: add setting for external py-modules for tox-testing

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agodoc: Change the default values of some OSD options 15566/head
Barbora Ančincová [Wed, 7 Jun 2017 10:10:53 +0000 (12:10 +0200)]
doc: Change the default values of some OSD options

These values were changed to reflect this change a3f9cba

Fixes: http://tracker.ceph.com/issues/20199
Signed-off-by: Bara Ancincova <bara@redhat.com>
8 years agoceph-disk: use system modules if needed 15433/head
Willem Jan Withagen [Fri, 2 Jun 2017 14:53:43 +0000 (16:53 +0200)]
ceph-disk: use system modules if needed

 - prettytable usage was introduced in:
https://github.com/ceph/ceph/commit/3fa8bb1
   It is in the install-deps.sh file to be installed, but
   it is not per default installed in the testenvironment
   So allow tox tests to use "external" modules

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agotools/rbd_mirror: do not include ununsed header 15562/head
Kefu Chai [Thu, 8 Jun 2017 04:19:39 +0000 (12:19 +0800)]
tools/rbd_mirror: do not include ununsed header

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoclient: s/atomic_t/std::atomic<>
Kefu Chai [Thu, 8 Jun 2017 04:18:42 +0000 (12:18 +0800)]
client: s/atomic_t/std::atomic<>

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocmake,debian,rpm: remove atomic_t completely
Kefu Chai [Thu, 8 Jun 2017 03:31:51 +0000 (11:31 +0800)]
cmake,debian,rpm: remove atomic_t completely

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg,client,os,journal: do not include unused header
Kefu Chai [Thu, 8 Jun 2017 03:32:39 +0000 (11:32 +0800)]
msg,client,os,journal: do not include unused header

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/async: s/atomic_t/atomic<>/
Kefu Chai [Thu, 8 Jun 2017 03:40:00 +0000 (11:40 +0800)]
msg/async: s/atomic_t/atomic<>/

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agorgw: rgw_rados: s/atomic_t/atomic<>/
Kefu Chai [Thu, 8 Jun 2017 03:32:02 +0000 (11:32 +0800)]
rgw: rgw_rados: s/atomic_t/atomic<>/

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg,common: do not include assert.h everywhere to clobber <assert.h>
Kefu Chai [Thu, 8 Jun 2017 03:21:11 +0000 (11:21 +0800)]
msg,common: do not include assert.h everywhere to clobber <assert.h>

* reverts c93daaf92b643a06a822558973d377733dbd9d85
* add "#include "include/assert.h" to where <cassert> or <assert.h> are
  included, or avoid including them if possible.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoosdc/Objecter: s/atomic_t/std::atomic<>/
Kefu Chai [Thu, 8 Jun 2017 03:20:02 +0000 (11:20 +0800)]
osdc/Objecter: s/atomic_t/std::atomic<>/

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocommon/ceph_context: s/atomic_t/std::atomic<>/
Kefu Chai [Thu, 8 Jun 2017 03:18:10 +0000 (11:18 +0800)]
common/ceph_context: s/atomic_t/std::atomic<>/

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomgr/DaemonServer.cc: log daemon type string as well as id 15560/head
Dan Mick [Thu, 8 Jun 2017 02:52:13 +0000 (19:52 -0700)]
mgr/DaemonServer.cc: log daemon type string as well as id

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #14866 from chardan/jfw-wip-halflife_atomic_t-varan
Kefu Chai [Thu, 8 Jun 2017 01:57:26 +0000 (09:57 +0800)]
Merge pull request #14866 from chardan/jfw-wip-halflife_atomic_t-varan

common,test: migrate atomic_t to std::atomic

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15520 from liewegas/wip-max-object-size
Sage Weil [Wed, 7 Jun 2017 22:08:32 +0000 (17:08 -0500)]
Merge pull request #15520 from liewegas/wip-max-object-size

osd: reduce rados_max_object_size from 100 GB -> 128 MB

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoosd: reduce rados_max_object_size from 100 GB -> 128 MB 15520/head
Sage Weil [Tue, 6 Jun 2017 18:56:35 +0000 (14:56 -0400)]
osd: reduce rados_max_object_size from 100 GB -> 128 MB

I'm not sure why we had this so huge!  128 MB is a pretty reasonable size.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15230 from chardan/jfw-wip-halflife_atomic_t-xio
Sage Weil [Wed, 7 Jun 2017 21:00:30 +0000 (16:00 -0500)]
Merge pull request #15230 from chardan/jfw-wip-halflife_atomic_t-xio

xio: migrate atomic_t to std::atomic<>

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15516 from javacruft/i386-cmake-fixes
Sage Weil [Wed, 7 Jun 2017 21:00:10 +0000 (16:00 -0500)]
Merge pull request #15516 from javacruft/i386-cmake-fixes

cmake: misc fixes for build on i386

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15525 from wjwithagen/wip-wjw-clang-testosdmap
Sage Weil [Wed, 7 Jun 2017 20:59:54 +0000 (15:59 -0500)]
Merge pull request #15525 from wjwithagen/wip-wjw-clang-testosdmap

test: osd/TestOSDMap.cc: fix Clang complain about promotion

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomgr/MgrStandby: respawn when deactivated 15557/head
Sage Weil [Wed, 7 Jun 2017 20:54:19 +0000 (16:54 -0400)]
mgr/MgrStandby: respawn when deactivated

- It is ugly to unwind all of the Mgr state so that we can reactivate
  later.
- It is perhaps impossible to do shut down the python state reliably.
- Respawning provides a clean state and is reliable.

This mostly just copies MDSServer::respawn().

Fixes: http://tracker.ceph.com/issues/19595
Fixes: http://tracker.ceph.com/issues/19549
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorbd: removed hardcoded default rbd pool name 15518/head
Jason Dillaman [Tue, 6 Jun 2017 17:24:54 +0000 (13:24 -0400)]
rbd: removed hardcoded default rbd pool name

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-nbd: removed default rbd pool name
Jason Dillaman [Tue, 6 Jun 2017 13:40:13 +0000 (09:40 -0400)]
rbd-nbd: removed default rbd pool name

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-replay: removed default rbd pool name
Jason Dillaman [Tue, 6 Jun 2017 13:39:18 +0000 (09:39 -0400)]
rbd-replay: removed default rbd pool name

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agopybind/rbd: module should depend on librbd not rbd CLI
Jason Dillaman [Tue, 6 Jun 2017 13:38:09 +0000 (09:38 -0400)]
pybind/rbd: module should depend on librbd not rbd CLI

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agocommon: new 'rbd_default_pool' configuration option
Jason Dillaman [Tue, 6 Jun 2017 02:08:01 +0000 (22:08 -0400)]
common: new 'rbd_default_pool' configuration option

The 'rbd' pool will no longer be automatically created. Allow
the user to specify a custom default RBD pool name.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>