* [PATCH] btrfs: rename btrfs_discard workqueue to btrfs-discard
@ 2025-04-29 10:56 David Sterba
2025-04-29 11:50 ` Johannes Thumshirn
0 siblings, 1 reply; 2+ messages in thread
From: David Sterba @ 2025-04-29 10:56 UTC (permalink / raw)
To: linux-btrfs; +Cc: David Sterba
We use the "btrfs-" prefix for our workqueues, the discard has
underscore instead of dash, so unify it.
Signed-off-by: David Sterba <dsterba@suse.com>
---
fs/btrfs/disk-io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 002a3d648180eb..b3e8a55d29f7d5 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1994,7 +1994,7 @@ static int btrfs_init_workqueues(struct btrfs_fs_info *fs_info)
btrfs_alloc_ordered_workqueue(fs_info, "qgroup-rescan",
ordered_flags);
fs_info->discard_ctl.discard_workers =
- alloc_ordered_workqueue("btrfs_discard", WQ_FREEZABLE);
+ alloc_ordered_workqueue("btrfs-discard", WQ_FREEZABLE);
if (!(fs_info->workers &&
fs_info->delalloc_workers && fs_info->flush_workers &&
--
2.49.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-29 11:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 10:56 [PATCH] btrfs: rename btrfs_discard workqueue to btrfs-discard David Sterba
2025-04-29 11:50 ` Johannes Thumshirn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox