Re: [PATCH 2/9] quota: Do not account space used by project quota file to quota
From: Jan Kara <jack@suse.cz>
Date: 2021-08-04 12:15:55
From: Jan Kara <jack@suse.cz>
Date: 2021-08-04 12:15:55
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:quoted
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 <jack@suse.cz>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 [off-list ref] SUSE Labs, CR