Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4223886ybv; Sun, 16 Feb 2020 17:04:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwJI34CYKKhuT3JYr/QtK8uZwfQCeewMOR4hPIlsZ1a2w6XIBI04F7NAF7vRJahtuEPcYX4 X-Received: by 2002:a9d:806:: with SMTP id 6mr10026750oty.90.1581901448777; Sun, 16 Feb 2020 17:04:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581901448; cv=none; d=google.com; s=arc-20160816; b=avEt7AnAZC7paErbb+VmXigk0+EV0gAZ6zZyRxEhduB18r6c6rPpx7c8cC437ALyr2 fbSaxxhmxTycHLXiAXEMjBn6E5I9TaK3h4t8/Y+EDRL+MLmwJQ+R/iOX+3FRzjT399py Vd9wbK+g1Zc/AkSE2CRZ9vhgcsbIIW7im3EMDFIc3MVfKYvP/CUVpQzRFeKv8lMAhVJr qj5rE0vVq9+4llgKpbg6lwthMBOUg72SCy4Uo+2o/nWzl9IUO4kfvj8/23bF4RAx2ZcI cLXFRNXkOpZXcMZMKdC8MpYfPY+BeLpzDTcivGmEuilOO+Hg99NdNKcxrUNBZGSYAF6I MTOw== 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:cc:to:subject; bh=YGVKjDqZ/Ui3XMGQ6zwOwuisWOHKZwEAOeo+C+HQVyA=; b=Aa6+z1XkHvztxELCgs21lQFKSlFiXUCx8eK6sc5k3XSLoGDumlDc2JWqTApYXpwGx9 hefNBwM6XY+o2/NiW967+fFF4LTHWtuLRp2n0c83Cowg+jleShdZRYKeJfNKkGUP0XPo /mnycfc2bSL4F7/FSPgrwdImwQjhh50wf2ZfO09T5kJDJmBuvTbTIP+T9fkgvR5KSOYc 9liTYuYu2p8SQJlnbcZkN3LFhRmQscRPFGS9u3hCiAXYW0kghZGywU6AT4aEisfzL/SL XAj4pi1zkCeiqeyoEzJ71RjL1w0V6r5/8ImyYxdcakG1BbXtjN7PJtos+UWhRmYN7D7E 2mjg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19si5033553otq.296.2020.02.16.17.03.54; Sun, 16 Feb 2020 17:04:08 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726256AbgBQBDp (ORCPT + 99 others); Sun, 16 Feb 2020 20:03:45 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:10622 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726177AbgBQBDo (ORCPT ); Sun, 16 Feb 2020 20:03:44 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 406B710D8A15A8CBDBB6; Mon, 17 Feb 2020 09:03:35 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.212) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 17 Feb 2020 09:03:29 +0800 Subject: Re: [PATCH 3/4] f2fs: clean up lfs/adaptive mount option To: Jaegeuk Kim CC: , , References: <20200214094413.12784-1-yuchao0@huawei.com> <20200214094413.12784-3-yuchao0@huawei.com> <20200214184150.GB60913@google.com> From: Chao Yu Message-ID: Date: Mon, 17 Feb 2020 09:03: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: <20200214184150.GB60913@google.com> 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/2/15 2:41, Jaegeuk Kim wrote: >> diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h >> index 5152e9bf432b..d2d50827772c 100644 >> --- a/fs/f2fs/f2fs.h >> +++ b/fs/f2fs/f2fs.h >> @@ -91,8 +91,6 @@ extern const char *f2fs_fault_name[FAULT_MAX]; >> #define F2FS_MOUNT_FORCE_FG_GC 0x00004000 >> #define F2FS_MOUNT_DATA_FLUSH 0x00008000 >> #define F2FS_MOUNT_FAULT_INJECTION 0x00010000 >> -#define F2FS_MOUNT_ADAPTIVE 0x00020000 >> -#define F2FS_MOUNT_LFS 0x00040000 > > I don't think we can remove this simply. > >> #define F2FS_MOUNT_USRQUOTA 0x00080000 >> #define F2FS_MOUNT_GRPQUOTA 0x00100000 >> #define F2FS_MOUNT_PRJQUOTA 0x00200000 You mean getting rid of this change or we need to fill F2FS_MOUNT_* hole as below: #define F2FS_MOUNT_FAULT_INJECTION 0x00010000 -#define F2FS_MOUNT_ADAPTIVE 0x00020000 -#define F2FS_MOUNT_LFS 0x00040000 +#define F2FS_MOUNT_USRQUOTA 0x00020000 +#define F2FS_MOUNT_GRPQUOTA 0x00040000 ... Thanks,