Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp70832pxt; Wed, 4 Aug 2021 06:12:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3nTqWtYjZ9GMdDiytBqKk9WXbGSdJ9AsyMv9JsbIPBJrYHplsSVCAlz81HFUetnEtgk4k X-Received: by 2002:a05:6402:1118:: with SMTP id u24mr32113063edv.229.1628082751285; Wed, 04 Aug 2021 06:12:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628082751; cv=none; d=google.com; s=arc-20160816; b=pfjzglJejTfagAd8KNlQqkaNu0InHeD3PPBZRMq0SHYRSrQObgfzZU3OS1MJSk8qVM 5L0/+tk9vMK+nghVsoSOeiUo45rL0V6URwU+sPEJjQfY4CVpQPZnWvJz53CyD8IIyKNI Br4aAfb0lFJ5LMr5WkGcQlNbhYnmtrQA15fnObMpmEGrH1f7N5vfzIUB4bI5pmJKdG1u 92aV96w+pbhR8ErDfwSG9Y9EkUDd0iNzroFZlLSmZWlwQ6ExZiEowYH1ZIsRqP2Vn17+ tAvFgHVPonnU1SvFgyTBMhAKqZBdyi6Pam/6wy9zt00qjYIsOStd43Fud8HCtgxvqSaG K99A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=AVmXaYlTb0OGHOFa/x8meGIUYZV4TA0GIgteDmhzhec=; b=rGf/wUhv+b+yV3hyg6n2A6TPSpig3EjlEJM3+j2sNO9KvgdjukmSRlhJDZ0zDAJKiK riWnFBa2gNX4hJqaHoCwHgboEXMDEmGfCdjwV6CZcbnIBCR/TElafkMuj+xtJSaVVJYX bMGCw9jcfBQHZer2P/0O/E38e9HixAMBAb/lv/2J1gwloCI2pSfz/p/Uc+31NS8YVPWQ NznML+cXUbTNU7M0WW6bi2xs0+AD4biUFhov32ZYgCo88+Lo3QM7bPhjV8ENSIdIvvzE UF6Z9FrhKuUqI9m0Fp/vhAJv6fCow8/RDCYEx1q+gAlI0RZAuGdJ5AR6aDryBNeYGfe2 rFFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=g+XkvOnp; dkim=neutral (no key) header.i=@suse.cz; 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 ss12si1980289ejb.133.2021.08.04.06.11.58; Wed, 04 Aug 2021 06:12: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; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=g+XkvOnp; dkim=neutral (no key) header.i=@suse.cz; 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 S236350AbhHDMQH (ORCPT + 99 others); Wed, 4 Aug 2021 08:16:07 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:36640 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238016AbhHDMQG (ORCPT ); Wed, 4 Aug 2021 08:16:06 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id AC46A221FB; Wed, 4 Aug 2021 12:15:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628079353; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AVmXaYlTb0OGHOFa/x8meGIUYZV4TA0GIgteDmhzhec=; b=g+XkvOnppqtNe9tfvLaTEoAN3Pw5yFU8FXLAp2vYye/AQ80S8+DCgk1o9EKxPgNwaaqXkz yWEpIP7t1dSkXKyrSHZvx9779qeCfuUFiXfuCYPx9P2wh0MItNCh/+GOsoOb+6gICo4hwD xRRAwmiweK5jA7wxkGbH/X70UCpnTLE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628079353; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AVmXaYlTb0OGHOFa/x8meGIUYZV4TA0GIgteDmhzhec=; b=r2fCFiizM0DOblxNG+YRAgDtKJNpuGB02lL+XiWGOe9qUFuORy5djtg5xaIdVcrgi0O5vv wcAHT25XOwJfRvDg== Received: from quack2.suse.cz (unknown [10.163.43.118]) by relay2.suse.de (Postfix) with ESMTP id 9E9F5A3B8C; Wed, 4 Aug 2021 12:15:53 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 6F49E1E62D6; Wed, 4 Aug 2021 14:15:53 +0200 (CEST) Date: Wed, 4 Aug 2021 14:15:53 +0200 From: Jan Kara To: Theodore Ts'o Cc: Jan Kara , linux-ext4@vger.kernel.org Subject: Re: [PATCH 2/9] quota: Do not account space used by project quota file to quota Message-ID: <20210804121553.GC4578@quack2.suse.cz> References: <20210616105735.5424-1-jack@suse.cz> <20210616105735.5424-3-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue 03-08-21 12:13:13, Theodore Ts'o wrote: > On Wed, Jun 16, 2021 at 12:57:28PM +0200, Jan Kara wrote: > > Project quota files have high inode numbers but are not accounted in > > quota usage. Do not track them when computing quota usage. > > > > Signed-off-by: Jan Kara > > Thanks, applied to the maint branch (since this is a bug fix unrelated > to the orhpan inode feature). > > It looks like this was an issue that wasn't picked up by our > regression tests. Do you have an sample image that you used while you > were developing this patch, that perhaps we should be adding to our > regression test suite? So I've uncovered this just by code inspection when adding orphan file feature. Checking this problem is not as simple as using a fs image (the problem manifests only if we add new quota type using tune2fs). I've created a test for it. I'll post it separately. Honza -- Jan Kara SUSE Labs, CR