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
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
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
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
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
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
Gui Hecheng
cf08d00606
rgw_file: use pre-defined calls to replace raw flag operation
...
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2017-05-19 09:17:51 +08:00
Drunkard Zhang
9eeec442d5
doc: remove duplicated section in doc/radosgw/adminops
...
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-19 09:16:52 +08:00
Jason Dillaman
1eef465074
Merge pull request #15053 from dillaman/wip-librbd-blkin
...
blkin: librbd trace hooks
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-18 20:28:57 -04:00
Jason Dillaman
d93955997a
blkin: rbd object map update traces
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:28 -04:00
Jason Dillaman
8f65f61a50
blkin: initial trace hooks for IO path
...
To collect blkin traced for RBD, set the "rbd blkin trace all"
configuration parameter to true.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:28 -04:00
Jason Dillaman
bdff47ea57
blkin: add config variable rbd_blkin_trace_all
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Jason Dillaman
fd2359263c
blkin: improved objecter trace events
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Jason Dillaman
6ce2656ead
blkin: librados should start new child trace
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Jason Dillaman
b33eb6452b
blkin: improve trace visibility into object cacher
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Victor Araujo
e0fc369455
blkin: pass trace information to object cacher
...
Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Jason Dillaman
600bfa2db2
common/zipkin_trace: added missing include for encoding
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:27 -04:00
Jason Dillaman
6dfcb11983
test/librados_test_stub: add new aio_operate overloads for tracing
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-18 18:13:00 -04:00
David Zafman
5c788a1d9d
test: Test fix for SnapSet change
...
Caused by: a7b5922169
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-05-18 14:47:39 -07:00
Yuri Weinstein
a56871e6ea
Merge pull request #10736 from oliveiradan/SebastienHan_config_diff_get_fr
...
common/ceph_context: 'config diff get' option added
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-18 13:15:54 -07:00
Yuri Weinstein
ef1c02406d
Merge pull request #14914 from neha-ojha/wip-mon-crushtype-health-warn
...
mon: add crush type down health warnings
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:12:45 -07:00
Sage Weil
a28c3ad2bd
Merge pull request #15086 from joscollin/wip-cleanup-redundant-headers-1
...
common: Remove redundant includes
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-18 13:29:40 -05:00
Sage Weil
5d83781fa0
Merge pull request #15109 from tchaikov/wip-mgrmon-send-digests-using-ticks
...
mon/MgrMonitor: send digests only if is_active()
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-18 13:29:26 -05:00