Whamcloud - gitweb
LU-5170 utils: Continue on error when multiple files requested 63/30663/16
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Fri, 3 Mar 2023 13:17:52 +0000 (16:17 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Mar 2023 06:05:59 +0000 (06:05 +0000)
commit4affa48f676b9ecb47b9827e82f76a09587ceea1
treeb8aae9646274a2d31e919089327c39eb56bd1ee0
parent716675fff642655c4d4715654b0b4880b96139b6
LU-5170 utils: Continue on error when multiple files requested

For lfs commands that accept multiple file arguments, processing
continues even if any of the files generates an error, instead
of immediately aborting. This follows the Unix convention of
attempting to process all requested files. Any relevant error
messages are reported as they are encountered.

Signed-off-by: Steve Guminski <stephenx.guminski@intel.com>
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: I1bcfc18d17c76505796b8e367224d01f48731d9f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/30663
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lfs.c
lustre/utils/liblustreapi.c