Whamcloud - gitweb
LU-14606 llog: hide ENOENT for cancelling record 72/43572/5
authorAlexander Boyko <alexander.boyko@hpe.com>
Mon, 12 Apr 2021 12:19:47 +0000 (08:19 -0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 30 Jan 2022 03:41:44 +0000 (03:41 +0000)
commit73b9f32af9287c37f053ba6b072c5c1a329104d7
treeeec91f8bd1dbb55b2a0e769ccf1d983194a98d73
parent0594393491fe6b3550873a34dd5e55ea70142624
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/43572
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/mdd/mdd_device.c
lustre/obdclass/llog.c
lustre/tests/sanity.sh