Whamcloud - gitweb
LU-14606 llog: hide ENOENT for cancelling record 64/43264/5
authorAlexander Boyko <alexander.boyko@hpe.com>
Mon, 12 Apr 2021 12:19:47 +0000 (08:19 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 May 2021 02:49:16 +0000 (02:49 +0000)
commit0b60647c0382426e3b4105d82d04862d2e4831cb
treec98cb0b9aa1c4b88d855a71f168c7a42efb517a7
parent2a2e8ca1ff413f925fb9c9941a9d52021c87b36b
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.

HPE-bug-id: LUS-9826
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: Id00b959e6f329c2ad34966f8a17a52f71680f24c
Reviewed-on: https://review.whamcloud.com/43264
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Reviewed-by: Andreas Dilger <adilger@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