Whamcloud - gitweb
LU-13941 osp: Silently lower requested create_count to maximum
authorShaun Tancheff <shaun.tancheff@hpe.com>
Mon, 23 Aug 2021 14:40:39 +0000 (09:40 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 5 Nov 2023 10:42:24 +0000 (10:42 +0000)
commita9e003520652394ae24844ca80ef1f1172a800e8
tree631d080b74c1b952287c2a5ee2264651e17672cf
parentb489a2a39745eedb40261802b0f81b6ffa6495e4
LU-13941 osp: Silently lower requested create_count to maximum

When setting create_count it should silently accept a larger value
and truncate it to the current maximum.

This would avoid issues if that limit is changed in the future.

Lustre-change: https://review.whamcloud.com/39967
Lustre-commit: 06e586016d3acc490f922e43e3aee6b8112a2803

HPE-bug-id: LUS-5960
Test-Parameters: trivial testlist=parallel-scale,sanity
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I4727ba6fca747e1ae9850188ef63c7abb89904be
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52967
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osp/lproc_osp.c
lustre/tests/functions.sh
lustre/tests/sanity.sh