Adam C. Emerson
0dafce9663
librados: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
2346962ca5
kv: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
26d37c4bc7
test: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
a19ae6f17f
key_value_store: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
ddfcec5f87
json_spirit: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
8c52b89356
journal: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
2113c1c1ee
global: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
ff9ff779f2
erasure-code: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
e0afb5ac11
rbd: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
9526eb38a9
tools: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
1bc987ac92
rgw: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:43 -04:00
Adam C. Emerson
9150969103
mon: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:35:37 -04:00
Casey Bodley
3dc8654f13
Merge pull request #20526 from k0ste/newfeature
...
docs: radosgw: ldap-auth: fixed option name 'rgw_ldap_searchfilter'
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-27 09:26:21 -04:00
Adam C. Emerson
3aad3a26c5
crush: Use ceph_assert for asserts in C++ code.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
f31f9636a8
crimson: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
0566261974
compressor: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
cbd42dc2d9
cls: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
c0555ca1b7
client: Use ceph_assert for asserts.
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
82d15833d5
auth: Use ceph_assert for asserts
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
c3321f7633
os: Use ceph_assert for asserts
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
851813d434
common: Use ceph_assert for asserts
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
4f8959c695
include: Use ceph_assert for asserts
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Adam C. Emerson
f65549ce24
include/assert: Deprecate assert macro
...
Prior to switching callers to ceph_assert.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-27 09:09:01 -04:00
Kefu Chai
d3fcbeeba0
doc/dev/cephx_protocol: fix couple errors
...
there are 3 phases of authentication and authorization in cephx:
0. proto = CEPH_AUTH_UNKNOWN, for start the session,
create auth handlers on both sides.
1. GET_AUTH_SESSION_KEY, to get authenticated, the client will
get the session ticket at the end of this phase. the session ticket,
is actually also a service ticket for CEPH_ENTITY_TYPE_AUTH.
2. CEPHX_GET_PRINCIPAL_SESSION_KEY, to get authorized, the client
will get the requested, service tickets at the end of this phase.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-27 17:50:54 +08:00
Lenz Grimmer
70fa9f92d0
Merge pull request #23391 from votdev/cleanup_25161
...
mgr/dashboard: Prevent API call on every keystroke
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-08-27 11:28:08 +02:00
Kefu Chai
7e38d82c6d
mon/MonClient: avoid using magic number for the MAuth::protocol
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-27 16:26:10 +08:00
Xie Xingguo
fceb3bf6ca
Merge pull request #23746 from libingyang-zte/master
...
doc: Fix Spelling Error of Rados Deployment/Operations
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-27 15:49:10 +08:00
libingyang
ddf43f1d7a
doc: Fix Spelling Error of Rados Deployment/Operations
...
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-08-27 13:59:43 +08:00
Xie Xingguo
1fdd8750af
Merge pull request #23745 from chenzhua/master
...
doc: fix spelling errors of cephfs
Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-08-27 12:13:48 +08:00
Chen Zhenghua
8fad5a5810
doc: fix spelling errors of cephfs
...
Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
2018-08-27 10:56:24 +08:00
Kefu Chai
d16e584688
Merge pull request #23688 from tchaikov/wip-monclient-sub
...
mon/MonClient: extract MonSub out
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-27 10:19:49 +08:00
Sage Weil
6d9134880b
mgr/devicehealth: add 'device monitoring {on,off}' commands
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-26 15:28:07 -05:00
Sage Weil
cce1ce9530
mgr/devicehealth: 10m wakeup interval is sufficient
...
We are scraping daily, so 10m is plenty often. The life expectancy
for devices is also rarely updated, and anyone who does update it can
explicitly 'ceph device check-health' afterwards if they want a quick
response.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-26 15:28:07 -05:00
Sage Weil
5da1018373
mgr/devicehealth: scrape at scrape_interval intervals
...
Also, align the timing to the interval to avoid drift, and restructure
the loop so that we do the work immediately on startup without an initial
sleep.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-26 15:28:06 -05:00
Mykola Golub
2e66c9287a
Merge pull request #23736 from dillaman/wip-librbd-gmock
...
test/librbd: fix gmock warning in snapshot rollback test
Reviewed-by: songweibin <song.weibin@zte.com.cn>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-08-26 10:13:29 +03:00
Patrick Donnelly
204771b2ac
Merge PR #23088 into master
...
* refs/pull/23088/head:
mds: adjust export size after renaming directory into freezing subtree
mds: clear scatterlock's flushed when removing dirty
mds: export subtree part by part
mds: change default mds_max_export_size to 20M
mds: limit total size of exporting subtrees
mds: optimize the way how max export size is enforced
mds: make CInode::get_dirfrags container agnostic
mds: cleanup MutationImpl::More initialization
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 13:14:09 -07:00
Patrick Donnelly
b53cc45b7f
Merge PR #23548 into master
...
* refs/pull/23548/head:
mds: migrate strays part by part when shutdown mds
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 13:14:04 -07:00
Patrick Donnelly
3aa392ca73
Merge PR #23439 into master
...
* refs/pull/23439/head:
qa: whitelist cap revoke warning
doc: document cap revoke non-responders client eviction
test: validate client eviction for cap revoke non-responders
mds: add counter for tracking cap non-responding clients
mds: evict clients that do not respond to cap revoke by MDS
mds: pass timeout argument for fetching late clients
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-25 13:04:58 -07:00
Patrick Donnelly
a5228b5111
Merge PR #23413 into master
...
* refs/pull/23413/head:
mds: fix premature stop of MDBalancer::try_rebalance()
mds: don't queue straydir for split
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 12:57:03 -07:00
Patrick Donnelly
5228eb52dd
Merge PR #23469 into master
...
* refs/pull/23469/head:
mds: access last std::vector element with `back()`
mds: disallow certain file operations to "." and ".." dirents
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-25 12:55:31 -07:00
Patrick Donnelly
4699cec388
Merge PR #23656 into master
...
* refs/pull/23656/head:
build/ops: rpm: package cephfs-shell for SUSE as well as Fedora
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-25 12:52:09 -07:00
Patrick Donnelly
bc05936309
Merge PR #23640 into master
...
* refs/pull/23640/head:
mds: use monotonic waits in Beacon
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-25 12:50:43 -07:00
Patrick Donnelly
34ae8c0327
githubmap: update contributors
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 12:50:42 -07:00
Patrick Donnelly
4367de377e
qa: whitelist cap revoke warning
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 12:42:26 -07:00
Jason Dillaman
c1117e1cfc
Merge pull request #23605 from zy751713126/add_rbd_read2_pybind
...
pybind/rbd: add allow_shrink=True as a parameter to def resize
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-25 08:33:01 -04:00
Jason Dillaman
36e460fef4
Merge pull request #23707 from trociny/wip-get_modify_timestamp-mock-warns
...
test/librbd: fix gmock warnings for get_modify_timestamp call
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-25 08:32:31 -04:00
Jos Collin
22586c6f15
Merge pull request #23730 from tspmelo/wip-table-fieldset
...
mgr/dashboard: Remove fieldsets when using CdTable
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-08-25 11:42:56 +05:30
Konstantin Shalygin
4e1d3d8772
docs: radosgw: ldap-auth: fixed option name 'rgw_ldap_searchfilter'
...
Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
2018-08-25 13:04:51 +07:00
Dan Mick
2c17bc98bf
mgr/telemetry: add crashdump info to report
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-08-24 20:56:29 -07:00
Dan Mick
f6a4897ecb
global/signal_handler.cc: report assert_file as correct name
...
Boilerplate error led to two 'assert_line' items in the dump
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-08-24 20:54:19 -07:00