From 7e76a6d6b521777006f2903116df5f7c6883c184 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Sat, 28 Aug 2021 02:00:21 -0600 Subject: [PATCH] LU-13798 llite: fix LL_SBI_FLAGS array declaration Fix the LL_SBI_FLAGS to string mapping array. On master this has "foreign_symlink" and "foreign_symlink_upcall" before the "parallel_dio" option, but those do not exist on b_es6_0. Instead, there is "snapshot" in one of those slots, and the second is unused. Since these are in-memory flags only, the actual values are not critical, and there is a patch in-flight to clean up this code to be more robust. In the meantime, what is important is that LL_SBI_PARALLEL_DIO has the proper "parallel_dio" string in the right spot. Test-Parameters: trivial Fixes: 00152903a180 ("LU-13798 llite: parallelize direct i/o issuance") Signed-off-by: Andreas Dilger Change-Id: Ie7134c051e85a5a2a90dbeb3145e8d8c09f6d24e Reviewed-on: https://review.whamcloud.com/44776 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Jian Yu --- lustre/llite/llite_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/llite/llite_internal.h b/lustre/llite/llite_internal.h index 793aa6f..2403f60 100644 --- a/lustre/llite/llite_internal.h +++ b/lustre/llite/llite_internal.h @@ -705,6 +705,8 @@ enum stats_track_type { "file_heat", \ "test_dummy_encryption", \ "noencrypt", \ + "snapshot", \ + "???", \ "parallel_dio", \ } -- 1.8.3.1