Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1803636rdb; Sun, 4 Feb 2024 01:57:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8G9BpIJOgCYNMlL15686FBE9KOwk8sTMS9/2HlisCdrO3adnRwXQzoSVDLMLbcx0umrk7 X-Received: by 2002:aa7:d647:0:b0:55f:cef0:5fe7 with SMTP id v7-20020aa7d647000000b0055fcef05fe7mr2678157edr.0.1707040660799; Sun, 04 Feb 2024 01:57:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707040660; cv=pass; d=google.com; s=arc-20160816; b=00yt6SbDxMQZZr8KmTEj7bE4dGGIPIS1b3beB8Qr9MDI/nkwR2JJ+fCrhCCmnU6M6f kKQnsnvMDVIzN/+4yeJ/nxEEqXkLdIUMp0nco8kavsQrV0kZDhL0TIzDJNneQ0WIOJe9 biojwZcJNlWa7BDuIEltCvVuOxCV5ipspl4ENfJOjmZCOmw22hVM5nK6tDixF3T8yrEN jFvVvYedgG1OgGtuBV1nVTSixKjCZ8sHwDSknRCO4XS/wZmNIf9Ff3RNzJDKKUvox0fg L28WCK/dK52xgJ3notSL2q+1octF0y5FyugrJ4j44tJJsIbdNxfIuCdu0vq4UEIjSxZ9 zBbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=X8fEnK3Gu/tI3XmhVgQmd08bfu+h/lfeF+2L+a7QKUw=; fh=v+jQAAX9wEGs5P2Pk3098P0zyuW/V9NQSioZwNqGwPE=; b=ppcQpD8HOHxxnhNMYJTMDwOcmrufxidQYYSvA+8UZ2qOhTdlFCmTsI2VCvyWPFmjDN 1O9+FQsqsnxY9GvMAMPUrVOXwxWemoYHAWXTvAqqZ/CM7TQpI7nTlIHk3LCIfdtBVW+H u/eK8cZDh4Wstl9dIZGzy9pjqjxr9RfcLIE/0jttprm7S0h2rbvIQse5q+sM02LARBHG Y78/RTA/6DUQESkBkgGYO3NfgYwBLBeDb6d8dfsKqWsSecFrTEER8APJib+CpdriEoLl BJSvKGPCsaPQqKjLUXNj650ZATqtKHJYo86/+5VCC07LlNm8J7RcN1D+ppVYo9DU3H0W +eyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=utPpMcZS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51569-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCW1PwiYvXP/zTspS/lqwNWfRaZsAJEwd8LXh0sgwWSBwuH6JvPtURr51RXW1t7AP8ZckvaJOzQKxUXHc0xPgdaM9ig7NTCR1wcjxNl/8Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l18-20020a056402125200b0055fa07cd8d5si2729475edw.563.2024.02.04.01.57.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 01:57:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=utPpMcZS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51569-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51569-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 611F61F223F8 for ; Sun, 4 Feb 2024 09:57:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F10D1B5A4; Sun, 4 Feb 2024 09:57:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="utPpMcZS" 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 9C6C41B592 for ; Sun, 4 Feb 2024 09:57:31 +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=1707040651; cv=none; b=aXeNVnBAXq4Q+tCoCiySqEtQ/qQAXfskxL61swfVV09ebDcWVCBCDUlH++zEc+kveyBLJy42DhMziNCw26k6+Lh9yn0bBDlrZwn0duBqUWalGlS3ykfd3Tx0xaqqd9l0IN1zP3UvnipKsDDwx/PFoE7XO1E5Iu+u5swNXxP2+1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707040651; c=relaxed/simple; bh=1a/18m8aWACDG3JH7A3osAHapKeJBpsbrh6a8Bw7mDE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VDux02uAsnCiJjGE1ZIuJ5JpyTswd4/tVQTjvDlWAOcFUSXN5ZtZzmaRPmqaAI68/Ok26O/BAQ1UaUUpdw7gJeIRg2JG0OmkwmyCxhrE/cbzWpeofNltx00PRYAAUZLaxoAz9T5yKurri9AtqKzjc65DQpUpE9dSCzlzGLEy5Ag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=utPpMcZS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D483CC433F1; Sun, 4 Feb 2024 09:57:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707040651; bh=1a/18m8aWACDG3JH7A3osAHapKeJBpsbrh6a8Bw7mDE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=utPpMcZSrIfJKn/VOqwSZid26sdGLBT7jLF7djuLRlF6NonziJBO34m66M8HW55AB 1zEZdExTzJ94IySse+rTvEaJF3P5WU+hITF2DIZckoEmPaLS2tcR4jIFSFZwJ7V7e7 eHB5RY1Aq9ZgMe4mZGAgTeAMSCEGt+d1iCY9rG+wWd4bp7jN11bkCKclsvIeiWjkl5 kZRSHe1A66BasJrW8nq32I6mX4BVaLXtxLUVxDTNjII8SBR8W279cw9Nkvm18JKFLh rbgzGRooiouKV/N7TwrEXmGZtN308HEmWBTEvzg55d51H8yYIjBE++KIuccTCjzIeg LlscORnplMkNw== Message-ID: <22bd1968-5ab1-4f4c-843e-03e4b74d7023@kernel.org> Date: Sun, 4 Feb 2024 17:57:23 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] f2fs: sysfs: support gc_io_aware Content-Language: en-US To: liujinbao1 , jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, liujinbao1 References: <3b2852b3d404ecbb53d9affa781d12d0e9ea3951.1707022643.git.liujinbao1@xiaomi.com> From: Chao Yu In-Reply-To: <3b2852b3d404ecbb53d9affa781d12d0e9ea3951.1707022643.git.liujinbao1@xiaomi.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/2/4 12:58, liujinbao1 wrote: > From: liujinbao1 > > Currently, IO can only be ignored when GC_URGENT_HIGH is set, > and the default algorithm used for GC_URGENT_HIGH is greedy. > It gives a way to enable/disable IO aware feature for background > gc, so that we can tune background gc more precisely. e.g. > force to disable IO aware and choose more suitable algorithm > if there are large number of dirty segments. > > Signed-off-by: liujinbao1 Reviewed-by: Chao Yu Thanks,