Whamcloud - gitweb
LU-18276 tests: add debugging to sanity-pfl/16b 16/59416/2
authorAndreas Dilger <adilger@whamcloud.com>
Sun, 25 May 2025 00:17:54 +0000 (18:17 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Jun 2025 23:05:59 +0000 (23:05 +0000)
commit6c01724b4cdcd3d27a412200927517864becd36e
tree9f8344df8414b1078f2b04e8f953c440e7af8229
parenta2e6846c52541da0ebb6642a336054513ecff444
LU-18276 tests: add debugging to sanity-pfl/16b

Add extra debugging messages to sanity-pfl.sh test_16b to help find
what is causing this test to fail with ENOSPC intermittently.

Reduce size of overstriped PFL file layout slightly, so that two
such components can fit within the xattr size limit, which may or
may not be the cause of the ENOSPC failures.

Print a message in llapi_layout_file_open() if ENOSPC is hit, so
that we can determine the xattr size, in case it is too large.
Move layout conversion before file open() to avoid contacting
MDS needlessly if the layout is bad.

Test-Parameters: trivial testlist=sanity-pfl env=ONLY=16b,ONLY_REPEAT=100
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Iaf347e231147041dda07277227e80f0b6f2540e5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59416
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-pfl.sh
lustre/tests/test-framework.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi_layout.c