From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753192AbcEIL55 (ORCPT ); Mon, 9 May 2016 07:57:57 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:26191 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751449AbcEIL4y (ORCPT ); Mon, 9 May 2016 07:56:54 -0400 From: Chao Yu To: CC: , , Chao Yu Subject: [PATCH 5/6] f2fs: enable inline_dentry by default Date: Mon, 9 May 2016 19:56:34 +0800 Message-ID: <20160509115635.123946-5-yuchao0@huawei.com> X-Mailer: git-send-email 2.8.2.311.gee88674 In-Reply-To: <20160509115635.123946-1-yuchao0@huawei.com> References: <20160509115635.123946-1-yuchao0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.120.216.130] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.57307B02.0027,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ca1a0950036dd9bcffa9cf035b47a5c5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make inline_dentry as default mount option to improve space usage and IO performance in scenario of numerous small directory. Signed-off-by: Chao Yu --- fs/f2fs/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 28c8992..4a4f4bd 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -824,6 +824,7 @@ static void default_options(struct f2fs_sb_info *sbi) set_opt(sbi, BG_GC); set_opt(sbi, INLINE_DATA); + set_opt(sbi, INLINE_DENTRY); set_opt(sbi, EXTENT_CACHE); #ifdef CONFIG_F2FS_FS_XATTR -- 2.8.2.311.gee88674