Commit Graph

72681 Commits

Author SHA1 Message Date
Sage Weil
590fd5362a Merge pull request #15071 from cbodley/wip-qa-dnsmasq
qa: add task for dnsmasq configuration

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-05-19 13:25:12 -05:00
Sage Weil
39430e9618 Merge pull request #15090 from theanalyst/release/v12.0.3/notes
doc: release notes for v12.0.3 (dev)
2017-05-19 13:21:58 -05:00
Sage Weil
910405c19c Merge pull request #15133 from cbodley/wip-doc-rgw-remove-fcgi
doc/rgw: remove fastcgi page and sample configs

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-19 13:13:24 -05:00
Sage Weil
790ceff325 Merge pull request #15144 from drunkard/master
doc: typo fixes on hyperlink/words 

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-19 13:03:45 -05:00
Sage Weil
8e0c4ee103 Merge pull request #15161 from dzafman/wip-test-fix
test: Test fix for SnapSet change

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-19 13:00:20 -05:00
Kefu Chai
bc529f8745 common: add ceph::size()
backport from C++17

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-20 00:40:00 +08:00
Yuri Weinstein
4d1d9ca84d Merge pull request #15147 from bassam/pr-speedup-ccache
cmake: improved build speed by 5x when using ccache

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 09:33:24 -07:00
Yuri Weinstein
e965dac013 Merge pull request #15158 from liewegas/wip-mgr-dump
mon/MgrMonitor: add 'mgr dump [epoch]' command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 09:33:03 -07:00
Yuri Weinstein
5c203e86db Merge pull request #15159 from LiumxNL/fix-ping-monitor
pybind/rados: avoid call free() on invalid pointer

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-19 09:32:19 -07:00
Sage Weil
bedcbcd0cd os/bluestore: separate kv_sync_thread into two parts
The kv_sync_thread is a bottleneck; making it do less work improves
performance on fast devices.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 12:27:55 -04:00
Sage Weil
6a21da5983 mon/OSDMonitor: handle sparse type names
It's possible a type id isn't defined/used by crush.  Use the max id
instead and skip types without names.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 12:05:08 -04:00
Sage Weil
9183375b90 mon/OSDMonitor: separate health warnings into distinct messages
Each warning is a distinct message; the caller formats it as it deems
appropriate.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 12:04:27 -04:00
Sage Weil
500f6dac42 mon/OSDMonitor: adjust stray osd message a bit
'kept' seems wrong in this context.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 11:58:59 -04:00
Sage Weil
0f2a177307 mon/OSDMonitor: clean up whitespace a bit
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 11:58:02 -04:00
Kefu Chai
d1bf2f60ca Merge pull request #15164 from tchaikov/wip-check-gperf-before-using-it
cmake: check the existence of gperf before using it

Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
2017-05-19 23:57:08 +08:00
Sage Weil
dddea8cb13 vstart.sh: add --filestore_path to direct osd.0 filestore data to specific dir
This hack only works for 1 osd, but it lets you put it on a specific
directory/device.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 11:28:06 -04:00
Jesse Williamson
d07cfd4068 test: migrate atomic_t to std::atomic<>
Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
2017-05-19 08:25:37 -07:00
Jason Dillaman
13adcac429 librbd: block RPC requests before unregistering watch during close
The watch should be released after exclusive lock is released to
avoid a potential race condition which would result in the
client being blacklisted by a peer.

Fixes: http://tracker.ceph.com/issues/19970
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-19 11:24:38 -04:00
Kefu Chai
b2c2f759af Merge pull request #15089 from zhsj/add-mirror
doc: add new cn ceph mirror to doc and mirroring

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 22:32:45 +08:00
Jos Collin
8348a13fbd Merge pull request #15173 from joscollin/wip-test-crush-warning
test/crush: silence warnings from -Walloc-size-larger-than= and -Wstringop-overflow=
2017-05-19 19:48:38 +05:30
Jos Collin
fccae0f196 Merge pull request #15171 from ztczll/master
test/objectstore: Check apply_transaction() return values
2017-05-19 19:40:31 +05:30
Sage Weil
036470a2a0 os: remove experimental status for BlueStore
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 09:34:07 -04:00
Sage Weil
069ca1a170 Merge pull request #15034 from liewegas/wip-bluestore-sync-write
os/bluestore/KernelDevice: fix sync write vs flush

