]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: add --debug for crimson if debug is enabled
authorSamuel Just <sjust@redhat.com>
Sat, 23 Nov 2019 02:09:25 +0000 (18:09 -0800)
committerSamuel Just <sjust@redhat.com>
Tue, 3 Dec 2019 05:35:36 +0000 (21:35 -0800)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/vstart.sh

index a2a4e35f4c09884ff2698286d18065710d98b755..00867b615f67c75e2590bc064835a1e0665eeb43 100755 (executable)
@@ -880,6 +880,9 @@ EOF
         if [ "$ceph_osd" == "crimson-osd" ]; then
             # designate a single CPU node $osd for osd.$osd
             extra_seastar_args="--smp 1 --cpuset $osd"
+            if [ "$debug" -ne 0 ]; then
+              extra_seastar_args+=" --debug"
+            fi
         fi
         run 'osd' $osd $SUDO $CEPH_BIN/$ceph_osd \
             $extra_seastar_args $extra_osd_args \