Whamcloud - gitweb
LU-14499 lnet: Revert "LU-13368 lnet: discard the callback" 37/41937/9 master
authorChris Horn <chris.horn@hpe.com>
Wed, 17 Aug 2022 18:11:58 +0000 (12:11 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Sep 2024 04:53:14 +0000 (04:53 +0000)
commitfc28666b2f648dc3d52f7ceaeb552405e17883da
treeb5d8cc215027713855df33a515dd849d3ddf1e2d
parentd306b6fe2f3d376b9dca4d0abb88230ec27b3564
LU-14499 lnet: Revert "LU-13368 lnet: discard the callback"

The changes introduced by LU-13368 have been shown to cause
the o2iblnd shutdown procedure to hang on lustre_rmmod
as it infinitely waits for peers to disconnect.

Those changes were also shown to cause a memory leak. Revert them.
This reverts commit babf0232273467b7199ec9a7c36047b1968913df.

HPE-bug-id: LUS-11089
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I489ae4af445b18df852ec35adc958c4fac33de09
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/41937
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/api.h
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c
lnet/lnet/lib-md.c
lustre/include/lustre_net.h
lustre/ptlrpc/client.c
lustre/ptlrpc/niobuf.c