Whamcloud - gitweb
LU-17814 utils: Add deep copy of find_param 94/57294/15
authorPatrick Farrell <pfarrell@whamcloud.com>
Thu, 5 Dec 2024 04:08:38 +0000 (23:08 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Jun 2025 06:38:34 +0000 (06:38 +0000)
commit8f2fb73bc7ff7384e9cbfebe798329e7736ec4cf
tree62d1841fa24d793de51a73a0f0f85c6882d8e13b
parentf8925cd850823a3fe41724f706d33574b67f26a8
LU-17814 utils: Add deep copy of find_param

Need to copy find_param for each work unit.

Technically not all fields need to be copied, but a bunch
do and it's much easier to copy the whole thing than work
out precisely which fields need to be copied.

Plus that is fragile to future changes, this should be more
robust.

Test-Parameters: trivial
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I7fbf909b3fc88ca4a4300abc7e4ccea776fff629
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57294
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Marc Vef <mvef@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/liblustreapi_pfind.c