[RFC PATCH v1 2/2] Documentation: btrfs: Document the influence of wq_cpu_set to thread_pool option

From: Ammar Faizi
Date: Sun Feb 26 2023 - 11:27:05 EST


If wq_cpu_set option is set, the default thread_pool value will be
adjusted accordingly.

Signed-off-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>
---
Documentation/ch-mount-options.rst | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/ch-mount-options.rst b/Documentation/ch-mount-options.rst
index 48fe63ee5e95c297..c38caf5e5fd0b719 100644
--- a/Documentation/ch-mount-options.rst
+++ b/Documentation/ch-mount-options.rst
@@ -411,6 +411,9 @@ thread_pool=<number>
due to increased locking contention, process scheduling, cache-line bouncing or
costly data transfers between local CPU memories.

+ Since 6.5, if *wq_cpu_set* is set, the default value will be the number of
+ online CPUs in the CPU wq_cpu_set plus 2.
+
treelog, notreelog
(default: on)

--
Ammar Faizi