Whamcloud - gitweb
LU-16893 libcfs: Remove force_sig usage from lfsck 70/51470/4
authorShaun Tancheff <shaun.tancheff@hpe.com>
Tue, 27 Jun 2023 08:10:19 +0000 (15:10 +0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Jul 2023 16:45:02 +0000 (16:45 +0000)
commitb876e22466a83dacfbbbeb90d841dc917a793666
tree58df0b0648c8535cc15825f47cd21962b749638f
parent5cc0c6b2630e955ee8a2e5c00f9837729f69c8f8
LU-16893 libcfs: Remove force_sig usage from lfsck

The lfsck pool of kernel threads uses force_sig() to signal
the worker threads to stop. A signal is used here as the
lfsck workers may be waiting in various, and possibly
nested, states.

As force_sig() has been removed let us simply enable SIGINT
to be passed to the worker threads using send_sig().

Test-parameters: testlist=sanity-lfsck,lfsck-performance
HPE-bug-id: LUS-11670
Fixes: db9f9543ec ("LU-12634 libcfs: force_sig() removed task parameter")
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ibf6a67f43687960b3eff9cb9a7c7dc8b1be1da63
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51470
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-misc.h
lustre/lfsck/lfsck_engine.c
lustre/lfsck/lfsck_lib.c