Whamcloud - gitweb
LU-13941 osp: Silently lower requested create_count to maximum 67/39967/9
authorShaun Tancheff <shaun.tancheff@hpe.com>
Mon, 23 Aug 2021 14:40:39 +0000 (09:40 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 17 Oct 2021 18:11:12 +0000 (18:11 +0000)
commit06e586016d3acc490f922e43e3aee6b8112a2803
tree897d31e0f50c4cf14829cf6bafd8472519510b71
parent0daeebcbdc4e89d59221299f2687cfd3c4f00b5b
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.

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/39967
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osp/lproc_osp.c
lustre/tests/functions.sh
lustre/tests/sanity.sh