[PATCH 2/2] mkfs.f2fs: treat db's data as hot one
From: Chao Yu
Date: Wed Feb 28 2018 - 04:04:20 EST
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@xxxxxxxxxx>
---
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