Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp809546pxj; Thu, 17 Jun 2021 14:32:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzEJrZaQMfmPj8GtWcY6IjLsc+gzFh/o+5x8ZEyNVpVGckGHbhC/EE22PA6+OnuXN078Dh X-Received: by 2002:a17:907:1b22:: with SMTP id mp34mr7504123ejc.408.1623965551182; Thu, 17 Jun 2021 14:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623965551; cv=none; d=google.com; s=arc-20160816; b=wI2aeZPmRGIeaMHLS+m9qHhIb2ohDTh2AN+cn9LnNiSyuVdSbHUIU2siuwqjItkA9z Sw5oaDdQoaVw4bU/3gK8DIampm33OM6ljboLBiFyqZ8sNgn0QvBd4qvdos+b8ZRD43zg MdIXDfWn+PqBMy9c7drtkM950bHZz0SY3rzYiplHLC8Kn0bJWiJhfmtS32k5OMEtPU9r Pdkyh5WRGEaIpTbvha/nX8PjBCPEWMtI/b3oLf7kXtZe1Rk7yWasAc83SmqusIIjOPqg +9z91ZB3rvrPZJn/7+udiC2damLWysTXqgfhB3fvZSwEkGowjSlI9l43JfzVh5F9+J1e cnwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Yb2qWv+iUvmiUrC6Q5F9gBdATdKZP3H7LtL8y+GmLdk=; b=d4CN2nzBWlBns2yscJ22mwzsZxWgI81q6t/L2NZsNco5tLMUrCrrppoggnVQawJrGf yfrRQ/0Lz7LAeJmDo56Z4EBySFb1uhGFFJX1bs6ICCL1OKR60Jccmf5deL2QEW02bNSF DakVE+40h3x0YX90FWehY2L6FHnVVde14GqFk8jL77Ll/EAdM/cuk4kMgXx5WmYX+jlo FC1UXfjQZt4trO+rRIrAD14SUSxDSN70EsDgo3+WbXwNDLRZn9Z4t8n604YI0BYqK8g0 Dgu8xmja8o+D1+ffWyip13AzZigYPjnbwLa+tz5Z+t8gtGhioSuH4w770aJ1Cr+gdFhv yB2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 zh6si165217ejb.453.2021.06.17.14.32.08; Thu, 17 Jun 2021 14:32:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232403AbhFQUSc (ORCPT + 99 others); Thu, 17 Jun 2021 16:18:32 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:44642 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232037AbhFQUSc (ORCPT ); Thu, 17 Jun 2021 16:18:32 -0400 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 15HKGBGN009896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Jun 2021 16:16:12 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 2764A15C3CBA; Thu, 17 Jun 2021 16:16:11 -0400 (EDT) Date: Thu, 17 Jun 2021 16:16:11 -0400 From: "Theodore Ts'o" To: Zhang Yi Cc: linux-ext4@vger.kernel.org, adilger.kernel@dilger.ca, jack@suse.cz, yukuai3@huawei.com Subject: Re: [PATCH 1/2] ext4: remove check for zero nr_to_scan in ext4_es_scan() Message-ID: References: <20210522103045.690103-1-yi.zhang@huawei.com> <20210522103045.690103-2-yi.zhang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210522103045.690103-2-yi.zhang@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sat, May 22, 2021 at 06:30:44PM +0800, Zhang Yi wrote: > After converting fs shrinkers to new scan/count API, we are no longer > pass zero nr_to_scan parameter to detect the number of objects to free, > just remove this check. > > Fixes: 1ab6c4997e04 ("fs: convert fs shrinkers to new scan/count API") > Cc: stable@vger.kernel.org # 3.12+ > Signed-off-by: Zhang Yi Thanks, applied. - Ted