summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2024-04-11 14:13:30 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2024-05-29 15:34:55 +0200
commit30e388d573673474cbd089dec83688331c117add (patch)
tree15317683a4cf1c04c2ac3a04732ca93633d5ac70 /fs/gfs2/incore.h
parent51568ac2e9d49b66f456dacd376af308f8695497 (diff)
downloadlinux-30e388d573673474cbd089dec83688331c117add.tar.gz
linux-30e388d573673474cbd089dec83688331c117add.tar.bz2
linux-30e388d573673474cbd089dec83688331c117add.zip
gfs2: Switch to a per-filesystem glock workqueue
Switch to a per-filesystem glock workqueue. Additional workqueues are cheap nowadays, and keeping separate workqueues allows to flush the work of each filesystem without affecting the others. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 73f24b86338c..5ee46af1f4bd 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -772,6 +772,7 @@ struct gfs2_sbd {
/* Workqueue stuff */
+ struct workqueue_struct *sd_glock_wq;
struct workqueue_struct *sd_delete_wq;
/* Daemon stuff */