Whamcloud - gitweb
EX-7948 utils: lamigo to track mirror progress
authorAlex Zhuravlev <bzzz@whamcloud.com>
Sat, 22 Jul 2023 09:51:56 +0000 (12:51 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 6 Oct 2023 23:23:32 +0000 (23:23 +0000)
commit2490b3d32f04001e4fa52429e53e73b2f45a625a
treea77f97c879bf2ee6a0798401d511c69422f0e0a8
parente29da0c256fb2953820a03ff79a74d93700ae1f0
EX-7948 utils: lamigo to track mirror progress

pass --stats to lfs mirror/resync commands and then read
lfs's output over ssh channel.
this way we can keep ssh channel alive and interrupt
replication if it doesn't report progress.

the very first time agent is used lamigo checks whether
agent's lfs utility supports stats.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Iee5b43cb85dae62550d74667b16e00336f1bf52f
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51744
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexandre Ioffe <aioffe@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lipe/src/lamigo.c
lipe/src/lamigo.h
lipe/src/lamigo_alr.c
lipe/src/lipe_ssh.c
lipe/src/lipe_ssh.h
lipe/src/lx_log.h
lustre/tests/hot-pools.sh