]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: fix CyanStore boot with crimson OSD 69331/head
authorMatan Breizman <mbreizma@redhat.com>
Mon, 8 Jun 2026 12:45:20 +0000 (15:45 +0300)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 7 Jul 2026 10:48:44 +0000 (10:48 +0000)
commit1cbf39b594e32535eae505e5c5d8168af58bff42
tree34abfc891664b2953e5c3667fc8fcc983dd3d5d1
parent6c89866b534a380fe99e2e0eae5e4b904f6e6da8
crimson/osd: fix CyanStore boot with crimson OSD

- Remove dead cyan_store.h includes from pg.cc and shard_services.cc.
- Fix CyanStore::mkfs to write type="cyanstore" instead of "memstore"
- Handle missing device class in OSD::start: stores that return an empty
  device class (e.g CyanStore) now fall back to is_rotational=false with
  a warning instead of throwing

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/os/cyanstore/cyan_store.cc
src/crimson/osd/osd.cc
src/crimson/osd/pg.cc
src/crimson/osd/shard_services.cc