lkml.org 
[lkml]   [2018]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] mkfs.f2fs: treat db's data as hot one
Date
DB files like .db, .db-journal, .db-wal, .db-shm are very active, this
patch adds db file type to hot file extension list by default.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
---
mkfs/f2fs_format.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c
index 3fc2f05437dd..f4a1b08789c1 100644
--- a/mkfs/f2fs_format.c
+++ b/mkfs/f2fs_format.c
@@ -69,6 +69,7 @@ const char *media_ext_lists[] = {
};

const char *hot_ext_lists[] = {
+ "db",
NULL
};

--
2.15.0.55.gc2ece9dc4de6
\
 
 \ /
  Last update: 2018-02-28 10:05    [W:0.031 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site