Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1838297pxb; Mon, 18 Jan 2021 00:56:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJ6jUBkYN32/tX9JixMVfWVVQD8jzbGe431NoT8DCuyObkjL8zyS6Zr6QoU276uUE+sP3g X-Received: by 2002:a17:906:4690:: with SMTP id a16mr9647769ejr.442.1610960179194; Mon, 18 Jan 2021 00:56:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610960179; cv=none; d=google.com; s=arc-20160816; b=jk5dwmPcvU1LpH889yzPxc6kNwe0NG0D30v7hLr52eRVzYnEj70qJRW/67D+4Fvcgd DAXAyF94JKwF/IKqW/ePNmrhi7OVV0Xf1Z4CYuCYi9AwMqsjuins2AAWHBsUHv642I0s hrKq200XgQHbb4Ng8zcq6n4ME+YlhSdAKEk5zw5bOHKEdECDDpvK1ofoTej66h1khezg 0AsTr+YT3UmhSlvoWRdP7ac+mKQPiHqs7yV2DsIshA8+XOBbQ+H530D84oyxzA1nfD+a VGWBcGywBu5sfQjmSgVIDqHFcrt+Sr4igtC5CXdrSCRu81PVrI5Ff+hFVinIfIAaePoG wU2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=q3JYzY3s90M/G0wFRQBt6/DEmur3EYBzMQzkx3oqzaU=; b=uskCR7N/7J5n9Z/YZSx4CcMWipKgm1OYXm+4q33PQ9qVHRvo5mXMDdj2eGyrS9vJ9z 6UmdAd6EDF/k/u0W00vu28eYP2xsLsTG7ZAlhRbcZqhFJmUc5VblCMDxhcjvsOqdEjG5 su6qVLvBNSB+LrI97fJMOrONQVh2A5WufERRXTbxN+nIM+VfA4gmKG3Y3ql2YFpAM4Ng NuIHLOk+Ns1vI92OjV4mSHLuh07TXuJ3EOJog7ttJl9Yx2Q1Dmi9xkwowBTvFPD6uFag xyverdSJIuQx/BMi+WqcXv6CXzljcO1j5Net7Pyzb7PZJXCjVxvKKMbGqUIuSXp2GBlU SY9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j22si7350611edh.496.2021.01.18.00.55.56; Mon, 18 Jan 2021 00:56:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387884AbhARIwM (ORCPT + 99 others); Mon, 18 Jan 2021 03:52:12 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:11399 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387859AbhARIwD (ORCPT ); Mon, 18 Jan 2021 03:52:03 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DK58D17M7z7Wmk; Mon, 18 Jan 2021 16:50:04 +0800 (CST) Received: from [10.136.110.154] (10.136.110.154) by smtp.huawei.com (10.3.19.204) with Microsoft SMTP Server (TLS) id 14.3.498.0; Mon, 18 Jan 2021 16:51:03 +0800 Subject: Re: [f2fs-dev] [PATCH v3 1/2] f2fs: introduce checkpoint=merge mount option To: Daeho Jeong , , , CC: Sungjong Seo , Daeho Jeong References: <20210116010041.3754050-1-daeho43@gmail.com> From: Chao Yu Message-ID: <74067d6f-45f8-3c08-1829-828a1aebddee@huawei.com> Date: Mon, 18 Jan 2021 16:51:03 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20210116010041.3754050-1-daeho43@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.136.110.154] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/1/16 9:00, Daeho Jeong wrote: > From: Daeho Jeong > > We've added a new mount option "checkpoint=merge", which creates a > kernel daemon and makes it to merge concurrent checkpoint requests as > much as possible to eliminate redundant checkpoint issues. Plus, we > can eliminate the sluggish issue caused by slow checkpoint operation > when the checkpoint is done in a process context in a cgroup having > low i/o budget and cpu shares, and The below verification result > explains this. Could you please summary and add below info into commit message and f2fs.rst? "Actually, the default I/O priority of kernel thread is "4". So, we're going to raise this priority by one, because we want to give one higher priority for checkpointing thread than other normal threads. This is the same way to give a I/O priority to the jbd2 journaling thread of ext4 filesystem." Otherwise this patch looks good to me. Thanks,