Whamcloud - gitweb
LU-14905 lfsck: linkEA overflow handling fix 69/44469/3
authorVitaly Fertman <c17818@cray.com>
Mon, 2 Aug 2021 17:04:44 +0000 (20:04 +0300)
committerOleg Drokin <green@whamcloud.com>
Sun, 17 Oct 2021 18:11:28 +0000 (18:11 +0000)
commitd6732e0ebe3e94e3d768d501ab1a9d6aead5992a
treef77261e3244b055a56edaac6b6cf5e7dbce53e9e
parentd5ec719c10870458ac804b7e38ab886e9c184161
LU-14905 lfsck: linkEA overflow handling fix

An absent link in EA is not an issue and not to be fixed if EA is
overflowed. lfsck should not report it is an issue if there is no
space for this link, and should not report it is fixed whereas it
is not (linkea_add_buf() returns 0 if so without having a new entry
added into EA and lfsck_namespace_assistant_handler_p1() later
reports it is repaired).

HPE-bug-id: LUS-8810
Signed-off-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Change-Id: Iba1549045c8c3889adf55c99cdd88756e5643073
Reviewed-on: https://es-gerrit.dev.cray.com/158706
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Alexander Zarochentsev <c17826@cray.com>
Tested-by: Jenkins Build User <nssreleng@cray.com>
Reviewed-on: https://review.whamcloud.com/44469
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_linkea.h
lustre/lfsck/lfsck_namespace.c
lustre/obdclass/linkea.c