Whamcloud - gitweb
LU-16501 lod: add qos_ost_weights to debugfs
[fs/lustre-release.git] / lustre / tests / sanity.sh
index d23cd11..5316c1e 100755 (executable)
@@ -19517,6 +19517,16 @@ test_205e() {
 }
 run_test 205e "verify the output of lljobstat"
 
+test_205f() {
+       verify_yaml_available || skip_env "YAML verification not installed"
+
+       # check both qos_ost_weights and qos_mdt_weights
+       do_facet mds1 $LCTL get_param -n lod.*.qos*weights
+       do_facet mds1 $LCTL get_param -n lod.*.qos*weights | verify_yaml ||
+               error "qos_ost_weights is not valid YAML"
+}
+run_test 205f "verify qos_ost_weights YAML format "
+
 # LU-1480, LU-1773 and LU-1657
 test_206() {
        mkdir -p $DIR/$tdir
@@ -29623,7 +29633,6 @@ test_906() {
 }
 run_test 906 "Simple test for io_uring I/O engine via fio"
 
-
 complete $SECONDS
 [ -f $EXT2_DEV ] && rm $EXT2_DEV || true
 check_and_cleanup_lustre