From: Annmool Date: Thu, 2 Apr 2026 05:58:05 +0000 (+0530) Subject: vstart: disable extblkdev plugins for file-backed OSDs X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F68173%2Fhead;p=ceph.git vstart: disable extblkdev plugins for file-backed OSDs Signed-off-by: Annmool --- diff --git a/src/vstart.sh b/src/vstart.sh index 27bd15022688..f7e08f199f6c 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -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