[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260128104923.338443-1-sunliming@linux.dev>
Date: Wed, 28 Jan 2026 18:49:20 +0800
From: sunliming@...ux.dev
To: song@...nel.org,
yukuai@...as.com
Cc: linux-raid@...r.kernel.org,
linux-kernel@...r.kernel.org,
sunliming <sunliming@...inos.cn>
Subject: [PATCH 0/3] lib/raid6: Optimize raid6_select_algo while ensuring
From: sunliming <sunliming@...inos.cn>
The selection of RAID6 PQ functions involves a dual-strategy approach:
prioritizing startup speed leads to quickly choosing a usable algorithm,
while prioritizing performance leads to selecting an optimal algorithm
via benchmarking. This choice is determined by the RAID6_PQ_BENCHMARK
configuration. This patch series achieves both fast startup and optimal
algorithm selection by initially choosing an algorithm quickly at startup,
then asynchronously determining the optimal algorithm through benchmarking.
Since all RAID6 PQ function algorithms are functionally equivalent despite
performance differences, this approach should be effective.
sunliming (3):
lib/raid6: Divide the raid6 algorithm selection process into two parts
lib/raid6: Optimizing the raid6_select_algo time through asynchronous
processing
lib/raid6: Delete the RAID6_PQ_BENCHMARK config
lib/Kconfig | 8 -----
lib/raid6/algos.c | 92 +++++++++++++++++++++++++++++++----------------
2 files changed, 61 insertions(+), 39 deletions(-)
--
2.25.1
Powered by blists - more mailing lists