Radoslaw Zarzynski
9245c7650d
crimson/osd: snap trimming informs OpsExecuter about altered objects
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:05 +00:00
Radoslaw Zarzynski
ad22a9a228
common: add debugs to crimson's green_condition_variable
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:05 +00:00
Radoslaw Zarzynski
9ce59d7648
crimson/osd: drop unused declaration of PG::fill_op_params_bump_pg_version()
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:05 +00:00
Radoslaw Zarzynski
5d6dd2cba8
osd: SnapMapper::OSDriver uses crimson's interruptor::green_get().
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
301b2c6b8a
crimson/common: bring green_get() to interruptor
...
The rationale
=============
Calling `get()` on an unavailable future can result in yielding
the reactor, so -- from the interruptor's POV -- the interrupt
condition must be handled exactly like it is done for `yield()`.
Interruptor takes care about that but, at the moment, only for the
interruptible futures; there is mechanism for plain `seastar::future`.
This patch paves the way for handling them as well.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
dccca6beb9
crimson/common: trace management of interrupt_cond in interruptor::async()
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
b9b4101571
crimson/common: fix method name in interrupt_cond_t::reset()'s debugs
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
ab9bd2430f
osd: fix intersecion of green threads and interuptible
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
3e5c64a92d
crimson/osd: wire SnapMapper::add_oid() with OpsExecuter
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
f6059ed582
crimson/osd: settle snap_trimq in PG and wire it up
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
cb2f8325e8
crimson/osd: settle SnapMapper within crimson'o PG
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
e57d3bb082
crimson/osd: PerShardState::start_operation() doesn't assume Ret is seastar::future<>
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
0a0b5f8ddc
crimson/osd: implement SnapMapper::OSDriver for crimson
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
a9b270baa0
crimson/ertr: let ErrVisitorT return plain value if ValueFuncT returns seastar::future
...
The following corner case was unsupported till now:
```cpp
return os->omap_get_values(
ch, hoid, keys
).safe_then([] (FuturizedStore::omap_values_t&& vals) {
return 0;
}, FuturizedStore::read_errorator::all_same_way([] (auto&) {
return -1;
})).get();
```
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
89b322d387
common/ceph_mutex: add green thread-requiring condition variable for crimson
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
8c01fa651e
crimson/osd, osd: share SnapMapper with crimson
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
c77fb5f815
osd: drop the scrub_purged_snaps() declaration from SnapMapper
...
Nowadays this is a dead code; the actual definition is in `OSD`.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
742cb2efb1
crimson/osd: SnapMapper::record_purged_snaps() takes abstratced store and txn
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
3fef67bf36
crimson/osd: convert SnapMapper::record_purged_snaps() to OSTransaction
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
3da8d3f69c
crimson/osd: initialize OSDriver in SnapMapper::record_purged_snaps()
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
6f7ed37496
common, osd: switch SnapMapper::_lookup_purged_snap to use OSDriver
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
609dca58dc
crimson/osd: fix debug in Orderer::clear_and_cancel()
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
3d48489f4b
osd: don't build unnecessary parts of SnapMapper for crimson
...
This commits skips building two call-sites of `omap_get_iterator()`
of `ObjectStore` which are bypassing the `OSDriver` abstraction
layer.
1. `SnapMapper::convert_legacy()` likely never be needed by
crimson and we can leave it unchanged.
2. `SnapMapper::Subber` isn't needed right now but will be
needed in the future.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radosław Zarzyński
972af821bb
crimson/osd: bring SnapTrimObjSubEvent
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radosław Zarzyński
116c04595b
crimson/osd: wire SnapTrimEvent with SnapMapper up
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
83043ca789
crimson/osd: bring SubOpBlocker to SnapTrimEvent
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
b224749643
crimson/osd: implement the basics of SnapTrimEvent
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
1650b392cf
crimson/osd/osd_operations: flatten indentation of InternalClientRequest
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
d3043ed76c
crimson/osd: drop the residue of CompoundPeeringRequest
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
f3cfe84c17
crimson/osd: simplify ShardServices::snap_request_reservation()
...
`on_preempt` is not used by snap trimming; we can left its default.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
806aa25960
crimson/osd: bring the skeleton of SnapTrimEvent
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
ba60d84e7b
crimson/osd: settle snap_reserver within ShardServices
...
This bit will be used by the upcoming `SnapTrimRequest`.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
c9bdfdc1a4
crimson/osd: move the SnapTrimmer-related handlers of PeeringState from .h to .cc
...
This commit is solely about code shuffling.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:21:56 +00:00
Adam King
33284b3be8
Merge pull request #49836 from rkachach/fix_issue_58548
...
cephadm: using ip instead of short hostname for prometheus urls
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2023-02-28 09:31:21 -05:00
Adam King
ba1277c371
Merge pull request #50083 from adk3798/pids-limit
...
cephadm: set pids-limit unlimited for all ceph daemons
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
2023-02-28 09:28:34 -05:00
Venky Shankar
222c3e0269
Merge PR #50268 into main
...
* refs/pull/50268/head:
mds: memset the head by default to fix the readable.sh test failure
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-02-28 19:15:32 +05:30
Adam King
4040af32b7
Merge pull request #46601 from rkachach/fix_issue_55814
...
mgr/cephadm: adding support for a secure ceph monitoring stack
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-02-28 08:41:50 -05:00
Ilya Dryomov
188d7e7ab9
Merge pull request #50006 from idryomov/wip-58647
...
mon/MgrMap: dump last_failure_osd_epoch and active_clients at top level
Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-02-28 13:31:02 +01:00
Ernesto Puerta
1223e590e0
Merge pull request #50285 from ceph/epuertat-patch-1
...
.github: update add-to-project action
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-02-28 12:41:56 +01:00
Nizamudeen A
ed0e876373
Merge pull request #50299 from rhcs-dashboard/fix-broken-styles-crud
...
mgr/dashboard: minor fixes to crud form UI
Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-02-28 16:27:32 +05:30
Yingxin
a36ad053ca
Merge pull request #50085 from myoungwon/wip-fix-initialization-vstart-rbm
...
crimson/os/seastore: RBM fixes during vstart startup time
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-02-28 16:33:32 +08:00
Venky Shankar
dec35de185
Merge PR #50197 into main
...
* refs/pull/50197/head:
cephfs-top: navigate to home screen while selecting sort field, if no filesystems.
cephfs-top: display_menu() isn't triggered when all fs' are removed
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-02-28 12:31:59 +05:30
Nizamudeen A
930abb78f2
mgr/dashboard: minor fixes to crud form UI
...
Fixes: https://tracker.ceph.com/issues/58864
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-02-28 11:48:16 +05:30
Anthony D'Atri
6e1117b2b7
Merge pull request #50295 from zdover23/wip-doc-2023-02-28-radosgw-multisite-zonegroup-correction-and-formatting
...
doc/radosgw: s/zone group/zonegroup/g et alia
2023-02-28 01:02:03 -05:00
Yingxin
8df7ad7234
Merge pull request #50273 from cyx1231st/wip-seastore-fix-submitter-roll-segment
...
crimson/os/seastore/journal: allow pending i/o in a full record_submitter when rolling the segment 2
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-02-28 13:29:36 +08:00
Zac Dover
d1f2e9f3a6
doc/radosgw: s/zone group/zonegroup/g et alia
...
s/zone group/zonegroup/ where simple greps failed to find instances of
"zone group" that were spread across two lines; break a paragraph into
two paragraphs so that each paragraph has a thematic idea of its own.
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-28 12:55:08 +10:00
zdover23
facacdff0f
Merge pull request #50276 from zdover23/wip-doc-2023-02-27-radosgw-multisite-caption-zone-data-replication
...
doc/rgw: caption a diagram
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-02-28 12:10:02 +10:00
Laura Flores
fdc1a21c7c
Merge pull request #48010 from ljflores/wip-lflores-primary-balancer
...
osd, tools, test/osd: implement read balancer
2023-02-27 17:55:52 -06:00
Laura Flores
fac345d9fe
Merge pull request #49482 from amathuria/wip-amathuria-mclock-high-prio-queue
...
mClock: Add ability to handle high priority operations
2023-02-27 17:55:43 -06:00
Ilya Dryomov
7b5e16130a
mon/MgrMap: dump last_failure_osd_epoch and active_clients at top level
...
Currently last_failure_osd_epoch and active_clients are dumped in the
always_on_modules dictionary in "ceph mgr dump" output. This goes back
to when these fields were added in commits f2986a4400
("mon/MgrMonitor:
blacklist previous instance") and df507cde8d
("mgr: forward RADOS
client instances for potential blacklist") but is wrong as these fields
have nothing to do with always-on modules.
Fixes: https://tracker.ceph.com/issues/58647
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-02-27 21:17:04 +01:00