Whamcloud - gitweb
LU-14583 llapi: handle symlinks in llapi_file_get_stripe() 29/43229/4
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 7 Apr 2021 19:11:25 +0000 (14:11 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 May 2021 02:03:28 +0000 (02:03 +0000)
commitcd4caef54f63b6a0d26a90d879f378b7fe3d4862
tree6b01b4af482abc89749d2c024404daf6d28b1604
parent8ee6e1c8825c4fabfd6c39db11081839ca53d454
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.

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