From 05c3d88297fa6577284c16663e9423371868dc73 Mon Sep 17 00:00:00 2001 From: solanki Date: Mon, 5 May 2025 19:27:57 -0400 Subject: [PATCH] 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 --- lustre/utils/liblustreapi.c | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 1.8.3.1