Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp291607ybm; Mon, 20 May 2019 16:27:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYzQ67JAGkvASmBVj0jWzX004u7Bkyo4Vw11cbnvc3PCMPxdzU0A6E0POddW6qNYV6LHU+ X-Received: by 2002:a63:5166:: with SMTP id r38mr6667686pgl.429.1558394865626; Mon, 20 May 2019 16:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558394865; cv=none; d=google.com; s=arc-20160816; b=bN/R3z58HeA5yCUjN34WYyz9hc4foQL1/6Pe+wYbhLJj6QZ+Sz2pgl+p6cp9I2hzsF DqVCQvNr7y01EU4MNEeucBwptdvYolYNLTNP5H/HDkpsHCbFplqasH1DmRXP1/9qWnwu 87T46jOtqJQf4uhpJojdpbp8qOMC8Nrj/7x7wbAXTihyyrnBncjFuAN0rrjbdqGEsCMO 3NqDyhtm/6SI7yT02kV80MUIbknIegeXPc/Y3ur+RqR01a2JWUgI1Mafeikklgm9KGUP zbYyWokAJMaMePR/pVN3pNVqe8kYkmeaUZkm8zd+DH7Lz2FMHRGPxlivLoGdSaM/OjCX BSGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=t+uaP/ohAj63Wv22oQBrYBTiAke4jqpS5KSHzp01SDk=; b=SGrz6pMQtnB2oTtTyOIhipaE4a/Pm5cLCmSeu8P7zTdXlc9XC37pB7esxgIzm9cDmw 0guJPtQCtZqB3eP1j5WccF+W+NBLN6+KYMmgXtX+17BzVnuoFRuu06s8Z//kEG6ChQno bRihVAuFw4ii1mZx7pTs5jvEyFb4MTsJNfx0B4oGM0Nb4dVXqZvNiApQaD9uxllapHng OcT4JNu1XjuhtRsTH1W5yMsTIhJ/ejMDPrJxCQjIbD9W117Gwgg37k0WtNeQWkNRU4/c HVClpFlZw5QdGUrIEqKn00cJt1C1DNXgOF3vbrVuozsDUasTHEsABdUl8W0SsYjyP0KD 2UGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Sw3G2hqC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u5si19265489pgc.472.2019.05.20.16.27.30; Mon, 20 May 2019 16:27:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Sw3G2hqC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727213AbfETXYn (ORCPT + 99 others); Mon, 20 May 2019 19:24:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:47554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726913AbfETXYn (ORCPT ); Mon, 20 May 2019 19:24:43 -0400 Received: from localhost (unknown [104.132.1.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 82A3B20862; Mon, 20 May 2019 23:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558394682; bh=EAIisFPL9YiInF7rgY/58eLITFlmvPrtrY9ljPOJESM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sw3G2hqCcL7bO82bvqv/r6Z10kCLkBqgQgMffjGSQhFIWJTqAWbEaKMQgjZD1mj/i GuMymrpa9y9N7xKW+QaPFzS2D0t+N7RwRMEIb/GM6aDnEiYKKaoU8wjUtf5/fSuymL mCnwcegCm2qtJ6blWxg1+xPD4Gq//tYPfpdkgTeo= Date: Mon, 20 May 2019 16:24:41 -0700 From: Jaegeuk Kim To: Chao Yu Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH] f2fs: don't clear CP_QUOTA_NEED_FSCK_FLAG Message-ID: <20190520232441.GA61195@jaegeuk-macbookpro.roam.corp.google.com> References: <20190212023343.52215-1-jaegeuk@kernel.org> <5ee36ad7-9fe9-adcf-0974-5c17fa8d50ee@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ee36ad7-9fe9-adcf-0974-5c17fa8d50ee@huawei.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/10, Chao Yu wrote: > On 2019/2/12 10:33, Jaegeuk Kim wrote: > > If we met this once, let fsck.f2fs clear this only. > > Note that, this addresses all the subtle fault injection test. > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/checkpoint.c | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c > > index 03fea4efd64b..10a3ada28715 100644 > > --- a/fs/f2fs/checkpoint.c > > +++ b/fs/f2fs/checkpoint.c > > @@ -1267,8 +1267,6 @@ static void update_ckpt_flags(struct f2fs_sb_info *sbi, struct cp_control *cpc) > > > > if (is_sbi_flag_set(sbi, SBI_QUOTA_SKIP_FLUSH)) > > __set_ckpt_flags(ckpt, CP_QUOTA_NEED_FSCK_FLAG); > > - else > > - __clear_ckpt_flags(ckpt, CP_QUOTA_NEED_FSCK_FLAG); > > Jaegeuk, > > Will below commit fix this issue? Not sure, but just want to check that.. :) > > f2fs-tools: fix to check total valid block count before block allocation I started test again whether we can revert this or not. :) Let's see.