diff options
author | 2023-08-25 11:18:38 +0200 | |
---|---|---|
committer | 2023-09-05 15:58:17 +0200 | |
commit | fe0690f0a6f190a9ec0736c01ddeba7a729cf30d (patch) | |
tree | be579cb6b52703667dda859700f46ff23a97d794 /tools/perf/scripts/python | |
parent | gfs2: Switch to wait_event in gfs2_quotad (diff) | |
download | linux-rng-fe0690f0a6f190a9ec0736c01ddeba7a729cf30d.tar.xz linux-rng-fe0690f0a6f190a9ec0736c01ddeba7a729cf30d.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions