Commit Graph

145625 Commits

Author SHA1 Message Date
Kefu Chai
02bd5e1b7f cmake: : link shec_utils against legacy-option-headers
in c24a6ffe20, we tried to link all target dependent on legacy option
headers against legacy-option-headers, but we missed some of them.
in our CI, we spotted build failure like:
```
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/erasure-code/ErasureCode.cc:26:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/osd/osd_types.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/ceph_context.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/config_proxy.h:6:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/config.h:27:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/config_values.h:59:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/common/options/legacy_config_opts.h:1:10: fatal error: 'global_legacy_options.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
so in this change, we link the shec_utils to `legacy-option-headers`
as well to fulfill the build dependency.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2024-05-24 17:53:33 +08:00
Zac Dover
de7b8ac030
Merge pull request #57633 from mcv21/patch-1
Docs: clarify use of location: in host spec

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
2024-05-23 11:26:07 +10:00
Patrick Donnelly
c3463d5005
Merge PR #57493 into main
* refs/pull/57493/head:
	qa/cephfs: pass MDS name, not FS name, to "ceph mds fail" cmd

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-22 21:18:17 -04:00
Patrick Donnelly
eb10f3df6e
Merge PR #57469 into main
* refs/pull/57469/head:
	mds: set dispatcher order
	mds: use regular dispatch for processing beacons
	msg: add priority to dispatcher invocation order
	mds: note when dispatcher is called

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
2024-05-22 21:16:32 -04:00
Patrick Donnelly
6b2942f89e
Merge PR #57392 into main
* refs/pull/57392/head:
	common/Formatter: use CachedStackStringStream for efficiency

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2024-05-22 21:15:57 -04:00
Patrick Donnelly
8b6d0c77a6
Merge PR #57374 into main
* refs/pull/57374/head:
	common/Formatter: trivial cons/des should be default

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2024-05-22 21:15:33 -04:00
Patrick Donnelly
3767887144
Merge PR #57215 into main
* refs/pull/57215/head:
	doc: document new --output-file switch
	test/cli: ignore tmp_file_template
	qa/workunits: add --output-file test in cephtool workunit
	common,ceph: add output file switch to dump json to
	common/options: add configs for temporary files made by daemons
	common/Formatter: write the pending string on flush

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2024-05-22 21:15:07 -04:00
Patrick Donnelly
8a59d49311
Merge PR #57170 into main
* refs/pull/57170/head:
	client: set LIBMOUNT_FORCE_MOUNT2=always

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-22 21:12:24 -04:00
Patrick Donnelly
52d39c3398
Merge PR #57081 into main
* refs/pull/57081/head:
	messages/MClientMetrics: increase priority ahead of regular requests
	mds: use regular dispatch for processing metrics

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-05-22 21:11:52 -04:00
Dan Mick
f7240f874c
Merge pull request #57642 from dmick/wip-release-doc
doc/dev/release-process.rst: note new 'project' arguments
2024-05-22 17:59:16 -07:00
Dan Mick
7e64c6386e doc/dev/release-process.rst: note new 'project' arguments
Support added to the release scripts (from ceph-build.git) to
work for ceph-iscsi, so 'project' must be passed to these scripts,
and will appear in the prerelease pathnames.  See also
https://github.com/ceph/ceph-build/pull/2243 and
https://github.com/ceph/ceph-container/pull/2210

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2024-05-22 16:14:16 -07:00
Casey Bodley
c7a49fa2f3
Merge pull request #57575 from cbodley/wip-rgw-maintainers-ali
rgw: remove Ali Maredia from MAINTAINERS.md

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2024-05-22 22:25:49 +01:00
Matthew Vernon
2366391cce doc: clarify use of location: in host spec
It wasn't clear that you can specify more than one element of the CRUSH hierarchy in a spec file, nor that it might be useful to do so (e.g. to ensure the host ends up beneath the default root).

So update the text to make it clearer, and similarly the example.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
2024-05-22 16:52:20 +01:00
Radoslaw Zarzynski
7aec00165b
Merge pull request #57616 from Matan-B/wip-matanb-fix-python-tests
test/pybind/test_rados.py: fix test_list_objects

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2024-05-22 17:41:16 +02:00
Matan Breizman
8b7694ad79 test/pybind/test_rados.py: fix test_list_objects
Commit 6662e6bc21 accidentally removed a line from this test.

```
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:=================================== FAILURES ===================================
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:_________________________ TestIoctx.test_list_objects __________________________
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:self = <test_rados.TestIoctx object at 0x7fddcc6924c0>
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:    def test_list_objects(self):
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.write('b', b'foo')
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.write_full('c', b'bar')
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.append('d', b'jazz')
2024-05-21T14:06:10.464 INFO:tasks.workunit.client.0.smithi031.stdout:        object_names = [obj.key for obj in self.ioctx.list_objects()]
2024-05-21T14:06:10.464 INFO:tasks.workunit.client.0.smithi031.stdout:>       eq(sorted(object_names), ['a', 'b', 'c', 'd'])
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-05-22 09:54:36 +00:00
Casey Bodley
b7328fed0e
Merge pull request #55592 from cbodley/wip-boost-asio-spawn
rgw: switch back to boost::asio for spawn() and yield_context

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2024-05-21 21:24:22 +01:00
Casey Bodley
26e6bb0b4b
Merge pull request #57152 from sajibreadd/wip-61887
s3: placement target is added in GetBucketLocation api response as header

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2024-05-21 18:32:25 +01:00
Casey Bodley
2f6db3566e
Merge pull request #57409 from Suyashd999/fix-uam1
current_status is being used after moving.

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2024-05-21 18:32:07 +01:00
Casey Bodley
744b88ce9a
Merge pull request #57249 from cbodley/wip-65668
rgw/notify: decouple add/remove_persistent_topic() from Manager

