Re: [PATCH 2/3] xfs: use unbounded workqueues for parallel work
From: "Darrick J. Wong" <djwong@kernel.org>
Date: 2021-01-25 23:19:36
From: "Darrick J. Wong" <djwong@kernel.org>
Date: 2021-01-25 23:19:36
On Sun, Jan 24, 2021 at 09:51:50AM +0000, Christoph Hellwig wrote:
On Sat, Jan 23, 2021 at 10:53:14AM -0800, Darrick J. Wong wrote:quoted
- 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.
Changed.
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.
Ok, I'll add a section. --D