mirror-linux/fs/quota
Marco Crivellari 7a4f92d39f
fs: replace use of system_unbound_wq with system_dfl_wq
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 lack of consistentcy cannot be addressed without refactoring the API.

system_unbound_wq should be the default workqueue so as not to enforce
locality constraints for random work whenever it's not required.

Adding system_dfl_wq to encourage its use when unbound work should be used.

The old system_unbound_wq will be kept for a few release cycles.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Link: https://lore.kernel.org/20250916082906.77439-2-marco.crivellari@suse.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-09-19 16:15:07 +02:00
..
Kconfig reiserfs: The last commit 2024-10-21 16:29:38 +02:00
Makefile quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
compat.h quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
dquot.c fs: replace use of system_unbound_wq with system_dfl_wq 2025-09-19 16:15:07 +02:00
kqid.c
netlink.c
quota.c fdget_raw() users: switch to CLASS(fd_raw) 2024-11-03 01:28:06 -05:00
quota_tree.c quota: Detect loops in quota tree 2024-02-12 14:14:49 +01:00
quota_tree.h
quota_v1.c quota: remove unneeded return value of register_quota_format 2024-07-22 18:13:44 +02:00
quota_v2.c quota: remove unneeded return value of register_quota_format 2024-07-22 18:13:44 +02:00
quotaio_v1.h quota: avoid time_t in v1_disk_dqblk definition 2019-12-16 14:15:30 +01:00
quotaio_v2.h