]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: disable extblkdev plugins for file-backed OSDs 68173/head
authorAnnmool <aydv.267@gmail.com>
Thu, 2 Apr 2026 05:58:05 +0000 (11:28 +0530)
committerAnnmool <aydv.267@gmail.com>
Thu, 2 Apr 2026 05:58:05 +0000 (11:28 +0530)
Signed-off-by: Annmool <aydv.267@gmail.com>
src/vstart.sh

index 27bd1502268823dfbf5defd0b89b3ba9cfc3fcf7..f7e08f199f6ca09ffdd0c25199a534be154b27a4 100755 (executable)
@@ -813,6 +813,7 @@ prepare_conf() {
         pid file = $CEPH_OUT_DIR/\$name.pid
         heartbeat file = $CEPH_OUT_DIR/\$name.heartbeat
 "
+    local extblkdev_conf=""
 
     local mgr_modules="iostat nfs"
     if $with_mgr_dashboard; then
@@ -863,6 +864,7 @@ prepare_conf() {
         enable experimental unrecoverable data corrupting features = *
         osd_crush_chooseleaf_type = 0
         debug asok assert abort = true
+        $(format_conf "${extblkdev_conf}")
         $(format_conf "${msgr_conf}")
         $(format_conf "${extra_conf}")
         $AUTOSCALER_OPTS
@@ -923,6 +925,10 @@ EOF
                [ ${#bluestore_wal_devs[@]} -gt 0 ]; then
                 # when use physical disk, not create file for db/wal
                 BLUESTORE_OPTS=""
+            else
+                # vstart's default file-backed OSDs are not suitable for
+                # extblkdev plugins that probe hardware capabilities.
+                extblkdev_conf="osd_extblkdev_plugins ="
             fi
         fi
         if [ "$io_uring_enabled" -eq 1 ]; then