Re: [PATCH 2/3] xfs: use unbounded workqueues for parallel work
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-01-24 09:53:07
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-01-24 09:53:07
On Sat, Jan 23, 2021 at 10:53:14AM -0800, Darrick J. Wong wrote:
- pctl->wq = alloc_workqueue("%s-%d", WQ_FREEZABLE, nr_threads, tag,
- current->pid);
+ pctl->wq = alloc_workqueue("%s-%d", WQ_UNBOUND | WQ_SYSFS | WQ_FREEZABLE,
+ nr_threads, tag, current->pid);This adds an overly long line. But more importantly I think xfs.txt needs to grow a section that we now can tune XFS parameters through the workqueue sysfs files, especially as right now I have no idea how to find those based on an actual device or XFS mount I need to adjust the parameters for.