From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A015D45D1A7; Fri, 14 Aug 2026 09:26:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786699575; cv=none; b=CMOy+K8mTgr+gk0dlSjDe5bjfoMR15wqCHxsmJGP14BRZZqU8x56FyoKdD6Q1xCIQs6Qvp91+GBKMPq74XLlRzs86JKtjQ1cHAfInVlnjs8FweCAIfncpKIxMu1JnhGWwKPFDihdqAzsltc/rtlRQGgT0FELfgu6QKjDalfJ+7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786699575; c=relaxed/simple; bh=hCJ8tfiXHMQmhDIXtIFt5IcQ04vnHmL88yoRYOBwd9w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rhOSUnxGTnMXZ05Y9kflvZojeX1bLmfrNC4iQHbn0HijFpSZ/w+hHnFXrncmz7cSZdzZCyxa3RIj/4W/pSrZxmDMGQzUrC1Y8P4DXaBTPIwgiILmi4iOx3t2Q66u7cGcAJz2wrinDp6irj1o8XXv/tlqbbnHh+ExMV6daq1WriQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N03TDZZj; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N03TDZZj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CBDA1F000E9; Fri, 14 Aug 2026 09:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786699573; bh=thIo2/1hw+ojTe/xNPHRiyG1yeQkk5de3ZJFeVRsmoM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=N03TDZZjfpmiLarfDYDPPQ2E62dA1SuD9+t9GRO1owqNunKTQGbfV9BQUsXG0AM0E bSEcfG+CsnhVqcoFHtwi3SCEhKa4QJWcN1px5Qv7yN0+P2DNyNK2yUcnNAW99MZI5N 5ZZl3zkncKliQNAq/IEun1j8zPYNrKDDovMxkd2+PKwpX1BklwvBqarRAdWmY1qANx 0RO0vC3qAHiHl43pFH41RqL6nDt5INwvFOrycEEVfm7mWul2se38jQL+gN58mxknCK Aaz8SRNdG/wPeH9EOQKKcFeOUWygRYIaZ77oWkZQ5Dl/T9aKMflObVGt04xuMwux66 FySW+bq/tcBWg== From: Andrey Albershteyn To: djwong@kernel.org, ebiggers@kernel.org, hch@lst.de, Jens Axboe , Carlos Maiolino Cc: Andrey Albershteyn , fsverity@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-unionfs@vger.kernel.org, linux-block@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-btrfs@vger.kernel.org, david@fromorbit.com, Tal Zussman Subject: [PATCH v15 08/25] block: don't delay bio task completions Date: Fri, 14 Aug 2026 11:24:25 +0200 Message-ID: <20260814092448.1818082-9-aalbersh@kernel.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260814092448.1818082-1-aalbersh@kernel.org> References: <20260814092448.1818082-1-aalbersh@kernel.org> Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Christoph Hellwig The delay causes a more than an order of magnitude slow down when using it to defer the T10 PI processing. Signed-off-by: Christoph Hellwig --- block/bio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/bio.c b/block/bio.c index f228940d6b42..79fb94f85a5f 100644 --- a/block/bio.c +++ b/block/bio.c @@ -1811,7 +1811,7 @@ void __bio_complete_in_task(struct bio *bio) if (was_empty) mod_delayed_work_on(batch->cpu, bio_complete_wq, - &batch->work, 1); + &batch->work, 0); } EXPORT_SYMBOL_GPL(__bio_complete_in_task); -- 2.54.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4C326C5B572 for ; Fri, 14 Aug 2026 09:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:MIME-Version:References:In-Reply-To: Message-ID:Date:To:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V9wLPQmQOZ+PZGUxI2nx83Raglr7VU2OIJdickvx+8M=; b=RsslQW74TXywNy9aiF8xFiV/k4 B7MimsiNNVb4hBzrnAEdjzYDnjE0D2YIev0876l0s8GP2ykdwIPHZHKvJDRiwTGdmvoNU3jbbiByF b/W3IQCUy9swc0oUWdH78q5BosRUKPYHvsmRNP2XN6q0FGDs21owsgdDQpytYnmwtUhQ=; Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wuoB9-0001vY-JV; Fri, 14 Aug 2026 09:26:20 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wuoB8-0001vM-9g for linux-f2fs-devel@lists.sourceforge.net; Fri, 14 Aug 2026 09:26:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=thIo2/1hw+ojTe/xNPHRiyG1yeQkk5de3ZJFeVRsmoM=; b=eduPQyDA9USSicqsZ6F1d2k2cz s2ubXTtKClHunSjbRYaaNwRQyHg3OFUUAaK8+97xw5cr99MBr0rK5X6hpJxESy1E1FhROE/y1nkuL mQMMghU+rYAAyw/IMd0cP3ZMrXQAZe+JYMeyNNOXMOgbxbcZg2Woo91X1l7hCLO7epfE=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=thIo2/1hw+ojTe/xNPHRiyG1yeQkk5de3ZJFeVRsmoM=; b=NUffoR4aZIMQrOi6ivJBa28Ark FEsDW3n3THnxZSXW2yf8oRAB21e1NZuqzM39To/hOGlg8tnblF7LjwrBuFBFvFMxgSFZbqQVl5oZX xtq4KJllk6rDdOXAx62YkE773eDXMxv3gBZ3vJVZVZ5Pm4lcHGRm7e40VB5W+OXobzas=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wuoBC-0000nl-4S for linux-f2fs-devel@lists.sourceforge.net; Fri, 14 Aug 2026 09:26:18 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 4585F412E0; Fri, 14 Aug 2026 09:26:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CBDA1F000E9; Fri, 14 Aug 2026 09:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786699573; bh=thIo2/1hw+ojTe/xNPHRiyG1yeQkk5de3ZJFeVRsmoM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=N03TDZZjfpmiLarfDYDPPQ2E62dA1SuD9+t9GRO1owqNunKTQGbfV9BQUsXG0AM0E bSEcfG+CsnhVqcoFHtwi3SCEhKa4QJWcN1px5Qv7yN0+P2DNyNK2yUcnNAW99MZI5N 5ZZl3zkncKliQNAq/IEun1j8zPYNrKDDovMxkd2+PKwpX1BklwvBqarRAdWmY1qANx 0RO0vC3qAHiHl43pFH41RqL6nDt5INwvFOrycEEVfm7mWul2se38jQL+gN58mxknCK Aaz8SRNdG/wPeH9EOQKKcFeOUWygRYIaZ77oWkZQ5Dl/T9aKMflObVGt04xuMwux66 FySW+bq/tcBWg== To: djwong@kernel.org, ebiggers@kernel.org, hch@lst.de, Jens Axboe , Carlos Maiolino Date: Fri, 14 Aug 2026 11:24:25 +0200 Message-ID: <20260814092448.1818082-9-aalbersh@kernel.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260814092448.1818082-1-aalbersh@kernel.org> References: <20260814092448.1818082-1-aalbersh@kernel.org> MIME-Version: 1.0 X-Headers-End: 1wuoBC-0000nl-4S Subject: [f2fs-dev] [PATCH v15 08/25] block: don't delay bio task completions X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Albershteyn via Linux-f2fs-devel Reply-To: Andrey Albershteyn Cc: fsverity@lists.linux.dev, linux-xfs@vger.kernel.org, Andrey Albershteyn , david@fromorbit.com, linux-unionfs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, Tal Zussman , linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net From: Christoph Hellwig The delay causes a more than an order of magnitude slow down when using it to defer the T10 PI processing. Signed-off-by: Christoph Hellwig --- block/bio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/bio.c b/block/bio.c index f228940d6b42..79fb94f85a5f 100644 --- a/block/bio.c +++ b/block/bio.c @@ -1811,7 +1811,7 @@ void __bio_complete_in_task(struct bio *bio) if (was_empty) mod_delayed_work_on(batch->cpu, bio_complete_wq, - &batch->work, 1); + &batch->work, 0); } EXPORT_SYMBOL_GPL(__bio_complete_in_task); -- 2.54.0 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel