From b59d08cefced631cdc0004bbabae45178335222f Mon Sep 17 00:00:00 2001 From: Alexandre Ioffe Date: Fri, 6 Jan 2023 22:07:00 -0800 Subject: [PATCH] EX-6220 lipe: lipe_find3 has no mirror-count and stripe-count Added mirror-count and stripe-count search options Test-Parameters: trivial testlist=sanity-lipe-find3 Signed-off-by: Alexandre Ioffe Change-Id: I79c3b1cd0b1759abce248bee73676a823441825c Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49578 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu --- lipe/src/lipe_find3/lf3_parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lipe/src/lipe_find3/lf3_parse.y b/lipe/src/lipe_find3/lf3_parse.y index 2632f6b..a5a6750 100644 --- a/lipe/src/lipe_find3/lf3_parse.y +++ b/lipe/src/lipe_find3/lf3_parse.y @@ -1136,8 +1136,8 @@ static char *lf3_simple_expr(int begin, int end) X2("gid", lf3_numeric_expr("gid", begin, end)); X2("projid", lf3_numeric_expr("projid", begin, end)); X2("links", lf3_numeric_expr("nlink", begin, end)); - X2("mirror-count", lf3_numeric_expr("mirror-count", begin, end)); - X2("stripe-count", lf3_numeric_expr("stripe-count", begin, end)); + X2("mirror-count", lf3_numeric_expr("lov-mirror-count", begin, end)); + X2("stripe-count", lf3_numeric_expr("lov-stripe-count", begin, end)); X2("amin", lf3_time_expr("atime", 60, begin, end)); X2("atime", lf3_time_expr("atime", 86400, begin, end)); -- 1.8.3.1