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 5FEBDC282EC for ; Tue, 18 Mar 2025 01:30:14 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tuLmX-0000c7-8C; Tue, 18 Mar 2025 01:30:14 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tuLmV-0000c0-Nc for linux-f2fs-devel@lists.sourceforge.net; Tue, 18 Mar 2025 01:30:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Cc:To:In-Reply-To:References:Date:Message-Id:From: Subject:Content-Transfer-Encoding:MIME-Version:Content-Type: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=KYFbY+lwOyM5i6A//pvCsiBLcEm8K/aNDD3kwakrX6k=; b=IcVNB8WpASVVaE55iYVmWFcXB2 POfGmt3ySnyVAdEe9fGc0E6Y2XGDfDijxH2is0tHp7rBpPzRBA/78cTLM9eGpuW4zLqfQBmqpQyEV tA46ZyjPmemnuw8I/8JMVZh8o1FlZQ1IMP9MF1g5eXP95/++AVZuDSPM0epa5gwS3mbk=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Cc:To:In-Reply-To:References:Date:Message-Id:From:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type: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=KYFbY+lwOyM5i6A//pvCsiBLcEm8K/aNDD3kwakrX6k=; b=Hi1Que3NNEbVuAdfm5wNXhZRhY dh0GSQCscEveXAFYdCqU1becbTt0vC/ueAMMkpOUROYVvM7f/PaxE9M24X1MQCgov/0CTbASKxi6q FOuVVcX/2NHYvH9s6EuqqPUBwuZOLM2hDykHD2auf0Ceq6EcD5Z2fh4SMHM+ejS0sgeY=; Received: from nyc.source.kernel.org ([147.75.193.91]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1tuLmU-0006sb-Hi for linux-f2fs-devel@lists.sourceforge.net; Tue, 18 Mar 2025 01:30:12 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 618B8A48E45; Tue, 18 Mar 2025 01:24:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A12D7C4CEEC; Tue, 18 Mar 2025 01:29:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742261398; bh=KT+Vy/FXX3jvNAPPBygtO31qSpTtbmjLb9YegbN3mQQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=DiYGI+3kQOcfGRc4yT92oXwaSbR8him9DoweICbqUbNh+Z+20BjWuFJldcANdVfQs xCzujGgdEG2FD4C+8lne0rRlwHdmsGXW4Ra+0s1KOzZsrQQj6jnDD35nphgdC6dTS6 rKHAEx6iHx0uxbACxRc6EDDOsWJfMjvh8mBacZIg5l3NazaAvDiLeXHkjP6G2mA0OZ 0b7dUuvNkcffO3mpBGzy3T6fa4ssjweWRFGJatp+CFVbS+yPsYOmZxz0Qn9NwpfQHV +RGYBgI/xqDTN+/x3fSXY0iYkC5v7HduaMoKcDpvW3b/Fugsv5LRMiGEPOGcCTpvpq 9y3CmgWQz3c/A== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 34D52380DBEF; Tue, 18 Mar 2025 01:30:35 +0000 (UTC) MIME-Version: 1.0 Message-Id: <174226143398.3976340.10979169569040925806.git-patchwork-notify@kernel.org> Date: Tue, 18 Mar 2025 01:30:33 +0000 References: <20250317101624.3223575-1-guochunhai@vivo.com> In-Reply-To: <20250317101624.3223575-1-guochunhai@vivo.com> To: Chunhai Guo X-Headers-End: 1tuLmU-0006sb-Hi Subject: Re: [f2fs-dev] [PATCH v3] f2fs: fix missing discard for active segments 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: patchwork-bot+f2fs--- via Linux-f2fs-devel Reply-To: patchwork-bot+f2fs@kernel.org Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Mon, 17 Mar 2025 04:16:24 -0600 you wrote: > During a checkpoint, the current active segment X may not be handled > properly. This occurs when segment X has 0 valid blocks and a non-zero > number of discard blocks, for the following reasons: > > locate_dirty_segment() does not mark any active segment as a prefree > segment. As a result, segment X is not included in dirty_segmap[PRE], and > f2fs_clear_prefree_segments() skips it when handling prefree segments. > > [...] Here is the summary with links: - [f2fs-dev,v3] f2fs: fix missing discard for active segments https://git.kernel.org/jaegeuk/f2fs/c/21263d035ff2 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 32AB513D62B for ; Tue, 18 Mar 2025 01:29:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742261399; cv=none; b=usIZVqz7dPkHlsbSx7Wej8PkTtr51YZZXFhjcBeFeK2eu+fOoRdSAp9E+LiJBrhPVb3cfLGvQCagGu/MAv+z4FUTuPInh501T4Z8Pn5nPiGo94MOgnyTPsVi1KqmqUlI2HbwHq2+zBMI2tzt67i4SLsywuYhqPfo/udzg7oxR2c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742261399; c=relaxed/simple; bh=KT+Vy/FXX3jvNAPPBygtO31qSpTtbmjLb9YegbN3mQQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=OzHM95UvC8sEaR73lqeSj2W3A1cfeYw5tq6D2i87wDzrO65c8/amT+pCV6tLjWvhNccnyDnYtiKDUiuYzLW2jos9r0nnHDw7yoUH0YCXIFqmSHoQ4icyG5P26Be9jRH9n86nPz/7Eu9EVJO6DM0gG9AFQA6RrnzJOO5VdwoOrr8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DiYGI+3k; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DiYGI+3k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A12D7C4CEEC; Tue, 18 Mar 2025 01:29:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742261398; bh=KT+Vy/FXX3jvNAPPBygtO31qSpTtbmjLb9YegbN3mQQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=DiYGI+3kQOcfGRc4yT92oXwaSbR8him9DoweICbqUbNh+Z+20BjWuFJldcANdVfQs xCzujGgdEG2FD4C+8lne0rRlwHdmsGXW4Ra+0s1KOzZsrQQj6jnDD35nphgdC6dTS6 rKHAEx6iHx0uxbACxRc6EDDOsWJfMjvh8mBacZIg5l3NazaAvDiLeXHkjP6G2mA0OZ 0b7dUuvNkcffO3mpBGzy3T6fa4ssjweWRFGJatp+CFVbS+yPsYOmZxz0Qn9NwpfQHV +RGYBgI/xqDTN+/x3fSXY0iYkC5v7HduaMoKcDpvW3b/Fugsv5LRMiGEPOGcCTpvpq 9y3CmgWQz3c/A== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 34D52380DBEF; Tue, 18 Mar 2025 01:30:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH v3] f2fs: fix missing discard for active segments From: patchwork-bot+f2fs@kernel.org Message-Id: <174226143398.3976340.10979169569040925806.git-patchwork-notify@kernel.org> Date: Tue, 18 Mar 2025 01:30:33 +0000 References: <20250317101624.3223575-1-guochunhai@vivo.com> In-Reply-To: <20250317101624.3223575-1-guochunhai@vivo.com> To: Chunhai Guo Cc: chao@kernel.org, jaegeuk@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Mon, 17 Mar 2025 04:16:24 -0600 you wrote: > During a checkpoint, the current active segment X may not be handled > properly. This occurs when segment X has 0 valid blocks and a non-zero > number of discard blocks, for the following reasons: > > locate_dirty_segment() does not mark any active segment as a prefree > segment. As a result, segment X is not included in dirty_segmap[PRE], and > f2fs_clear_prefree_segments() skips it when handling prefree segments. > > [...] Here is the summary with links: - [f2fs-dev,v3] f2fs: fix missing discard for active segments https://git.kernel.org/jaegeuk/f2fs/c/21263d035ff2 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html