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)
commit7e76a6d6b521777006f2903116df5f7c6883c184
treeb01607d93ad72f0c7d7106697481530ed359dcc3
parent590b654bf828ef55a14efaeb41f96a8bdc5eaf7d
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 <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