Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp891508lqh; Thu, 28 Mar 2024 23:12:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUVhJiJfK3sXa3UZcDGDGe+x0Byvqg1PHvHiRuIhWBBRnzc8JO1Z9PRaZ+GwsCmofz3rWhuutZF3+UKHf3A14x0VFVywl8eTIZdGya7XA== X-Google-Smtp-Source: AGHT+IEGgURiDJj3tZ+4k4FoRr3a0WgkDsdLX0tLfLVIcqdRj1WMGCQ0NiEz60xxQ6V91U0AAQcN X-Received: by 2002:a05:6870:568b:b0:221:8b50:f1a0 with SMTP id p11-20020a056870568b00b002218b50f1a0mr1531887oao.19.1711692731092; Thu, 28 Mar 2024 23:12:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711692731; cv=pass; d=google.com; s=arc-20160816; b=pOSdS5RiZNZh8eausAnFO+BZw20oice9QEObWau6r7d3woYZbNobQRq0eUi0h7cdWG 79Imk0PvqvcwXFCVqody8a+YhW/7I07IGK4JblCTmFg0cFOps0AdgEfV8nc/KHMwjPVF e6LJBVg2ubx3OHoo3HJ3JZC1xUOzL+JgJ6HkFEl5Q1OXXZlzyXAW6miDnIxGKf9eF0cp 8FKMQA+V2YKN5YzeEYHFvrY9w/jYrdXxvdnNesdHk3B4LZhy3AxMpgCFnMPQQWWXtK6+ zFB31zYsP5XtC0oXeMalgTjZuyKrUKg7UX5N8yKABAJwbtnjnYw91hKSLImAgmwRWStx vxcw== 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=1wLBmipmNtmLyml3VqQ6f+BOyQ9vH/hMg1V0zcv1V0w=; fh=W6COFBd4BX4Q4YpnsinfP4Lifuq45kIfChsHXFM1YEQ=; b=DzBMLmHyefZ5jgQ8UBetTl8PngoU4dXArc7dHXSc15Ow+AOZIwOSkBIQB9+KsDXRYb y+iKHCMxwbKp+DctllceYApJ/CprgjAJkYfqvb2m+K4Nce0TRgybsqMvU6vvuBuLMmZz B6PUn7sku8kwjGWS9qFw0LdfdpvVedmiwyqQrFH+sA6QNL6XIewQYc54Ye3pfWURwLiw 1N3cmFiHxQ9eK+vzvAVlsCyG4wK5Y0kfbTUaV/K2K1OBICbxbFtavFiTaXGMV0rZKxzY 59ZJhvHtuirn/Vo2LZva09WDe3hXDiNEHvckjPzAZbi4hjhE2HCCtH4jtjUt/m7R1Ujs xNrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vOgKwuua; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124179-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124179-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e14-20020a63500e000000b005d8d56cd646si2876265pgb.130.2024.03.28.23.12.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 23:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124179-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vOgKwuua; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124179-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124179-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 8FFFD287B86 for ; Fri, 29 Mar 2024 06:12:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A7F13D964; Fri, 29 Mar 2024 06:12:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vOgKwuua" 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 359E53C082 for ; Fri, 29 Mar 2024 06:12:04 +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=1711692725; cv=none; b=ZPq4Dt79HqSKGHktWplDAB4mESYG0rhU3/H6YSPk4dniWHkfJZV0awFpZi0Nila0t3RKBCrpcY+FPdXYA9reHPIJI5wuUs2AK9JKTgXgPmIVmqqjLG3l8ciV/Ty38hA4WdTrAOuq29bsYwFo9Wp9MrO3gVAjM7X2RMqh7UEUHNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711692725; c=relaxed/simple; bh=nViNlG+k83BRarAWiFwh0vdzjQxl1IIHESNxB85xLrM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FlEA/DsOsM+Zddpy96Busg/2T0rsSS2Ku8sER+qz9Mu7xQ0vpmUFaa+Th4S2y7vta3c/g+neK0XFUZzKP/Q/oIYAMqtywTvL4HSzRuRkmx2hig9axBLxT3fVW8Ryh+b9WL9vWdGRAuWMbp9KaBxYN9qlWWixYl0kD0EupUIF6qM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vOgKwuua; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D12D2C433C7; Fri, 29 Mar 2024 06:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711692724; bh=nViNlG+k83BRarAWiFwh0vdzjQxl1IIHESNxB85xLrM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=vOgKwuuaZlx09jwqLXxq0EJ9Yxu4+tBmKwr3XOLs/SY1KTpwOrVNJ9zwUKPLOz1+k Ut2vf2ofvJlp5hKp0agF6rtLQEpMg2mWZGgsc+3qFhlzk8Qg1qWhWDcqvMN0T5wLxK 6yNRFMcCjwu/6300GYiE2KsLf0aOB/xtdSxd7g7hv3Wukz/UCew4Q3ZJTbvJSH3lFX z+qK3wk1aUGm6iZgGVRkFlE4TZsTo+Q8r/CO0kRDeNbUwezUI9+WfZKyK+EqezgYMg Lwonz8fRCNVi/xDJXXuCS1vCytCf1E9498REllcklpyefhs33bOTYgi5r57iMStJh+ NaT4zogz49MUg== Message-ID: <17202690-ace2-4a88-92c2-2149f434fa56@kernel.org> Date: Fri, 29 Mar 2024 14:11:59 +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: fix to adjust appropirate defragment pg_end 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, hongyu.jin@unisoc.com References: <1711529620-17576-1-git-send-email-zhiguo.niu@unisoc.com> Content-Language: en-US From: Chao Yu In-Reply-To: <1711529620-17576-1-git-send-email-zhiguo.niu@unisoc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/3/27 16:53, Zhiguo Niu wrote: > A length that exceeds the real size of the inode may be > specified from user, although these out-of-range areas > are not mapped, but they still need to be check in > while loop, which is unnecessary. > > Signed-off-by: Zhiguo Niu Reviewed-by: Chao Yu Thanks,