Whamcloud - gitweb
EX-4141 lipe: lamigo should detect dead OST and restart ALR
authorAlexandre Ioffe <aioffe@ddn.com>
Tue, 29 Mar 2022 07:48:35 +0000 (00:48 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 23 Sep 2022 16:48:21 +0000 (16:48 +0000)
commit028bee14d2c6d8feb5eb418302f8751643e731c6
treeaad38c04aa25e040c1cdcf533908c9d3c12db49f
parent72f8e1f1d72c0ec630172de6b32baa960137fc96
EX-4141 lipe: lamigo should detect dead OST and restart ALR

Use #keepalive message and ssh read with timeout
to detect OST is down and restart ALR.
Add stats for ALR last seen message
Duplicate ofd_access_log_reader from lustre/utils into
lipe/src/es_ofd_access_log_reader
Use common lamigo_hash.h for lamigo and
es_ofd_access_log_reader

Signed-off-by: Alexandre Ioffe <aioffe@ddn.com>
Test-Parameters: trivial testlist=hot-pools
Change-Id: I26dc631a8663046821e049fc6e091108b2a62f87
Reviewed-on: https://review.whamcloud.com/46944
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John Hammond <jhammond@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
14 files changed:
lipe/.gitignore
lipe/lipe.spec.in
lipe/src/Makefile.am
lipe/src/es_ofd_access_batch.c [new file with mode: 0644]
lipe/src/es_ofd_access_batch.h [new file with mode: 0644]
lipe/src/es_ofd_access_log_reader.c [new file with mode: 0644]
lipe/src/general_policy.c
lipe/src/lamigo.c
lipe/src/lamigo.h
lipe/src/lamigo_alr.c
lipe/src/lamigo_hash.c
lipe/src/lamigo_hash.h
lipe/src/list.h
lipe/src/lstddef.h [new file with mode: 0644]