Whamcloud - gitweb
LU-11785 tests: fix conf-sanity/98 mount check on 64K page
authorKevin Zhao <kevin.zhao@linaro.org>
Fri, 28 Oct 2022 02:05:24 +0000 (10:05 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 4 Apr 2023 17:19:57 +0000 (17:19 +0000)
commit10542cbea42c493d2dc6f8c8877b572118b79756
treead38e3c0a762597f7d8360a026cb3d4aec010835
parenta1193bc208bc596314d2bfa608e048b58572eff7
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: TBD (from c7682adb9d021794a4aada49f15e3531d0ecea39)

Test-Parameters: trivial testlist=conf-sanity env=ONLY=98
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Change-Id: Icdeb8b73308056e216c3f4ce71907b0c928d2c30
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50506
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/conf-sanity.sh