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
Sage Weil
e581511220
Merge pull request #15116 from liewegas/wip-bluestore-aio-warning
...
os/bluestore/KernelDevice: helpful warning when aio limit exhausted
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-18 13:28:30 -05:00
Sage Weil
739cbc98c3
Merge pull request #15117 from liewegas/wip-luminous-legacy-check
...
qa/suites/rados/thrash: make sure osds have map before legacy scrub
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:28:14 -05:00
Sage Weil
5a03220dda
Merge pull request #15120 from liewegas/wip-ec-buffer
...
osd: reduce buffer pinning from EC entries
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:28:02 -05:00
Sage Weil
4b0aa0880b
Merge pull request #15121 from ivancich/wip-remove-an-unnecessary-loop
...
osd/pglog: remove loop through empty collection
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:27:50 -05:00
Sage Weil
1a8ab080b2
Merge pull request #15124 from cbodley/wip-osd-swap
...
osd: fix argument-dependent lookup of swap()
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-18 13:27:25 -05:00
Sage Weil
e35d635ec5
Merge pull request #15138 from liewegas/wip-list-objects-more
...
ceph_test_rados_api_list: more fix LibRadosListNP.ListObjectsError
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:26:57 -05:00
Casey Bodley
de836ee684
qa/rgw: add test config to rgw_multisite_tests task
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-18 13:38:44 -04:00
Casey Bodley
e90bba65c4
test/rgw: add timing config options to test_multi.py
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-18 13:38:44 -04:00