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 2A8A8D75E59 for ; Sat, 23 Nov 2024 15:50:43 +0000 (UTC) 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 1tEsPC-0002dq-Or; Sat, 23 Nov 2024 15:50:42 +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 1tEsP8-0002dh-Uu for linux-f2fs-devel@lists.sourceforge.net; Sat, 23 Nov 2024 15:50:38 +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=DfZHbvaszgPdumfdTfGQChwPMsrE+vrkIxYqBszVN9E=; b=iKJKtHBWysLTTE2kEdrc5PTn8T RKp6BqSBvaMeUXNvJRTvW1irvMzTv246pp0i8PyUJVtptuDs9xkNXLKl0KQsa6gYbK80MHuL6VTW8 c9JowNvAt93uEjV6CiEwNXmPMQE2eGuPA+XbjSCEJFwDdJ6q5MB7GDyUunci2o6Pnugc=; 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=DfZHbvaszgPdumfdTfGQChwPMsrE+vrkIxYqBszVN9E=; b=lSUe2KCCSAyh1BtCDUjmbBgaFF zrVXjouPPlAediYjQW4gcvgQI7sok5aHVMaTFjx5zmkIJMYuoYneAyzMqjKxkbwOQqPzz7mv29a0s LLKquLDyWD+ZjreDT4uiFe4PszJ0S/MgP0I8rng8RseVZhpQ+a7pGfb2BQG1wIXlUXvc=; 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 1tEsP8-0004MA-7m for linux-f2fs-devel@lists.sourceforge.net; Sat, 23 Nov 2024 15:50:38 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 653FAA403D5; Sat, 23 Nov 2024 15:48:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 409A3C4CECF; Sat, 23 Nov 2024 15:50:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732377027; bh=dtotHtOLZEq4lFv92Zs9oG8yEKOiZLjVNbIt8QDq6S4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=XFn77zh3+fKJRnqfBMpa8VOwmAIdyJTcc55zi6Ym8eVzq7ssSHin6oYHya/4+Vg38 pv/YlZ4JcUDMAI2VWSX+hEyMSjw7s1NjEiCriTcuwmbS/SRw/VRJ+iXGQwFdcQQg/B OFSHikjPoNxGkIFNEBduB0AnnAXjJ08KF1isbncjYqtCCZV2sP3mvE9sxrG6Wc6PFe PHJncKY7URC0aZUv4RRch0OWnDa5/d5ZySz4Na1vsfIVzFbTkd8Fssp59P0PvGSQKV CkEQhzfiuK8boka32L2Gy9jC//o+HEPIuOvc9Ak5Uohp/RUWUBnzqqAE4N6EOlrHRn ePJBBe6/cXkYw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id ADBA13809A06; Sat, 23 Nov 2024 15:50:40 +0000 (UTC) MIME-Version: 1.0 Message-Id: <173237703949.3018181.7264272337903464166.git-patchwork-notify@kernel.org> Date: Sat, 23 Nov 2024 15:50:39 +0000 References: <20241122065005.3772987-1-chao@kernel.org> In-Reply-To: <20241122065005.3772987-1-chao@kernel.org> To: Chao Yu X-Headers-End: 1tEsP8-0004MA-7m Subject: Re: [f2fs-dev] [PATCH v2 1/2] f2fs: fix to shrink read extent node in batches 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: xiuhong.wang@unisoc.com, jaegeuk@kernel.org, zhiguo.niu@unisoc.com, 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 series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 22 Nov 2024 14:50:04 +0800 you wrote: > We use rwlock to protect core structure data of extent tree during > its shrink, however, if there is a huge number of extent nodes in > extent tree, during shrink of extent tree, it may hold rwlock for > a very long time, which may trigger kernel hang issue. > > This patch fixes to shrink read extent node in batches, so that, > critical region of the rwlock can be shrunk to avoid its extreme > long time hold. > > [...] Here is the summary with links: - [f2fs-dev,v2,1/2] f2fs: fix to shrink read extent node in batches https://git.kernel.org/jaegeuk/f2fs/c/3fc5d5a182f6 - [f2fs-dev,v2,2/2] f2fs: add a sysfs node to limit max read extent count per-inode https://git.kernel.org/jaegeuk/f2fs/c/009a8241a8e5 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 C843E22EED for ; Sat, 23 Nov 2024 15:50:27 +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=1732377028; cv=none; b=MqaFCQ57lY4yyIzAbsM9UXtJ9p7SjJO/UWWKznFxhZTMTvnLjTR1zTBH7CFkvEcTuVrzbewRFJKE22AcetXkJEQBHGSSCqoc0baVswYAp5Si6GlptcOarVfzt75EzHX2CIbyhv1rd+RJfdkQJE/mNrx4p4NqeDvP7cw/XEw+M/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732377028; c=relaxed/simple; bh=dtotHtOLZEq4lFv92Zs9oG8yEKOiZLjVNbIt8QDq6S4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=RGNHuUkhm97N0t1kTjT3TK6WuAaPQDffX8I4LhIK/L5dCMctyeViXwsRiG2PtFboWXzh1LV5Ago7SM3kxSs6llitOg+DGV74r08LgObxvVrSGhnKxE6GsDrP3yJvfH+sCincy0v0P0+XDm4VxZISj0IFzFLnrT+7F183n/PuGaY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XFn77zh3; 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="XFn77zh3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 409A3C4CECF; Sat, 23 Nov 2024 15:50:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732377027; bh=dtotHtOLZEq4lFv92Zs9oG8yEKOiZLjVNbIt8QDq6S4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=XFn77zh3+fKJRnqfBMpa8VOwmAIdyJTcc55zi6Ym8eVzq7ssSHin6oYHya/4+Vg38 pv/YlZ4JcUDMAI2VWSX+hEyMSjw7s1NjEiCriTcuwmbS/SRw/VRJ+iXGQwFdcQQg/B OFSHikjPoNxGkIFNEBduB0AnnAXjJ08KF1isbncjYqtCCZV2sP3mvE9sxrG6Wc6PFe PHJncKY7URC0aZUv4RRch0OWnDa5/d5ZySz4Na1vsfIVzFbTkd8Fssp59P0PvGSQKV CkEQhzfiuK8boka32L2Gy9jC//o+HEPIuOvc9Ak5Uohp/RUWUBnzqqAE4N6EOlrHRn ePJBBe6/cXkYw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id ADBA13809A06; Sat, 23 Nov 2024 15:50:40 +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 v2 1/2] f2fs: fix to shrink read extent node in batches From: patchwork-bot+f2fs@kernel.org Message-Id: <173237703949.3018181.7264272337903464166.git-patchwork-notify@kernel.org> Date: Sat, 23 Nov 2024 15:50:39 +0000 References: <20241122065005.3772987-1-chao@kernel.org> In-Reply-To: <20241122065005.3772987-1-chao@kernel.org> To: Chao Yu Cc: jaegeuk@kernel.org, xiuhong.wang@unisoc.com, zhiguo.niu@unisoc.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 22 Nov 2024 14:50:04 +0800 you wrote: > We use rwlock to protect core structure data of extent tree during > its shrink, however, if there is a huge number of extent nodes in > extent tree, during shrink of extent tree, it may hold rwlock for > a very long time, which may trigger kernel hang issue. > > This patch fixes to shrink read extent node in batches, so that, > critical region of the rwlock can be shrunk to avoid its extreme > long time hold. > > [...] Here is the summary with links: - [f2fs-dev,v2,1/2] f2fs: fix to shrink read extent node in batches https://git.kernel.org/jaegeuk/f2fs/c/3fc5d5a182f6 - [f2fs-dev,v2,2/2] f2fs: add a sysfs node to limit max read extent count per-inode https://git.kernel.org/jaegeuk/f2fs/c/009a8241a8e5 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html