Whamcloud - gitweb
EX-6220 lipe: lipe_find3 has no mirror-count and stripe-count
authorAlexandre Ioffe <aioffe@ddn.com>
Sat, 7 Jan 2023 06:07:00 +0000 (22:07 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 12 Jan 2023 01:08:07 +0000 (01:08 +0000)
Added mirror-count and stripe-count search options

Test-Parameters: trivial testlist=sanity-lipe-find3
Signed-off-by: Alexandre Ioffe <aioffe@ddn.com>
Change-Id: I79c3b1cd0b1759abce248bee73676a823441825c
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49578
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
lipe/src/lipe_find3/lf3_parse.y

index 2632f6b..a5a6750 100644 (file)
@@ -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));