Reviewed-by: Krunal Chheda <kchheda3@bloomberg.net>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2024-05-21 18:31:24 +01:00
Nizamudeen A
d11b25ed0f
Merge pull request #56014 from badone/wip-tracker-63591-pyyaml-cython_sources
install-deps: Update Pyyaml version

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-05-21 12:00:53 -04:00
Rishabh Dave
a7d580f9e7
Merge pull request #57529 from rishabh-d-dave/ptl-no-ceph-ci-push
ptl-tool: allow not pushing branch to ceph-ci

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-21 14:04:39 +05:30
Yingxin
681c4c5ea1
Merge pull request #55831 from xxhdx1985126/wip-seastore-lba-pointer-consolidation
crimson/os/seastore: lba pointer consolidation

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-05-21 11:00:59 +08:00
Yingxin
75dca86150
Merge pull request #57262 from xxhdx1985126/wip-seastore-clone-remap-refcount
crimson/os/seastore/lba_manager: don't increase intermediate mappings' refcount if LBAManager::clone_mapping() is called to remap mappings

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-05-21 10:57:37 +08:00
Patrick Donnelly
9969477434
Merge PR #57552 into main
* refs/pull/57552/head:
	mds/queisce-db: collect acks while bootstrapping

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-20 22:42:22 -04:00
Patrick Donnelly
9d3f5909ef
Merge PR #57332 into main
* refs/pull/57332/head:
	mds/quiesce: drop remote authpins before waiting for the quiesce lock
	qa/cephfs/test_quiesce: test proper handling of remote authpins
	mds: don't clear `AUTHPIN_FROZEN` until `FROZEN` in rename_prep
	mds: enhance the `lock path` asok command
	mds/quiesce: overdrive fragmenting that's still freezing
	revert: mds: provide a mechanism to authpin while freezing
	qa/cephfs/test_quiesce: enhance the fragmentation test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-20 22:38:44 -04:00
