Whamcloud - gitweb
LU-14583 llapi: handle symlinks in llapi_file_get_stripe()
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 7 Apr 2021 19:11:25 +0000 (14:11 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 16 Jun 2022 20:23:24 +0000 (20:23 +0000)
commit2533f5bba5271a915d371a21ece2d0eaa0badf7f
tree71531034a2f2f199eb2036b3fbe13b3d03c4169f
parent6811185b251782e8acb391feabd626e0927c0eb1
LU-14583 llapi: handle symlinks in llapi_file_get_stripe()

In llapi_file_get_stripe(), if the IOC_MDC_GETFILESTRIPE ioctl handler
returns -ENOTTY or -ENODATA then try to resolve any symlinks in the
path and try again.

Lustre-change: https://review.whamcloud.com/43229
Lustre-commit: cd4caef54f63b6a0d26a90d879f378b7fe3d4862

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: Ic046d6ef77d8342d47336144e3066cab3a940a96
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/47588
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/liblustreapi.c