Reviewed-by: Varada Kari <varada.kari@gmail.com>
2017-05-19 08:21:48 -05:00
Sage Weil
9cae712d6f os/bluestore/KernelDevice: fix flush() vs sync write()
We need to set the atomic flag so that a flush will actually flush.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 09:20:27 -04:00
Jason Dillaman
95937bcd42 librbd: introduced support for blocking watch notifications
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-19 08:43:37 -04:00
Jason Dillaman
6fa25c2bf2 librbd: recheck current lock owner before blacklist
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-19 08:43:37 -04:00
Jos Collin
49fd336522 test/crush: silence warnings from -Walloc-size-larger-than= and -Wstringop-overflow=
The following warnings appear during make:

/home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc: In member function ‘virtual void CrushWrapper_choose_args_compat_Test::TestBody()’:
/home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc:1057:20: warning: argument 1 value ‘18446744073709550912’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
   crush_choose_arg choose_args[c.get_max_buckets()];
                    ^~~~~~~~~~~

In function ‘void* memset(void*, int, size_t)’,
    inlined from ‘virtual void CrushWrapper_choose_args_compat_Test::TestBody()’ at /home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc:1058:9:
/usr/include/bits/string3.h:90:70: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size 18446744073709550912 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-05-19 16:45:08 +05:30
zhanglei
1cf018d11e Check apply_transaction return values
Signed-off-by: zhanglei <243290414@qq.com>
2017-05-19 05:45:14 -04:00
Brad Hubbard
c586df5631 erasure-code: optimize header file dependency
Tidy up for merging with current master.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-19 19:02:35 +10:00
Abhishek Lekshmanan
6a407bdfa5 doc: v12.0.3 release notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-19 10:58:50 +02:00
Abhishek Lekshmanan
f498aa5954 doc: PendingReleaseNotes move the 12.0.2 section of release notes
So that we can track whatever diff goes in after

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-19 10:58:50 +02:00
shawn
99f27c39b0 erasure-code: optimize header file dependency
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2017-05-19 17:14:06 +10:00
redickwang
ff4c40fc2e rgw: segment fault when shard id out of range
Fixes: http://tracker.ceph.com/issues/19732

Signed-off-by: redickwang <redickwang@tencent.com>
2017-05-19 15:08:12 +08:00
Dan Mick
bd6f2d9210 ceph.spec.in, debian/control: build/runtime dependency for cherrypy
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:08 -07:00
Dan Mick
dc15cd6075 mgr: change config_prefix to be 'mgr/<id>/' and separate handle/key by '/'
dm_crypt config-key usage has established '/' as the separator; keep
that as a convention for now

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:08 -07:00
Dan Mick
987211a639 mgr/PyModules: move constructor definition to .cc
Otherwise, the incomplete ServeThread type causes problems
for others who include PyModules.h

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:08 -07:00
Dan Mick
f69ce190c5 pybind/mgr/dashboard/module.py: allow custom server addr, port
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
Dan Mick
f2d29d2cef mgr/PyModules.cc,PyState.cc: improve config access debug logging
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
Dan Mick
8abd69dfdc client/SyntheticClient.cc: filer is now a std::unique_ptr
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
Dan Mick
e146b857c5 ceph_syn.cc, client/SyntheticClient.cc: Client -> StandaloneClient
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
Dan Mick
f4bc4f64ad ServeThread: add 'running' flag, don't notify non-running threads
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
John Spray
c24936674e pybind/mgr: web dashboard
A read only display of some of the cluster's state, plus
some cephfs/rbd/osd pages that demonstrate how to go
read state remotely from daemons.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-18 22:09:07 -07:00
John Spray
b83fe0e39b vstart: enable gui plugin
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-18 22:09:07 -07:00
John Spray
80dc6a1ec3 osd: wire up "histogram dump" to tell
...so that mgr modules can get at it.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-18 22:09:07 -07:00
Kefu Chai
f6b388a3a3 Merge pull request #15148 from zealoussnow/wip-spec
build: move bash_completion.d/ceph to ceph-common

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 12:53:57 +08:00
Kefu Chai
6761a838a3 cmake: check the existence of gperf before using it
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-19 12:47:26 +08:00
Kefu Chai
08c0b2ae7a Merge pull request #15160 from bassam/pr-system-boost
cmake: fix boost components for WITH_SYSTEM_BOOST

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 10:56:12 +08:00
Jos Collin
f24f4c8a23 Merge pull request #15107 from guihecheng/rgw_file-cleanup
rgw: use pre-defined calls to replace raw flag operation
2017-05-19 08:05:29 +05:30
Drunkard Zhang
58ba14e2fd doc: hyperlink fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-19 09:41:33 +08:00
Drunkard Zhang
5e3ae6d9d3 doc: typo fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-19 09:34:48 +08:00