Kefu Chai
d63855cdb6
Merge pull request #57583 from tchaikov/cmake-legacy-headers
cmake: link rados_snap_set_diff_obj and krbd against legacy-option-headers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2024-05-21 10:24:33 +08:00
Kefu Chai
d66dabfe75 cmake: link rados_snap_set_diff_obj and krbd against legacy-option-headers
in c24a6ffe20, we tried to link all target dependent on legacy option
headers against legacy-option-headers, but we missed some of them.
in our CI, we spotted build failure like:
```
FAILED: src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o
/usr/bin/ccache /usr/bin/clang++-14 -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/home/jenkins-build/build/workspace/ceph-api/build/src/include -I/home/jenkins-build/build/workspace/ceph-api/src -isystem /opt/ceph/include -isystem /home/jenkins-build/build/workspace/ceph-api/build/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/api/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/ext/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/sdk/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/xxHash -isystem /home/jenkins-build/build/workspace/ceph-api/src/fmt/include -g -Werror -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DBOOST_PHOENIX_STL_TUPLE_H_ -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wno-inconsistent-missing-override -Wno-mismatched-tags -Wno-unused-private-field -Wno-address-of-packed-member -Wno-unused-function -Wno-unused-local-typedef -Wno-varargs -Wno-gnu-designator -Wno-missing-braces -Wno-parentheses -Wno-deprecated-register -DCEPH_DEBUG_MUTEX -D_GLIBCXX_ASSERTIONS -fdiagnostics-color=auto -std=c++20 -MD -MT src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o -MF src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o.d -o src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o -c /home/jenkins-build/build/workspace/ceph-api/src/librados/snap_set_diff.cc
In file included from /home/jenkins-build/build/workspace/ceph-api/src/librados/snap_set_diff.cc:7:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/ceph_context.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config_proxy.h:6:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config.h:27:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config_values.h:59:
/home/jenkins-build/build/workspace/ceph-api/src/common/options/legacy_config_opts.h:7:10: fatal error: 'osd_legacy_options.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[111/1748] Generating immutable-object-cache_options.cc, ../../../include/immutable-object-cache_legacy_options.h
[112/1748] Building CXX object src/CMakeFiles/krbd.dir/krbd.cc.o
FAILED: src/CMakeFiles/krbd.dir/krbd.cc.o
/usr/bin/ccache /usr/bin/clang++-14 -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/home/jenkins-build/build/workspace/ceph-api/build/src/include -I/home/jenkins-build/build/workspace/ceph-api/src -isystem /opt/ceph/include -isystem /home/jenkins-build/build/workspace/ceph-api/build/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/api/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/ext/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/sdk/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/xxHash -isystem /home/jenkins-build/build/workspace/ceph-api/src/fmt/include -g -Werror -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DBOOST_PHOENIX_STL_TUPLE_H_ -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wno-inconsistent-missing-override -Wno-mismatched-tags -Wno-unused-private-field -Wno-address-of-packed-member -Wno-unused-function -Wno-unused-local-typedef -Wno-varargs -Wno-gnu-designator -Wno-missing-braces -Wno-parentheses -Wno-deprecated-register -DCEPH_DEBUG_MUTEX -D_GLIBCXX_ASSERTIONS -fdiagnostics-color=auto -std=c++20 -MD -MT src/CMakeFiles/krbd.dir/krbd.cc.o -MF src/CMakeFiles/krbd.dir/krbd.cc.o.d -o src/CMakeFiles/krbd.dir/krbd.cc.o -c /home/jenkins-build/build/workspace/ceph-api/src/krbd.cc
In file included from /home/jenkins-build/build/workspace/ceph-api/src/krbd.cc:44:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/mon/MonMap.h:28:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/mon/mon_types.h:20:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/include/Context.h:19:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/dout.h:29:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/ceph_context.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config_proxy.h:6:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config.h:27:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config_values.h:59:
/home/jenkins-build/build/workspace/ceph-api/src/common/options/legacy_config_opts.h:11:10: fatal error: 'rgw_legacy_options.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```

so in this change, we link the related targets to
`legacy-option-headers` as well to fulfill the build dependency.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2024-05-21 07:49:58 +08:00
Leonid Usov
5692f7f55e mds/quiesce: drop remote authpins before waiting for the quiesce lock
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65802
2024-05-21 00:10:20 +03:00
Leonid Usov
bed8a47b80 qa/cephfs/test_quiesce: test proper handling of remote authpins
When a request is blocked on the quiesce lock, it should release
all remote authpins, especially those that make an inode AUTHPIN_FROZEN

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-05-21 00:10:20 +03:00
Leonid Usov
86d6533351 mds: don't clear AUTHPIN_FROZEN until FROZEN in rename_prep
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-05-21 00:10:19 +03:00
Leonid Usov
3552fc5a9e mds: enhance the lock path asok command
* when the quiesce lock is taken by this op, don't consider the inode `quiesced`
* drop all locks taken during traversal
* drop all local authpins after the locks are taken
* add --await functionality that will block the command until locks are taken or an error is encountered
* return the RC that represents the operation result. 0 if the operation was scheduled and hasn't failed so far
* add authpin control flags
** --ap-freeze - to auth_pin_freeze the target inode
** --ap-dont-block - to pass auth_pin_nonblocking when acquiring the target inode locks

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-05-21 00:10:19 +03:00
Leonid Usov
8b6440652d mds/quiesce: overdrive fragmenting that's still freezing
Quiesce requires revocation of capabilities,
which is not working for a freezing/frozen nodes.
Since it is best effort, abort an ongoing fragmenting
for the sake of a faster quiesce.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65716
2024-05-21 00:10:19 +03:00
Leonid Usov
bf760602a4 revert: mds: provide a mechanism to authpin while freezing
This is a functional revert of a9964a7ccc
git revert was giving too many conflicts, as the code has changed
too much since the original commit.

