Whamcloud - gitweb
LU-11785 tests: fix conf-sanity/98 mount check on 64K page 88/51288/2
authorKevin Zhao <kevin.zhao@linaro.org>
Fri, 28 Oct 2022 02:05:24 +0000 (10:05 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 2 Aug 2023 06:16:35 +0000 (06:16 +0000)
commit3e9a06398a168a52f72a65450e5249ed502a86cd
tree4381417336ba9229f27abd674543b8dbdca8f76f
parentd15f9619eec367805606f4a46d049e6ecb62f36d
LU-11785 tests: fix conf-sanity/98 mount check on 64K page

This patch fix the mount option length check expectation
fail on 64K page. Since the maxopt_len is the minmium
value of page_size or 64K page_size, but the test cases
only hard code the length of option to the 4K one. This
patch add the mount options according to the page size.

Lustre-change: https://review.whamcloud.com/48177
Lustre-commit: 4068ca725954db2a1fc42bf8d184f4672c2ed113

Test-Parameters: trivial testlist=conf-sanity env=ONLY=98
Test-Parameters: testlist=conf-sanity env=ONLY=98 clientarch=aarch64 clientdistro=el8.7
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Change-Id: Icdeb8b73308056e216c3f4ce71907b0c928d2c30
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: xinliang <xinliang.liu@linaro.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51288
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh