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 0333EE936FB for ; Sat, 7 Oct 2023 06:38:08 +0000 (UTC) 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.95) (envelope-from ) id 1qp0wy-0007HJ-6A; Sat, 07 Oct 2023 06:38:08 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qp0ww-0007H7-AT for linux-f2fs-devel@lists.sourceforge.net; Sat, 07 Oct 2023 06:38:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: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=340S/dQR8J0AhtcCu8/K8Cw1vtlsfYeaKogvAu8MI3I=; b=SgwFFVN09nni7n8ggpi+c6tqsK 12lGJ0aksCf/3vc/gCfB+wvjj94YuuB4vXNFa6H4BW6QXBrprRhYwoC/mF77SsTrNIQpnMRxuR9fx 5UYmWBovFru8z7jOyvIz1TBg8yz080jQa1/h+0kQ172eep3j5i1V06RjGD1nJ8QytYas=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID: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=340S/dQR8J0AhtcCu8/K8Cw1vtlsfYeaKogvAu8MI3I=; b=JQ0uq4/CJbebE6DqxG5Or/OFBw X41WqxpxiI/zYyBrPLz9w3AftfKB66+rC26R0Z/qtoU0xaBQ3hdeimJMThXmsX/Anv3TYqCz5/U3T BJ/r0oPWz/RG4bqtkd4KnnduHqjorJPGfWzDR+inZHsjpgkfM/r/zj+J1tzqP7KkkZ7s=; Received: from dfw.source.kernel.org ([139.178.84.217]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1qp0wu-00537k-B5 for linux-f2fs-devel@lists.sourceforge.net; Sat, 07 Oct 2023 06:38:06 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E066E60686; Sat, 7 Oct 2023 06:37:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B88BC433C8; Sat, 7 Oct 2023 06:37:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696660678; bh=haeoZMfXVfuibJKXHZqwDbIGTXzIAr3k6IkAQRF6pGU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=LYKw1oSSSpwkcD4fhCwHni6Ndss572NgxpTqVxC5jgsE7TlYs5RlDFU+9avG9S2cA noeCbcswqAJHHYBGO3AUMG6Vg3UPpv/ijWYL2J27VBFkbzJ5bDLlppgNxPt6b8GiBi ubhgW9omtxuu5SqZuooU1fBG2xlRQTrWxP5Pgtqh8TtwJu6gmCD4gBhvHclhGPva5o +CA8Q8KNQOt0ITHZbDpzDj7mGVmwIClECbKA9imkjRa9oonpRG0os2x9XW2PKVmVhU lW9JRXFD8rGPNDToPtMb0VOavsgimBSlNUgTT62qczTGD3XTVMAhamwgqHxpw7YyuB lJrstfDNVDK7Q== Message-ID: Date: Sat, 7 Oct 2023 14:37:55 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com References: <20231003210754.275175-1-daeho43@gmail.com> From: Chao Yu In-Reply-To: <20231003210754.275175-1-daeho43@gmail.com> X-Headers-End: 1qp0wu-00537k-B5 Subject: Re: [f2fs-dev] [PATCH] f2fs-tools: make checked node progress correct 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: Daeho Jeong Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 2023/10/4 5:07, Daeho Jeong wrote: > From: Daeho Jeong > > Let's say we have 100 nodes to be checked. With post-increment of > checked_node_cnt, when we reach the last node, we cannot print out 100% > progress. So, go with pre-increment. > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel