From: Andreas Dilger Date: Sat, 28 Aug 2021 08:00:21 +0000 (-0600) Subject: LU-13798 llite: fix LL_SBI_FLAGS array declaration X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7e76a6d6b521777006f2903116df5f7c6883c184;p=fs%2Flustre-release.git 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 --- 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", \ }