diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-08-25 11:18:38 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-09-05 15:58:17 +0200 |
commit | fe0690f0a6f190a9ec0736c01ddeba7a729cf30d (patch) | |
tree | be579cb6b52703667dda859700f46ff23a97d794 /lib/test_bits.c | |
parent | e4a8b5481c59a3f1252f595330c2d2cd038886b2 (diff) |
gfs2: Sanitize kthread stopping
Immediately stop the logd and quotad kernel threads when a filesystem
withdraw is detected: those threads aren't doing anything useful after a
withdraw. (Depends on the extra logd and quotad task struct references
held since commit 7a109f383fa3 ("gfs2: Fix asynchronous thread
destruction").)
In addition, check for kthread_should_stop() in the wait condition in
gfs2_quotad() to stop immediately when kthread_stop() is called.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'lib/test_bits.c')
0 files changed, 0 insertions, 0 deletions