Searched hist:fe0690f0a6f190a9ec0736c01ddeba7a729cf30d (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/gfs2/ |
H A D | log.c | diff fe0690f0a6f190a9ec0736c01ddeba7a729cf30d Fri Aug 25 04:18:38 CDT 2023 Andreas Gruenbacher <agruenba@redhat.com> 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>
|
H A D | quota.c | diff fe0690f0a6f190a9ec0736c01ddeba7a729cf30d Fri Aug 25 04:18:38 CDT 2023 Andreas Gruenbacher <agruenba@redhat.com> 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>
|