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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6D1BC433DB for ; Fri, 26 Mar 2021 01:21:56 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 6389461A2D; Fri, 26 Mar 2021 01:21:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6389461A2D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net 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.92.3) (envelope-from ) id 1lPbAh-00051h-Dm; Fri, 26 Mar 2021 01:21:55 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1lPbAf-00050x-M7 for linux-f2fs-devel@lists.sourceforge.net; Fri, 26 Mar 2021 01:21:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: 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=pOPO+gWWylzXQnBmvvGLUKLgVKu695/EPgzVM/2ulyY=; b=P2Pdp1IwPAEKZxAppwOuzOH5Yf mKIYaXgn6uJ15dZW1iAJoXUjT7QgCIdR7/Zi2B0aKvZyIs1dpcqzRc+rd/7DK1uO6Loeh3b5hOtut x3d7RMhRXQ8yzO+bQ7k6f5gmodpcj/UOBiKPkx1KYaDDbDz6v8zQrXZkXBGIQsbVQE1E=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding: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=pOPO+gWWylzXQnBmvvGLUKLgVKu695/EPgzVM/2ulyY=; b=bhrloI+vX4tq9dyaqJuLuTUImK mAXyM8gEIsBXQweolFB+wWh4UTZU1vm/UwzjeniiYN8WKjK3OhFhYmwJf5mQxiW3wqJZZRirBKBF7 bxjDwZ+xChN2lGpZI9xuvk5RvdJvRmHG5xdXSw1sVJ0h6mIuzkYxTzg93asbSeCWAg0U=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1lPbAb-00BzpX-5n for linux-f2fs-devel@lists.sourceforge.net; Fri, 26 Mar 2021 01:21:53 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id A3E2761A2D; Fri, 26 Mar 2021 01:21:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616721703; bh=as9lfFgV4XuY3YAN83h5LS2PkkRJHNNBOryPGMahbwc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u3d6uiA4lOaJ3SjD2+BHhJnfl/ISiKpY88UwFM0Q2GVjLumusLC9TlN7iiTuoVZmA ums5J+cRcsFKuQk1jFcNcc8eAIxURe6A3Tvyee5jxrhYybIiHYBJGo/MFgHpaVBAup lSTyK/Gmtp7zHF15Kra2BmOz7Gc6VCtg1SCLA9p2FjKynlnt1O6WLk5K9Je5LChD0u aCRl24UcevvXalfNL/s/FRk/6HVUFgoq0GlVAMrD9d6KeuqvE0tHT6e4e/Zqjr+MIJ HAIIomqQPzpEX68j2PwoDv6f8OrJ5WkmPhJ4eoZ4GR2cvdqULMO2Cf6GYnIc/wN3HP hQw+hcfh0O0dA== Date: Thu, 25 Mar 2021 18:21:42 -0700 From: Jaegeuk Kim To: Sahitya Tummala Message-ID: References: <1615886958-717-1-git-send-email-stummala@codeaurora.org> <3c453b72-892f-7044-2edd-224b82202608@huawei.com> <20210326011756.GE8562@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210326011756.GE8562@codeaurora.org> X-Headers-End: 1lPbAb-00BzpX-5n Subject: Re: [f2fs-dev] [PATCH v3] f2fs: allow to change discard policy based on cached discard cmds 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: , Cc: 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 On 03/26, Sahitya Tummala wrote: > Hi Jaegeuk, > > This latest v3 patch needs to be updated in f2fs tree. > The f2fs tree currently points to older version of patch. > > Please make a note of it. Ha, need more coffee. Thanks for pointing it out. :) > > Thanks, > Sahitya. > > On Tue, Mar 16, 2021 at 07:08:58PM +0800, Chao Yu wrote: > > On 2021/3/16 17:29, Sahitya Tummala wrote: > > >With the default DPOLICY_BG discard thread is ioaware, which prevents > > >the discard thread from issuing the discard commands. On low RAM setups, > > >it is observed that these discard commands in the cache are consuming > > >high memory. This patch aims to relax the memory pressure on the system > > >due to f2fs pending discard cmds by changing the policy to DPOLICY_FORCE > > >based on the nm_i->ram_thresh configured. > > > > > >Signed-off-by: Sahitya Tummala > > > > Reviewed-by: Chao Yu > > > > Thanks, > > -- > -- > Sent by a consultant of the Qualcomm Innovation Center, Inc. > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel