Whamcloud - gitweb
LU-13798 llite: fix LL_SBI_FLAGS array declaration
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 28 Aug 2021 08:00:21 +0000 (02:00 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 8 Sep 2021 20:25:01 +0000 (20:25 +0000)
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 <adilger@whamcloud.com>
Change-Id: Ie7134c051e85a5a2a90dbeb3145e8d8c09f6d24e
Reviewed-on: https://review.whamcloud.com/44776
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
lustre/llite/llite_internal.h

index 793aa6f..2403f60 100644 (file)
@@ -705,6 +705,8 @@ enum stats_track_type {
        "file_heat",    \
        "test_dummy_encryption", \
        "noencrypt",    \
+       "snapshot",     \
+       "???",          \
        "parallel_dio", \
 }