From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sg-1-100.ptr.blmpb.com (sg-1-100.ptr.blmpb.com [118.26.132.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 381592D480F for ; Wed, 3 Dec 2025 08:31:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=118.26.132.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764750681; cv=none; b=aHAt41Px/GVWA6XROnxEMqJz7fHzZxHOPcXKE4s2BlHmxuYA/25ak3UFOVXqDSlSYXq7ZGpjGTEIrVtQfCHpQVUvvDmoeXuqnJdNVYSbq8Gg/19qG1qCVkVxAHQti+p0EfhvvtO4TaCwpHGfm4dIFjXAzFx1o1VTRmcm6qie7Lw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764750681; c=relaxed/simple; bh=w3udpsM+2T3nQ5UURtINjXldf3VB9au4wNTCoRu+8JM=; h=In-Reply-To:To:Subject:From:References:Content-Type:Date: Message-Id:Mime-Version; b=dRuLIGXQysNbSXPp+NpmOG2jCCuera9nOSzxs+WBi+ryNHz/qn11Uw2KdDx/hAve/p3iSeQOMpzxmS5slztRzVU7qayFVBgyU1lRE9q6kKMQccjcadMffn9lOX18ys/Rd9CUg/JwoG7f7P6LphvhHCxcxLUJ0uhUP1sHAJT79FE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com; spf=pass smtp.mailfrom=bytedance.com; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b=bV6r9i6i; arc=none smtp.client-ip=118.26.132.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bytedance.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b="bV6r9i6i" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=2212171451; d=bytedance.com; t=1764750666; h=from:subject: mime-version:from:date:message-id:subject:to:cc:reply-to:content-type: mime-version:in-reply-to:message-id; bh=w3udpsM+2T3nQ5UURtINjXldf3VB9au4wNTCoRu+8JM=; b=bV6r9i6iGq3nGG/Z5pAu0TZzedyNUOPvimryp7xYUcU1nv4gwnuzP6bdh4OKcAD5WcM1y3 iY321ci9VxbK/juDRzQBAzLBCIJk3FQCAxM8vTVExmbS1ZDJhNMGoMGT30rEUSr4zPQ1Xq X1dYFSAD+bUwNz66FsUbiSZslr0EaDg7ysAgyMg84H1cvkLcAY/uEC1Nr7MK9d3UI/Iaxb CAQf/nVaUciKkxwr9heH+U5Kh3wpTfywKJ2BgEMWUjp0IWH+ujWloTSpWEcH/8rFEP27EE 0GbInBk5mzUYg/5NtY1dY+jpCkD5oMd16O1ExEXHxkCokacw/Dvwetc4lY2SDg== In-Reply-To: <20251114092149.40116-1-changfengnan@bytedance.com> To: , , , , , , , , , , , , , , , Subject: Re: [PATCH v3 0/2] block: enable per-cpu bio cache by default From: "changfengnan" References: <20251114092149.40116-1-changfengnan@bytedance.com> X-Lms-Return-Path: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 03 Dec 2025 16:31:02 +0800 Message-Id: Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Ping > From: "Fengnan Chang" > Date:=C2=A0 Fri, Nov 14, 2025, 17:22 > Subject:=C2=A0 [PATCH v3 0/2] block: enable per-cpu bio cache by default > To: , , , <= jack@suse.cz>, , , , , , , , , , , , > Cc: "Fengnan Chang" > For now, per-cpu bio cache was only used in the io_uring + raw block > device, filesystem also can use this to improve performance. > After discussion in [1], we think it's better to enable per-cpu bio cache > by default. >=C2=A0 > v3: > fix some build warnings. >=C2=A0 > v2: > enable per-cpu bio cache for passthru IO by default. >=C2=A0 > v1: > https://lore.kernel.org/linux-fsdevel/CAPFOzZs5mJ9Ts+TYkhioO8aAYfzevcgw7O= 3hjexFNb_tM+kEZA@mail.gmail.com/ >=C2=A0 > [1] https://lore.kernel.org/linux-fsdevel/c4bc7c33-b1e1-47d1-9d22-b189c86= c6c7d@gmail.com/ >=C2=A0 >=C2=A0 > Fengnan Chang (2): > =C2=A0 block: use bio_alloc_bioset for passthru IO by default > =C2=A0 block: enable per-cpu bio cache by default >=C2=A0 > =C2=A0block/bio.c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 26 += +++++----- > =C2=A0block/blk-map.c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 90 +++++++++++= +++++----------------------- > =C2=A0block/fops.c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2= =A04 -- > =C2=A0drivers/nvme/host/ioctl.c | =C2=A02 +- > =C2=A0include/linux/fs.h =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A03 -- > =C2=A0io_uring/rw.c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A01 - > =C2=A06 files changed, 49 insertions(+), 77 deletions(-) >=C2=A0 >=C2=A0 > base-commit: 4a0c9b3391999818e2c5b93719699b255be1f682 > --=C2=A0 > 2.39.5 (Apple Git-154) >=C2=A0