From: Alexandre Ioffe Date: Tue, 14 May 2024 00:25:19 +0000 (-0700) Subject: EX-9054 lipe: fix incorrect pool pointer usage X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c459e68d880773742cf4eb6adfb528a3330a113d;p=fs%2Flustre-release.git 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 --- 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;