Commit Graph

124699 Commits

Author SHA1 Message Date
Patrick Donnelly
83d252cc30 qa: fold frag confs into conf/mds.yaml
These overrides are standard for all configurations. The config to
enable fragmentation is also long removed.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-07-26 07:14:38 -07:00
Patrick Donnelly
097b678c40
Merge PR #41966 into master
* refs/pull/41966/head:
	mgr/volumes: use dedicated libcephfs handles for subvolume calls and async jobs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-07-06 11:54:18 -07:00
Kefu Chai
0b36134995
Merge pull request #42174 from cyx1231st/wip-seastore-fix-transactional-retire
crimson/os/seastore: leverage RetiredExtentPlaceholder to detect transaction conflicts

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2021-07-06 12:53:52 +08:00
Yingxin Cheng
07b7e811e5 crimson/os/seastore/cache: cleanup query_cache_with_placeholders()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-07-06 10:18:20 +08:00
Yingxin Cheng
928ef702e5 crimson/os/seastore/transaction: remove unused retired_uncached
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-07-06 10:18:20 +08:00
Yingxin Cheng
c84eb61f1e crimson/os/seastore: leverage RetiredExtentPlaceholder to detect transaction conflicts
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-07-06 10:18:20 +08:00
Yingxin Cheng
1a7d4e45a7 crimson/os/seastore: remove unused template in RetiredExtentPlaceholder
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-07-06 10:18:20 +08:00
Yingxin Cheng
a80877cae9 crimson/os/seastore/cache: cleanup, consolidate extent lookup through query_cache_for_extent()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-07-06 10:18:14 +08:00
Kefu Chai
5605484724
Merge pull request #42187 from tchaikov/wip-crimson-cleanup
crimson/os/seastore: use discard_result() to discard futurized value

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-07-06 09:05:29 +08:00
Kefu Chai
361cc0ba63
Merge pull request #42186 from lorenzbausch/fix_typo
doc/dev/crimson/osd: fix typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-05 23:32:11 +08:00
Kefu Chai
0ad4bd63c5 crimson/common/errorator: forward declare futurize as a struct
as it is defined as struct, otherwise clang complains on this
inconsistency.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-05 23:27:28 +08:00
Kefu Chai
9dbfc8cd35 crimson/os/seastore: use discard_result() to discard futurized value
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-05 23:26:13 +08:00
Kefu Chai
b758df7f66 crimson/os/seastore: capture variables explicitly
less error prune this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-05 23:26:13 +08:00
Kefu Chai
8a5af618f7 crimson/common: add discard_result() to errorator
so we can discard result explicitly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-05 23:26:13 +08:00
Lorenz Bausch
238c2bc52d
doc/dev/crimson/osd: fix typo
Signed-off-by: Lorenz Bausch <info@lorenzbausch.de>
2021-07-05 17:13:49 +02:00
Kefu Chai
592249594f
Merge pull request #42184 from xxhdx1985126/wip-seastore-lambda
crimson/os/seastore: fix lambda capture issue in Journal::scan_extents()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-05 22:17:46 +08:00
Xuehan Xu
0e4c9722a1 crimson/os/seastore: fix lambda capture issue in Journal::scan_extents()
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-07-05 21:41:57 +08:00
Kefu Chai
3510d2e6a5
Merge pull request #42178 from xxhdx1985126/wip-collection-manager-test-case
test/crimson/seastore: fix a bug in the collection manager test case

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-05 18:25:24 +08:00
Xuehan Xu
583b6dd778 test/crimson/seastore: fix bug in the collection manager test case
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-07-05 17:00:36 +08:00
Kefu Chai
91afa17c73
Merge pull request #42171 from sharuzzaman/patch-1
doc/rados/configuration: fixing small typo for word "implemebnt"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-05 13:17:47 +08:00
Sharuzzaman Ahmat Raslan
780aa4ea48 doc/rados/configuration: fixing small typo for word "implemebnt"
Signed-off-by: Sharuzzaman Ahmat Raslan <sharuzzaman@gmail.com>
2021-07-05 08:14:31 +08:00
Kefu Chai
b0ccd9e2ea
Merge pull request #42147 from xxhdx1985126/wip-interruptible-errorator
crimson/common: allow interruptible parallel_for_each to handle error…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-04 13:02:17 +08:00
Xuehan Xu
f7d3c14f2d crimson/common: allow interruptible parallel_for_each to handle errorated future
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-07-04 11:41:07 +08:00
Sage Weil
45be641769 Merge PR #41938 into master
* refs/pull/41938/head:
	mgr/cephadm: include addr in HOST_CHECK_FAILED alert detail

Reviewed-by: Adam King <adking@redhat.com>
2021-07-03 14:19:03 -04:00
Patrick Donnelly
f987914e65
Merge PR #42081 into master
* refs/pull/42081/head:
	qa: use kclient xattr to lookup client id
	qa: refactor reading debug file code
	qa: get mount id before failing fs

Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-07-02 13:17:05 -07:00
Patrick Donnelly
de3f4a0727
Merge PR #42075 into master
* refs/pull/42075/head:
	qa: avoid using sudo for regular test artifacts
	qa: convert mount calls to mount_wait
	qa: use run_shell_payload to avoid sudo

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2021-07-02 13:14:42 -07:00
Patrick Donnelly
f92a4f4330
qa: use kclient xattr to lookup client id
Added relatively recently but in RHEL 8.4.

