Whamcloud - gitweb
EX-9054 lipe: fix incorrect pool pointer usage
authorAlexandre Ioffe <aioffe@ddn.com>
Tue, 14 May 2024 00:25:19 +0000 (17:25 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 14 May 2024 05:29:54 +0000 (05:29 +0000)
Use pointer to pool struct instead of pool name.

Fixes: 504b0b0b61 (EX-9054 lipe: Add SSH stats per agent)
Test-Parameters: trivial testlist=hot-pools
Signed-off-by: Alexandre Ioffe <aioffe@ddn.com>
Change-Id: I436aaa2ea9eb0059c5cee00882fe4332c6e22fe5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55096
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lipe/src/lamigo.c

index d5ebc53..55c5180 100644 (file)
@@ -4143,7 +4143,7 @@ static void lamigo_submit_sync(const struct lu_fid *fid, enum amigo_resync_type
        rj->rj_stripes = stripes;
        rj->rj_stripe_size = stripesz;
        rj->rj_resync = sync;
-       rj->rj_pool = pl->pl_pool;
+       rj->rj_pool = pl;
        /* only fast pool mirrors should be marked "prefer" */
        rj->rj_mirror_opts = pl->pl_is_fast ? "prefer" : NULL;
        rj->rj_callback = lamigo_alr_mirror_cb;