From patchwork Sun Feb 26 16:26:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 13152454 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBFB4C64ED6 for ; Sun, 26 Feb 2023 16:27:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229832AbjBZQ1C (ORCPT ); Sun, 26 Feb 2023 11:27:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjBZQ1A (ORCPT ); Sun, 26 Feb 2023 11:27:00 -0500 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3C9D1ADDC; Sun, 26 Feb 2023 08:26:57 -0800 (PST) Received: from localhost.localdomain (unknown [182.253.183.169]) by gnuweeb.org (Postfix) with ESMTPSA id D8F7F8319D; Sun, 26 Feb 2023 16:26:53 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1677428817; bh=a4DJSHEBNpCHZMkW0VGKhaz/c5vRBlHibuGW/RG0Z0c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UObI9LD2OmfFvyNxz1ZD3hoPDd+2RTOTgHbcsum87bh86LeOxf6LGw0lDV4USONap TlWHethmu0+KoGBntSf8f6FSPMJVcuvjPsYfYiOuBNMODN+0oT4TFsWwjngixkMni4 T7fWKLmsUmXsRm5zTgwaZymYVCYQoXGp1AkwwRz4vKdwhhWwWfn96Yv+cwSodqsxZQ 8RbWfvp4Pb7QdpEVa2REXi2qc2EaZ+7ThwB3QowsBQVeyebxQ5gFwX3wXz0nWRVVtd Zq9CRo4g5MCiZ3Tu2k175wyNwmxx5lnyJpg4eV6zF6N4Hcvoobx0zevPeMMuAluPa8 bEYqZlIQejVqQ== From: Ammar Faizi To: Chris Mason , Josef Bacik , David Sterba Cc: Ammar Faizi , Filipe Manana , Linux Doc Mailing List , Linux Btrfs Mailing List , Linux Kernel Mailing List , Linux Fsdevel Mailing List , GNU/Weeb Mailing List Subject: [RFC PATCH v1 2/2] Documentation: btrfs: Document the influence of wq_cpu_set to thread_pool option Date: Sun, 26 Feb 2023 23:26:39 +0700 Message-Id: <20230226162639.20559-3-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230226162639.20559-1-ammarfaizi2@gnuweeb.org> References: <20230226162639.20559-1-ammarfaizi2@gnuweeb.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org If wq_cpu_set option is set, the default thread_pool value will be adjusted accordingly. Signed-off-by: Ammar Faizi --- 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= 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)