Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1320411lqj; Mon, 3 Jun 2024 18:48:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2w5Z0KMprkgNbu6Cz5cm0/Aj5tDj3+8SEYDHkdJqxFRJnT6Qi5MaoqVH0CClXu3xj8DiuE7vobPQ0n8lG5XuWgxzdMo6qv09/9gG/4A== X-Google-Smtp-Source: AGHT+IGiMKvjeFptWxXo0fK37UYtJeQAREE1/6uWAF8EJbjwmwSd/27/VVutX3ez8USjbYrUpCwk X-Received: by 2002:a05:6870:b28a:b0:250:44a2:89cb with SMTP id 586e51a60fabf-2508b993fc9mr12215606fac.4.1717465729221; Mon, 03 Jun 2024 18:48:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717465729; cv=pass; d=google.com; s=arc-20160816; b=JH4aZP4pM4CYDjaGcxBX01xtj3tX02+vOeGtNIuomD/x29XBg5VP5haOpptXO+Djij tSJW/O3Ck1YaVGKnfx0E8lUOMo69+qixow2FX0j8ROjnntFkPMiE7NuTE6jcUg5ig8z9 coOB2XHvlCQrfN+wXk0Vst51o0FoOU8wk9p0jqsO+vsVCINuDDvUAcdow2rRAVkq3smi n293TZ3WR1lE7bNBbIFJMMMBOFsZGwrlccu4i8S1jiZ7Vl09iGOlGR6eOHwST9rh0DZ8 XJ7Y7OCsyx+Xl+WOVX5jLaa84WEtcsGW0YaC2MDMte0baxzPE9KgiVQx4pH30FfjYGpH xtAg== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=9avz5OGZ8SSxZVP89mac4toP0cayMSWBo09zptzFzgI=; fh=zQ4KyqolXqQO+yNFGVuXxCeSvQq3rubOak+k9IB2PKU=; b=chrvHXL0ith0rZZtfnumcKlbI6wI8N/sG+dcJ+O0vO9TjLMKkADxba6tzrS2+u7eZ4 Ir/sz3qhDIn9QVLdHMc5Z5ZCrdk4gYmLXOe899erQDFN1u28mEaabD8Knb7ruHeqZVw4 +9CiwDvnFL8OYRDfTarlzd3KCPxEcf8C0l5fkInqRvSJ84xnDRdI0c9EySh819VEd2OM X4JXBUmrtMMv13HzH95lLDRb7/iVoXu2zseXVOEdRVyaANkV+dVuhghc7PBxlngCxkFs GVy/mJWBW7h8VgbhW6zK2QXySQICJApkwzwdZ0ETmen1qxWqBueNNX1SusPTzzGKRPDa Z0kw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uQxzwiTe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199913-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199913-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c3540faceasi75567a12.135.2024.06.03.18.48.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 18:48:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199913-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uQxzwiTe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199913-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199913-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 90485283014 for ; Tue, 4 Jun 2024 01:46:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDDFA82D6C; Tue, 4 Jun 2024 01:46:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uQxzwiTe" 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 126E24A04 for ; Tue, 4 Jun 2024 01:46:21 +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=1717465582; cv=none; b=m8o9KUaHp8SXG7XsYSVd214L07z5ga7/7QPmmSvh2wuATDppLrNnh0flz0D2shComFpX67UBeEt3dFinby3bH/hkS0G3oVhBdDqsCr9G3GpssZP0VMuDUKtgMtnQsuvSFb0qMkWU+yrQ3eQNC3PKFkJoSUfVQUMehU9OdAAWO3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717465582; c=relaxed/simple; bh=Kr64VTbx4fuENMluaNdpiqWjuGc1bcsbOj4ozALLLP4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZnJYbf6ouT516PV76Tz8/xkQRyLNR3CGXvKndyhs4jFjDB5Htp4glHw2lPWzSryJFadRrRdIc5ioHWVkc0GKc0PsGCrwWctj4xFiPKuY1ibvA+5MIrS3XnAJhyT+BM2cQ8xZDJSgTMLL//BlB+zlyBacbHYFE0EtUM+WcOZYDvA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uQxzwiTe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3132EC2BD10; Tue, 4 Jun 2024 01:46:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717465581; bh=Kr64VTbx4fuENMluaNdpiqWjuGc1bcsbOj4ozALLLP4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=uQxzwiTezo5rYVqKnfPuWeCcOZuf9H0P1W2Xp3HZSz91IlE1rt84UMYJLNF8/UMsx 8Iz9/glKOiQnQAIBt0B9D4tHaf5KW7l/XGQVFCiCPzpCDnuPIY37MFbzANxeSVYssA KMifXL71STfa8xDqx352PDxrSokCMSMvP1UVsvPoTXidJ7OEu9kK6w8OwylUbzUdV0 3cj4HgJrKaw9LeouXb/SCBP/4YZ4DQAb45salKr6f5w6mCKbC6DFsjhplmuHX02dQT WWi/CmBvofzL8zmLn1fyddH61vv3nKILax85Y0rm49yFyB1b9QN/jnclkY4rDVfbBR 8okvWEfgqSOhw== Message-ID: <04c4b93a-fcd7-4f42-a7cc-1cc3ed4019e1@kernel.org> Date: Tue, 4 Jun 2024 09:46:16 +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 V2] f2fs: use new ioprio Macro to get ckpt thread ioprio level To: Zhiguo Niu , jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, niuzhiguo84@gmail.com, ke.wang@unisoc.com References: <1717414526-19658-1-git-send-email-zhiguo.niu@unisoc.com> Content-Language: en-US From: Chao Yu In-Reply-To: <1717414526-19658-1-git-send-email-zhiguo.niu@unisoc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/6/3 19:35, Zhiguo Niu wrote: > IOPRIO_PRIO_DATA in the new kernel version includes level and hint, > So Macro IOPRIO_PRIO_LEVEL is more accurate to get ckpt thread > ioprio data/level, and it is also consisten with the way setting > ckpt thread ioprio by IOPRIO_PRIO_VALUE(class, data/level). > > Besides, change variable name from "data" to "level" for more readable. > > Signed-off-by: Zhiguo Niu Reviewed-by: Chao Yu Thanks,