]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge tag 'vfs-6.18-rc1.workqueue' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Sep 2025 17:27:17 +0000 (10:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Sep 2025 17:27:17 +0000 (10:27 -0700)
Pull vfs workqueue updates from Christian Brauner:
 "This contains various workqueue changes affecting the filesystem
  layer.

  Currently if a user enqueue a work item using schedule_delayed_work()
  the used wq is "system_wq" (per-cpu wq) while queue_delayed_work() use
  WORK_CPU_UNBOUND (used when a cpu is not specified). The same applies
  to schedule_work() that is using system_wq and queue_work(), that
  makes use again of WORK_CPU_UNBOUND.

  This replaces the use of system_wq and system_unbound_wq. system_wq is
  a per-CPU workqueue which isn't very obvious from the name and
  system_unbound_wq is to be used when locality is not required.

  So this renames system_wq to system_percpu_wq, and system_unbound_wq
  to system_dfl_wq.

  This also adds a new WQ_PERCPU flag to allow the fs subsystem users to
  explicitly request the use of per-CPU behavior. Both WQ_UNBOUND and
  WQ_PERCPU flags coexist for one release cycle to allow callers to
  transition their calls. WQ_UNBOUND will be removed in a next release
  cycle"

* tag 'vfs-6.18-rc1.workqueue' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  fs: WQ_PERCPU added to alloc_workqueue users
  fs: replace use of system_wq with system_percpu_wq
  fs: replace use of system_unbound_wq with system_dfl_wq

15 files changed:
1  2 
fs/btrfs/block-group.c
fs/btrfs/zoned.c
fs/ceph/super.c
fs/coredump.c
fs/fs-writeback.c
fs/fuse/dev.c
fs/fuse/inode.c
fs/gfs2/ops_fstype.c
fs/netfs/objects.c
fs/ocfs2/dlmfs/dlmfs.c
fs/smb/client/cifsfs.c
fs/smb/server/transport_rdma.c
fs/super.c
fs/verity/verify.c
fs/xfs/xfs_super.c

Simple merge
Simple merge
diff --cc fs/ceph/super.c
Simple merge
diff --cc fs/coredump.c
Simple merge
Simple merge
diff --cc fs/fuse/dev.c
Simple merge
diff --cc fs/fuse/inode.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/super.c
Simple merge
Simple merge
Simple merge