Kefu Chai
6cf7ebd0ca
cmake: do not always require extra link flags for std::filesystem
...
since GCC-9
> Using the types and functions in <filesystem> does not require linking
> with -lstdc++fs now.
see https://gcc.gnu.org/gcc-9/changes.html#libstdcxx
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 19:42:34 +08:00
Kefu Chai
f0cb9364d6
test,tool: include <filesystem> if available
...
and use "<experimental/filesystem>" as a fallback.
since GCC-9 has included <filesystem> already.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-28 00:31:44 +08:00
Kefu Chai
592920070b
Merge pull request #38078 from zdover23/wip-doc-docs-style-guide-prompts-nov-2020
...
doc/start: update prompts in documenting-ceph.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-27 14:47:06 +08:00
Kefu Chai
139a6e3692
Merge pull request #38303 from aclamk/wip-bs-types-test-leak
...
os/bluestore: Fixed memory leak in test
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-11-27 14:35:04 +08:00
Kefu Chai
cdc9b5214c
Merge pull request #38058 from lxbsz/rbd_expand11
...
global: reexpand the config meta just after the fork() is done
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-27 14:30:28 +08:00
Kefu Chai
12c2cad5f3
Merge pull request #38240 from ifed01/wip-ifed-is-valid-io-log
...
blk: log is_valid_io() parameters when unsuccessful.
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2020-11-27 14:23:27 +08:00
Kefu Chai
86931cf580
Merge pull request #38262 from tchaikov/wip-librbd-gcc-10
...
neorados: use lambda instead of std::mem_fn()
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-27 14:22:12 +08:00
Kefu Chai
bc4a8a55dc
Merge pull request #38278 from votdev/fix_cephadm_typo
...
pybind/mgr/cephadm: Fix various typos
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-11-27 14:21:25 +08:00
Kefu Chai
f792e90374
Merge pull request #38211 from ricardoasmarques/sort-host-device-ls
...
mgr/orchestrator: Sort 'ceph orch device ls' by host
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-11-27 14:19:39 +08:00
Kefu Chai
d7f1674b4f
Merge pull request #38138 from batrick/centos-8.2
...
qa: update centos release to 8.2
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2020-11-27 14:18:29 +08:00
Kefu Chai
24066ea560
Merge pull request #38224 from Rethan/fix_pg_dump_json
...
mgr: fix "ceph pg dump_json/dump_pools_json" format error
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-27 14:17:23 +08:00
Kefu Chai
a1cbe293c0
Merge pull request #38206 from dvanders/dvanders_upmap
...
mgr/balancer: fix available pgs sent to calc_pg_upmaps
Reviewed-by: David Zafman <dzafman@redhat.com>
2020-11-27 14:15:47 +08:00
Kefu Chai
4e12969cc9
Merge pull request #38264 from tchaikov/wip-mgr-prometheus-cleanups
...
pybind/mgr/prometheus: cleanups
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-11-27 14:13:36 +08:00
Kefu Chai
09f1e7ffff
Merge pull request #38241 from Rethan/update_url_from_master_to_lastest
...
doc/dev: use http://docs.ceph.com/en/latest/ instead of /docs/master/ for docs
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2020-11-27 14:00:12 +08:00
Kefu Chai
7a1b587f11
Merge pull request #38306 from wjwithagen/wjw-fix-uring-functype
...
blk: fix parameters for non native uring
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-27 13:54:03 +08:00
Kefu Chai
db2767cc6d
Merge pull request #38297 from badone/wip-make-sure--e-actually-works
...
run-make-check.sh: Make sure a build failure will exit
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-26 21:34:46 +08:00
Willem Jan Withagen
ac9dfa3f82
blk: fix parameters for non native uring
...
The parameterlist used when uring is availble needs
to be equal to the case where no uring is available.
fixes: https://github.com/ceph/ceph/pull/38257
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2020-11-26 14:04:22 +01:00
Kefu Chai
48515e9b8d
Merge pull request #38265 from Rethan/doc-prometheus-config-key
...
doc/mgr/prometheus: update 'config-key set' to 'config set' for consistency
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-26 19:52:10 +08:00
Kefu Chai
cc16516fd8
Merge pull request #38257 from lnsyyj/wip-iouring-poll
...
blk/kernel: expose IORING_SETUP_{IOPOLL,SQPOLL} as options
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-26 18:19:45 +08:00
Kefu Chai
6c4dbb2e48
Merge pull request #38263 from tchaikov/wip-boost-1.74-asio
...
src,cmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for Boost.Asio users and cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2020-11-26 18:18:22 +08:00
Adam Kupczyk
58f94cc98b
os/bluestore: Fixed memory leak in test
...
This is only unittest issue. This (potential) problems do not appear is BlueStore itself.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2020-11-26 04:53:34 -05:00
Jan Fajerski
59c6ba580c
Merge PR #38149 into master
...
* refs/pull/38149/head:
ceph-volume inventory: make libstoragemgmt data retrieval optional
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
2020-11-26 08:14:25 +01:00
haoyixing
f5fd172559
doc/mgr/prometheus: update 'config-key set' to 'config set' for consistency
...
Elsewere in mgr/prometheus use the 'config set' way, so update the only 'config-key set'
to make it consistent.
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
2020-11-26 14:23:56 +08:00
Brad Hubbard
e70483133d
run-make-check.sh: Make sure a build failure will exit
...
We 'set -e' but that is ignored because 'build tests' is executed in a
'&&' list (see 'man set') so move the echo to the following line.
Follow-up to 03ff2146f9
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-11-26 15:32:35 +10:00
Brad Hubbard
7f533f5ecd
Merge pull request #38292 from badone/wip-dont-run-tests-if-build-fails
...
run-make-check.sh: Don't run tests if build fails
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-26 13:33:46 +10:00
Brad Hubbard
03ff2146f9
run-make-check.sh: Don't run tests if build fails
...
When run-make was taken out we lost the 'set -e' call and therefore
continue after an error.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-11-26 11:20:06 +10:00
Patrick Donnelly
ba055a743c
Merge PR #38121 into master
...
* refs/pull/38121/head:
client: do not unset the client_debug_inject_tick_delay
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-25 13:30:04 -08:00
Patrick Donnelly
f5909c2078
Merge PR #38109 into master
...
* refs/pull/38109/head:
mds: dir->mark_new() should together with dir->mark_dirty()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-25 13:29:16 -08:00
Patrick Donnelly
f7c9ce50ae
Merge PR #38031 into master
...
* refs/pull/38031/head:
client: check rdonly file handle on truncate
test/libcephfs: test truncate on rdonly fd
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-11-25 13:28:25 -08:00
Patrick Donnelly
f7c056020e
Merge PR #38104 into master
...
* refs/pull/38104/head:
client: dump which fs is used by client for multiple-fs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-25 13:27:19 -08:00
Jan Fajerski
b29a54d21e
ceph-volume inventory: make libstoragemgmt data retrieval optional
...
Default to not retrieving libstoragemgmt data since it seems this can
cause serious issues on older hardware. Safest way is to only retrieve
lsm data when the user opts in..
Fixes: https://tracker.ceph.com/issues/48270
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-11-25 22:19:00 +01:00
Mykola Golub
8dbb87cf5f
Merge pull request #38068 from dillaman/wip-librbd-migration-4
...
librbd: S3-based migration source
Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-11-25 17:30:54 +02:00
zdover23
6497da98d7
Merge pull request #38195 from anthonyeleven/anthonyeleven/docs-14730
...
doc/rados/troubleshooting: description of upgrade procedure - stopping/starting OSDs
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-26 01:27:06 +10:00
Kefu Chai
7924528b8c
Merge pull request #38276 from tchaikov/wip-labeler
...
github/labeler: add "rgw" label to rgw related changes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-11-25 23:03:02 +08:00
zdover23
2d25182893
Merge pull request #38091 from anthonyeleven/anthonyeleven/docs-46367
...
doc/dev/developer_guide: verb disagreement on "Testing: Unit Tests" page
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-26 00:19:38 +10:00
zdover23
ea57d5d7ee
Merge pull request #38143 from anthonyeleven/anthonyeleven/docs-46364
...
doc/dev/developer_guide: What Is Merged and When?" could be less colloquial
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-26 00:16:51 +10:00
Volker Theile
d3e09b6e04
mgr: Fix various typos
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2020-11-25 15:16:00 +01:00
zdover23
3cea1e5a2a
Merge pull request #38079 from anthonyeleven/anthonyeleven/docs-24143
...
doc/rados/configuration/common.rst: enhance the running multiple clusters section
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-26 00:14:51 +10:00
zdover23
eefa5e33ff
Merge pull request #38088 from anthonyeleven/anthonyeleven/docs-47627
...
doc/mgr: document dashboard configuration unsetting
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-25 22:10:41 +10:00
Jan Fajerski
72c9cc7c6d
Merge PR #38156 into master
...
* refs/pull/38156/head:
ceph-volume batch: reject partitions in argparser
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-11-25 11:41:19 +01:00
Kefu Chai
3c0ab38aba
github/labeler: label src/test/** with "tests"
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-25 18:14:42 +08:00
Kefu Chai
daee16839a
github/labeler: add "rgw" label to rgw related changes
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-25 18:14:42 +08:00
Kefu Chai
5700419b27
pybind/mgr/prometheus: use get_module_option() wrapper
...
for better readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-25 17:41:00 +08:00
Kefu Chai
e700ed807c
pybind/mgr/prometheus: catch ImportError
...
silences following warning from flake8
E722 do not use bare 'except'
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-25 17:41:00 +08:00
Kefu Chai
c26b370b7e
pybind/mgr/mgr_module: have two lines before class definition
...
* have two lines before class definition, to silence E302 warning from flake8
* have single line before function definition, to silence E303 warning from flake8
* remove trailing space, to silence W291 warning from flake8
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-25 17:41:00 +08:00
Kefu Chai
71f36e8ad4
Merge pull request #38274 from dillaman/wip-github-labeler-rbd
...
github/labeler: add rbd label to src/tools/rbd_[ggate/wnbd]
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-25 14:46:16 +08:00
Jason Dillaman
048d0892b5
github/labeler: add rbd label to src/tools/rbd_[ggate/wnbd]
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-24 20:55:21 -05:00
Jason Dillaman
4f4e94c5be
Merge pull request #38213 from petrutlucian94/rbd_exit
...
rbd: minor rbd-wnbd improvements
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-24 20:52:02 -05:00
Anthony D'Atri
00d1948491
Merge branch 'master' into anthonyeleven/docs-46367
2020-11-24 12:27:31 -08:00
Yuri Weinstein
a01f710a90
Merge pull request #38254 from neha-ojha/wip-48299
...
doc/releases/nautilus.rst: add release notes for 14.2.15
Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2020-11-24 10:51:40 -08:00