Whamcloud - gitweb
LU-14606 llog: hide ENOENT for cancelling record
authorAlexander Boyko <alexander.boyko@hpe.com>
Mon, 12 Apr 2021 12:19:47 +0000 (08:19 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 18 Jul 2021 16:38:55 +0000 (16:38 +0000)
commitaf1f1aaca3c9a2ab857e238f380d9bf4b962a073
tree7d700474639359d878813e3f732982fc1c3f6898
parent0e5a4d60bde6e0008b2c20ec639e0043cd29f0b3
LU-14606 llog: hide ENOENT for cancelling record

Llog allows parallel records processing. A record could be cancelled
at callback. If two threads processing and cancelling the same record,
one thread would get ENOENT.
The error was observed during purging changlog records.The patch
adds reproducer test sanity 160m.

This is a valid case, let's hide ENOENT error from a caller.

Lustre-change: https://review.whamcloud.com/43264
Lustre-commit: 0b60647c0382426e3b4105d82d04862d2e4831cb

HPE-bug-id: LUS-9826
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: Id00b959e6f329c2ad34966f8a17a52f71680f24c
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44333
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/obd_support.h
lustre/mdd/mdd_device.c
lustre/obdclass/llog.c
lustre/tests/sanity.sh