Commit Graph

89559 Commits

Author SHA1 Message Date
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
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
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
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
Kefu Chai
4eb23af17c
Merge pull request #23709 from tchaikov/wip-monmap-const
mon/MonMap: add more const'ness to its methods

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-08-25 11:40:42 +08:00
Kefu Chai
8a244ac10a
Merge pull request #23683 from thinkercui/bugfix-load-gen
tools/rados: fix the unit of target-throughput

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-25 11:39:18 +08:00
Kefu Chai
dab460e742
Merge pull request #23682 from profihost/master
mgr/balancer: deepcopy best plan - otherwise we get latest

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-25 11:38:25 +08:00
Xie Xingguo
2dc05eb3d8
Merge pull request #23705 from chenzhua/master
doc: fix typo and format issues in quick start documentation

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-25 11:19:29 +08:00
Jesse Williamson
7e1b05c5a6
Merge pull request #23732 from tchaikov/wip-cmake-libradosstriper
cmake: add option WITH_LIBRADOSSTRIPER
2018-08-24 15:07:30 -07:00
Andrew Schoen
e54921eb4e
Merge pull request #23731 from ceph/wip-rm24553
ceph-volume  expand auto engine for multiple devices on filestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 15:50:32 -04:00
Andrew Schoen
cd63fb0df1 ceph-volume: reset sys_info.devices in the device_info fixture
In certain environments it was noticed that when running the full test
suite sys_info.devices would get populated correctly from previous
tests. This caused the tests to fail because they did not have the
expected mock data.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 15:38:14 -04:00
Kefu Chai
9497775cb4 tools/rados: include acconfig.h for picking up WITH_LIBRADOSSTRIPER
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-25 00:44:07 +08:00
Jason Dillaman
b186ba7061 test/librbd: fix gmock warning in snapshot rollback test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-08-24 12:33:47 -04:00
Kefu Chai
6ef3ac9c27
Merge pull request #23727 from libingyang-zte/master
doc: Spelling fixes in Network config reference

Reviewed-by: Luo Kexue <luo.kexue@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-25 00:09:34 +08:00
Alfredo Deza
494ece3099 ceph-volume tests check uuid_name when creating an lv
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 11:18:03 -04:00
Alfredo Deza
997d922bbd ceph-volume tests add verifications for create_vg helper
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 11:18:03 -04:00
Alfredo Deza
fb1e1c61bd ceph-volume tests add verifications for extend_vg helper
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 11:18:03 -04:00
Alfredo Deza
ebbb571d2f ceph-volume lvm.batch update module to use Device object on strategy detection
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 11:18:03 -04:00
Kefu Chai
e17900d552 cmake: add option WITH_LIBRADOSSTRIPER
otherwise this cmake variable is never defined, hence all tests
requiring libstriper are broken.

this is a regresssion introduced by 5513a90c62 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-24 22:33:08 +08:00
Alfredo Deza
369bb740a0 ceph-volume lvm.batch.filestore use new Device objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
c6f4e107a1 ceph-volume lvm.batch.bluestore use new Device objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
649903bdab ceph-volume tests.util verify ValidDevice validator
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
57f76e36ab ceph-volume util.templates allow more space for long paths
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
e4902ced1b ceph-volume lvm.strategies create mixed type filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
f67732cd9f ceph-volume lvm.batch add new strategy validators for LVM devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00
Alfredo Deza
5be2794b7f ceph-volume util add a new Device class validator for args
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00
Alfredo Deza
d74ce8e54d ceph-volume lvm.batch use new Device class and validator
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00