The bypass freezing mechanism lead us into several deadlocks,
and when we found out that a freezing inode defers reclaiming
client caps, we realized that we needed to try a different approach.
This commit removes the bypass freezing related changes to clear way
for a different approach to resolving the conflict between quiesce
and freezing.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-05-21 00:10:19 +03:00
Leonid Usov
2b2af17ae4 qa/cephfs/test_quiesce: enhance the fragmentation test
Repeatedly quiesce under a heavy balancer load

Fixes: https://tracker.ceph.com/issues/65716
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-05-21 00:10:19 +03:00
Casey Bodley
8becd3e43f rgw: remove Ali Maredia from MAINTAINERS.md
Ali has moved on to another project

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-05-20 14:49:16 -04:00
Neha Ojha
acdd6bc00b
Merge pull request #57414 from neha-ojha/wip-milestone-squid
.github/milestone.yml: add squid

Reviewed-by: Laura Flores <lflores@redhat.com>
2024-05-20 10:56:43 -04:00
Rishabh Dave
b59202aaca src/ptl-tool: allow not pushing branch to ceph-ci
Sometimes we need a branch but don't want to launch builds on shaman for
it. For such cases, provide an option that allows not pushing the branch
to ceph-ci.

Creating a branch that'll only be passed to "teuthology-suite" option
"--suite-branch" is an example of such a case.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2024-05-20 11:05:13 +05:30
Xuehan Xu
bfc2abae90 crimson/os/seastore/btree: drop FixedKVNode::child_pos_for_key()
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:19:54 +08:00
Xuehan Xu
dca239f84c crimson/os/seastore/btree: better UT checks
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:19:54 +08:00
Xuehan Xu
9bb054b30f crimson/os/seastore/btree: correct lba pointer comments
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:19:54 +08:00
Xuehan Xu
211ca3792e crimson/os/seastore/cached_extent: EXIST_MUTATION_PENDING also
considered as mutatione_pending

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:19:54 +08:00
Xuehan Xu
d4c78f1524 crimson/os/seastore/cached_extent: adjust
CachedExtent::on_replace_prior()

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:19:54 +08:00
Xuehan Xu
72d721ad72 crimson/os/seastore/btree: misc consolidations
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:19:54 +08:00
Xuehan Xu
fecf501c41 crimson/os/seastore/cache: drop unnecessary friend declarations
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:19:54 +08:00
Xuehan Xu
1b8a781f66 crimson/os/seastore/btree: add CachedExtent::on_rewrite() and
CachedExtent::is_rewrite()

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:19:51 +08:00
Xuehan Xu
4b155f3ee5 crimson/os/seastore/lba_manager: extents pass to LBALeafNode::update()
must either has a null parent tracker or point to the current leaf node

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 11:12:44 +08:00
Xuehan Xu
4b4d04bef2 crimson/os/seastore/lba_manager: hide incref_extent(t, addr, delta)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-05-20 10:45:25 +08:00
Leonid Usov
d6fb8755ca mds/queisce-db: collect acks while bootstrapping
Keeping the acks that come in will allow processing them
immediately after the bootstrap is over, avoiding unnecessary
set state transitions.

Fixes: https://tracker.ceph.com/issues/66119
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-05-20 00:55:47 +03:00
Kefu Chai
5e689efb37
Merge pull request #57011 from tchaikov/wip-cmake-legacy-option-header
cmake: link against legacy-option-headers instead of depending on it

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2024-05-19 21:56:02 +08:00
Zac Dover
0434d879d2
Merge pull request #57542 from zdover23/wip-doc-2024-05-18-ceph-fs-volumes-subvolume-quiesce-squid-note
doc/cephfs: Squid and later - subvolume quiesce

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-05-19 21:09:06 +10:00