Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1396972 > unrolled thread

[PATCH 5/6] f2fs: enable inline_dentry by default

Started byChao Yu <yuchao0@huawei.com>
First post2016-05-09 14:00 +0200
Last post2016-05-10 01:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 5/6] f2fs: enable inline_dentry by default Chao Yu <yuchao0@huawei.com> - 2016-05-09 14:00 +0200
    Re: [PATCH 5/6] f2fs: enable inline_dentry by default Jaegeuk Kim <jaegeuk@kernel.org> - 2016-05-10 01:10 +0200

#1396972 — [PATCH 5/6] f2fs: enable inline_dentry by default

FromChao Yu <yuchao0@huawei.com>
Date2016-05-09 14:00 +0200
Subject[PATCH 5/6] f2fs: enable inline_dentry by default
Message-ID<rwS0V-4NU-3@gated-at.bofh.it>
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 <yuchao0@huawei.com>
---
 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

[toc] | [next] | [standalone]


#1397500

FromJaegeuk Kim <jaegeuk@kernel.org>
Date2016-05-10 01:10 +0200
Message-ID<rx2tk-76w-11@gated-at.bofh.it>
In reply to#1396972
On Mon, May 09, 2016 at 07:56:34PM +0800, Chao Yu wrote:
> Make inline_dentry as default mount option to improve space usage and
> IO performance in scenario of numerous small directory.

Hmm, I've not much tested this so far.
Let me take time to consider this for a while.

Thanks,

> 
> Signed-off-by: Chao Yu <yuchao0@huawei.com>
> ---
>  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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web