From c459e68d880773742cf4eb6adfb528a3330a113d Mon Sep 17 00:00:00 2001 From: Alexandre Ioffe Date: Mon, 13 May 2024 17:25:19 -0700 Subject: [PATCH] EX-9054 lipe: fix incorrect pool pointer usage 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 Change-Id: I436aaa2ea9eb0059c5cee00882fe4332c6e22fe5 Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55096 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alex Zhuravlev Reviewed-by: Andreas Dilger --- lipe/src/lamigo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lipe/src/lamigo.c b/lipe/src/lamigo.c index d5ebc53..55c5180 100644 --- a/lipe/src/lamigo.c +++ b/lipe/src/lamigo.c @@ -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; -- 1.8.3.1