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 8E04CE9411C for ; Tue, 30 Dec 2025 06:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Type:Content-Transfer-Encoding:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:In-Reply-To:References:To:MIME-Version:Date: Message-ID:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mCHME70PV5PRX108GF+46Pml4Q9g29KkF87KzDfWZrE=; b=Y5qmgp6Db3G59sv7wuSpD4sl7l fXnNiSJGqL+qwjLbJuspz1PnfLLgDIK8JhfkPF+NtDITLA6S+1OCFUwhaHoA4jl8xtBH+zvREiFCk JRb/Onj9PnV7Pd+NK1eFC17yxWobq2lCqZSSwVeHCjPTkbhH+ufEJPUTLdHjXYpdNNAY=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vaTbz-0003ev-1L; Tue, 30 Dec 2025 06:53:43 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vaTby-0003ep-1U for linux-f2fs-devel@lists.sourceforge.net; Tue, 30 Dec 2025 06:53:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:To:Subject:Cc:MIME-Version:Date:Message-ID:Sender:Reply-To: 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=HC+6tNuqW0uQV12rwel/75qIJJncbAiNgcQldVYFh9o=; b=KiJ3sem1dBbYcVX0Lyac/QGEQt yR7+o7t1OQcJl4XDs4kUJHGThqI1d7XGAVKrVF5aWvs3POcAvGmezffFaeVLVnkY0CALB76IFEvnT H+GglESWURxm9f67vbOoXkof3eKVScrbvp9vNYWAcFYtS4W5kPZ8XUz+6ThK0aSwwdOM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:To: Subject:Cc:MIME-Version:Date:Message-ID:Sender:Reply-To: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=HC+6tNuqW0uQV12rwel/75qIJJncbAiNgcQldVYFh9o=; b=gGIcl8n7As/f6RVsi2j086DE4j gj/0MECJSU/fMULDYnu9eQGxRcwuD9pYnQeeqgX8KUy7XlUEF/Ea6pFNBzdx9Krq4amcbyuMqNjSy v7TB/hx4BXRnA1j3rlhRCc9v8Xl78qKPVX8hJCpi8F9khw1tD/uYY8dKO5ZGN/6pJn5o=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1vaTbx-0000Jv-Fq for linux-f2fs-devel@lists.sourceforge.net; Tue, 30 Dec 2025 06:53:41 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 2B6CC4366B; Tue, 30 Dec 2025 06:53:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF73CC4CEFB; Tue, 30 Dec 2025 06:53:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767077616; bh=/T/IBazP7KBxWpTe1LsfcCPxBmtTWZKJHPR4379uKmw=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=jBWuUueqpFojKgwe9tnE7QpHYEGnCIFmGmWehGDryqIi0FTsE7rOMigKf3bPqpuk0 L543sLz9HXJFmIEjkJDO05tqOLIcm6YfeUOfXoPt38BSP5MTMLo4SHCFCVu6vMARWs Oz+whcbyHd36kTydSN4kGqVLU/Zr0blShXvV3jtaV+EQZP3Hhn+eefAsN20J0U9jwD BoMcxIwQVUNkAkmLMcpzoLIuuxiWdDbgwsCAIbr/UIWbq+aEmBT1LJhMD+qoQNZs7r /FutOHXmWtBKF/EhDY9LoW89bo5INL9OQLhzyOIuXMyBpySk4FDq/YwuN/JzhECaYL I1rVyM93UWYXg== Message-ID: Date: Tue, 30 Dec 2025 14:53:33 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Yongpeng Yang , Jaegeuk Kim References: <20251227091906.216322-2-yangyongpeng.storage@gmail.com> <20251227091906.216322-4-yangyongpeng.storage@gmail.com> Content-Language: en-US In-Reply-To: <20251227091906.216322-4-yangyongpeng.storage@gmail.com> X-Headers-End: 1vaTbx-0000Jv-Fq Subject: Re: [f2fs-dev] [PATCH v2 2/2] f2fs: return immediately after submitting the specified folio in __submit_merged_write_cond 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: Chao Yu via Linux-f2fs-devel Reply-To: Chao Yu Cc: Yongpeng Yang , Yongpeng Yang , linux-f2fs-devel@lists.sourceforge.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 12/27/2025 5:46 PM, Yongpeng Yang wrote: > From: Yongpeng Yang > > > f2fs_folio_wait_writeback ensures the folio write is submitted to the > block layer via __submit_merged_write_cond, then waits for the folio to > complete. Other I/O submissions are irrelevant to > f2fs_folio_wait_writeback. Thus, if the folio write bio is already > submitted, the function can return immediately. This patch adds a > writeback parameter to __submit_merged_write_cond(), which signals an > immediate return after submitting the target folio, and waitting > writeback can use this parameter. > > Signed-off-by: Yongpeng Yang Reviewed-by: Chao Yu Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel