Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2333959ybk; Mon, 11 May 2020 18:52:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQhuQ8HbSjfoHiEgxeeDAtj0+1zHUi4lY1U8LRw2gnMQ01ADwq34dQBb/HzBo4UwKly7cv X-Received: by 2002:a05:6402:3092:: with SMTP id de18mr957954edb.109.1589248367073; Mon, 11 May 2020 18:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589248367; cv=none; d=google.com; s=arc-20160816; b=dLuw1bKlAP2KKM+fzALrbCLUQBMkIT0gwTSAS29493SmoDI/Xae27Mi6dRdlUnaK+y +BD6p/LS8SAyXVoNkAb/1hJCq9/VSdrkDsSAPn73ba4ZqyguqVCibX47Krc7u+wb7sD+ 9uharv9vZ0tp8/bwFj77s9KyQvxKbyalfY1FTOZUD5m/cReObGV8e37CQf/6P1z/LD6P M6He7DW+Iovs0YEFCdvMp3Qa6uD+D4pjWfGqS8lBaKvqhyZWv5Cc53+lqs58O6g/545S 5C0njDVwcRu56dlfZMN/JoqJxrToWcn2dVxtJgFp7zKawtFyhhc9iPa0zMiIwSB2jAvl iuPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=A0AGnmd8N8aXntr/n2A/KX144ePXL8fSD1lwUxrgle4=; b=r2PSnTv2bsZsVt8rdmHa5/btpiLdmuzoGoDnTQRHcDv0b9W1OyxE9ukhYexdmR19A4 xje05b1/vVAmdG8PN4P1JH41/1K7xiQKyYaNcHnr1uVnK7Rw22N+iRO8r6HKC5G7bY2f sw51RZ+dMH23Q+TY41iCrLBpQ+xoPXX1jX89DjRWuBEqDlqd4OweBHa8jEu4wc+46e4w lzFcqTno4htrM7gAyUb1ANUiW5jELBAnoK0fdC5BT4+N1Wkxp+pXmPj0PCbOM4P/stp3 Ax/pxoW3uoq3auoljVfg829oek2VR3QB6NRmfrfscUX86qg9/k1XWUxFjdd4r6ucX1Dg aamQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 dn10si2240178ejc.89.2020.05.11.18.52.24; Mon, 11 May 2020 18:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728487AbgELBug (ORCPT + 99 others); Mon, 11 May 2020 21:50:36 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4392 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726415AbgELBug (ORCPT ); Mon, 11 May 2020 21:50:36 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C2BACC829ABFA8EDCF1B; Tue, 12 May 2020 09:50:32 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.205) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 12 May 2020 09:50:29 +0800 Subject: Re: [f2fs-dev] [PATCH] f2fs: report delalloc reserve as non-free in statfs for project quota To: Konstantin Khlebnikov , , , Jaegeuk Kim , Chao Yu References: <158917771894.228779.2521743301299120701.stgit@buzz> From: Chao Yu Message-ID: <6818c82e-4df6-1dfb-90ef-61dc151e3061@huawei.com> Date: Tue, 12 May 2020 09:50:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <158917771894.228779.2521743301299120701.stgit@buzz> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/5/11 14:15, Konstantin Khlebnikov wrote: > This reserved space isn't committed yet but cannot be used for > allocations. For userspace it has no difference from used space. > > See the same fix in ext4 commit f06925c73942 ("ext4: report delalloc > reserve as non-free in statfs for project quota"). > > Signed-off-by: Konstantin Khlebnikov > Fixes: ddc34e328d06 ("f2fs: introduce f2fs_statfs_project") Reviewed-by: Chao Yu Thanks,