Fixes: https://tracker.ceph.com/issues/51183
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-07-02 12:07:42 -07:00
Ali Maredia
d3f6df3ba6
Merge pull request #41926 from TRYTOBE8TME/wip-rgw-dpp-2
src/rgw: DPP addition 3

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-07-02 14:02:54 -04:00
Kefu Chai
620e86d289
Merge pull request #42105 from dvanders/dvanders_pgp_num_actual
mgr/DaemonServer: skip redundant update of pgp_num_actual

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-03 00:58:56 +08:00
Kefu Chai
01d3a10e22
Merge pull request #41829 from SMIL-Infra/clean-cg
cephadm: workaround unit replace failure

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-07-02 23:15:38 +08:00
Kefu Chai
9d1ca7aab8
Merge pull request #41928 from sebastian-philipp/rm-qa-qa
qa: remove `qa/.qa` symlink

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2021-07-02 23:14:56 +08:00
Kefu Chai
ff9f5def3c
Merge pull request #41943 from liewegas/qa-8-stream
qa/distro/supported: add centos 8.stream

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-02 23:14:27 +08:00
Kefu Chai
4c3d745532
Merge pull request #42146 from tchaikov/wip-crimson-cleanup
crimson/os/seastore: do not capture unused variable

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-07-02 22:59:24 +08:00
Sebastian Wagner
e16247d84b
Merge pull request #42032 from sebastian-philipp/cephadm_shared_folder_bin_cephadm
cephadm: shared folder: Mount the cephadm

Reviewed-by: Adam King <adking@redhat.com>
2021-07-02 15:17:06 +02:00
Sebastian Wagner
c301a13485
Merge pull request #41906 from mgfritch/cephadm-test-monaddrv
cephadm: add `bootstrap --mon-addrv` test

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-07-02 15:16:42 +02:00
Sebastian Wagner
6becf57aef
Merge pull request #42017 from Daniel-Pivonka/cephadm-orch-host-drain
mgr/cephadm: add ceph orch host drain and limit host removal to empty hosts

Reviewed-by: Adam King <adking@redhat.com>
2021-07-02 15:16:11 +02:00
Ernesto Puerta
21fb4b59c7
Merge pull request #41883 from rhcs-dashboard/run-dashboard-cephadm-e2e-tests
mgr/dashboard: run cephadm-backend e2e tests with KCLI

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-07-02 12:51:19 +02:00
Kefu Chai
9abfca0e59
Merge pull request #42144 from cyx1231st/wip-fix-seastore-cache2
crimson/os/seastore/cache: fix retiring mutation-pending extents

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@360.cn>
2021-07-02 16:56:24 +08:00
Alfonso Martínez
5c03b49c4d mgr/dashboard: run cephadm-backend e2e tests with KCLI
Fixes: https://tracker.ceph.com/issues/51300
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-07-02 10:08:49 +02:00
Yingxin Cheng
f0c0040274 crimson/os/seastore/cache: fix retiring mutation-pending extents
Mark the retiring mutation-pending extent as INVALID, and add it's
prior-instance to retired-set in order to populate transaction
invalidation correctly.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-07-02 13:09:38 +08:00
Kefu Chai
82553af9ce crimson/os/seastore: use map::emplace(key, val) instead of map::emplace(pair<>)
simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-02 11:57:09 +08:00
Kefu Chai
f829bb82fe crimson/os/seastore: do not capture unused variable
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-02 11:54:20 +08:00
Kefu Chai
0c741cd0bd crimson/os/seastore: read_set_t<> should be an alias of set<>
we don't extend it by inheriting from this class. what we need is to
have a convenient template alias here.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-02 11:37:07 +08:00
Samuel Just
d82a565f0e
Merge pull request #42143 from athanatos/sjust/wip-cm-omap-int-future
crimson/os/seastore: convert omap and collection_manager to interruptible future

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-01 20:34:04 -07:00
Kalpesh Pandya
3a9b43a935 rgw: DPP addition 3
Following files have been covered in this PR:

1. rgw_period_puller.cc
2. rgw_reshard.cc
3. rgw_sal_rados.cc
4. services/svc_sync_modules.cc
5. services/svc_bucket_sobj.cc
6. services/svc_notify.cc
7. rgw_acl_swift.cc
8. rgw_acl.cc
9. rgw_sync_module_aws.cc
10. rgw_tools.cc
11. services/svc_sys_obj_cache.cc
12. rgw_bucket_sync.cc

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
2021-07-02 07:41:20 +05:30
Kefu Chai
b992221342
Merge pull request #42138 from rzarzynski/wip-crimson-alienstore-indent
crimson/os: fix indentation in alien_store.cc.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-02 08:16:23 +08:00
Kefu Chai
26a0b38dc4
Merge pull request #42128 from tchaikov/wip-crimson-asock-cleanup
crimson/asock: cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-07-02 08:11:12 +08:00
Samuel Just
f61eed8579 crimson/os/seastore/omap_manager: convert to use interruptible future
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-07-01 23:59:41 +00:00
Samuel Just
43eb9902e2 crimson/os/seastore/collection_manager: convert to use interruptible_future
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-07-01 23:59:41 +00:00
Samuel Just
cd78b9770a test/crimson/seastore: clean up transaction_manager based tests
Permits using either vanilla TransactionManager and
InterruptedTransactionManager, updates users to use submit_transaction
helpers.

Signed-off-by: Samuel Just <sjust@redhat.com>
2021-07-01 23:59:38 +00:00