From: solanki Date: Mon, 5 May 2025 23:27:57 +0000 (-0400) Subject: LU-18972 lustreapi: Implement llapi_lmv_get_uuids X-Git-Tag: 2.16.56~62 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=05c3d88297fa6577284c16663e9423371868dc73;p=fs%2Flustre-release.git LU-18972 lustreapi: Implement llapi_lmv_get_uuids Provide missing implementation for declared method in lustreapi Fixes: 322968acf1 ("LU-819 utils: Fix lfs getstripe -M") Test-Parameters: trivial Signed-off-by: Praveen Singh Solanki Change-Id: I561c875281de9bfc26cc61cf07631ac7d0740163 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59107 Reviewed-by: Sonia Sharma Reviewed-by: Aurelien Degremont Reviewed-by: Oleg Drokin Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/utils/liblustreapi.c b/lustre/utils/liblustreapi.c index 527f084..ada7bfe 100644 --- a/lustre/utils/liblustreapi.c +++ b/lustre/utils/liblustreapi.c @@ -2360,6 +2360,11 @@ free_param: return rc; } +int llapi_lmv_get_uuids(int fd, struct obd_uuid *uuidp, int *mdt_count) +{ + return llapi_get_target_uuids(fd, uuidp, NULL, mdt_count, LMV_TYPE); +} + int llapi_lov_get_uuids(int fd, struct obd_uuid *uuidp, int *ost_count) { return llapi_get_target_uuids(fd, uuidp, NULL, ost_count, LOV_TYPE);