Whamcloud - gitweb
LU-18421 utils: Do not inherit stripe size from DOM component 01/57501/5
authorRajeev Mishra <rajeevm@hpe.com>
Wed, 18 Dec 2024 05:16:11 +0000 (05:16 +0000)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:28:08 +0000 (06:28 +0000)
commit478dd88f38b77d3cd63c0f931d11b57a03c50928
tree3d3b87630c726da6e3c2add43abb67a4fbfbbc5d
parentdb2a57e8ad8c5e4139635e133b25ae4241855e0e
LU-18421 utils: Do not inherit stripe size from DOM component

When a DOM file is created with multiple components,
the size of the first component is inherited by the
other components if their sizes are not explicitly specified.

This fix ensures that the size of subsequent components is
set to the default size when no size is provided.

New test added in
sanity-dom.sh:
Added test 8 to validate the creation of a default
stripe size when no stripe size is explicitly specified.

Modified test--
sanity-pfl.sh:
modified 21b test so that stripe size is 1MB
as test assumes 1MB size while doing find

Test-Parameters: testlist=sanity-dom
HPE-bug-id: LUS-12585
Signed-off-by: Rajeev Mishra <rajeevm@hpe.com>
Change-Id: I3388c289084769a96d8b87ae3a8268e5eb19a67e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57501
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-dom.sh
lustre/tests/sanity-pfl.sh
lustre/utils/lfs.c