diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2022-12-06 18:04:22 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-02-01 00:40:24 +0300 |
commit | 0247f4e959c01f6ce1fcc2091c571f8c0742a065 (patch) | |
tree | d424bc8daa80fcf95202f9ffb2a60beda86099de /fs/gfs2/incore.h | |
parent | 3056dc46559bfe3fc4b79771dcbc2d003f9fd313 (diff) | |
download | linux-0247f4e959c01f6ce1fcc2091c571f8c0742a065.tar.xz |
gfs2: Move delete workqueue into super block
Move the global delete workqueue into struct gfs2_sbd so that we can
flush / drain it without interfering with other filesystems.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index cd886364b11d..6e8a5f2d6b49 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -770,6 +770,10 @@ struct gfs2_sbd { struct completion sd_journal_ready; + /* Workqueue stuff */ + + struct workqueue_struct *sd_delete_wq; + /* Daemon stuff */ struct task_struct *sd_logd_process; |