]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: use configured device type to select segment manager 68358/head
authorRonen Friedman <rfriedma@redhat.com>
Mon, 13 Apr 2026 15:17:26 +0000 (15:17 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 16 May 2026 07:32:49 +0000 (07:32 +0000)
commit7f739adae214bb6d8c7d1ed2fe71f83a2ba5a089
treecd08637f123584732e52168b653876b3714808e9
parentee6c3638b11819cb1a4cc3a200460baf421666cc
crimson/os/seastore: use configured device type to select segment manager

In get_segment_manager(), trust the user-specified device type rather
than probing the device for ZNS zones. This simplifies the
device type selection. More important:  the change avoids opening a block
file which was not yet created by the mkfs (we start() seastore then
call mkfs. but starting seastore requires creating the right segment
manager. And, currently, we probe the not-yet-created block file in mkfs()
when trying to create it.)

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Co-authored-by: Kefu Chai <k.chai@proxmox.com>
src/crimson/os/seastore/segment_manager.cc