mkfs.f2fs: treat db's data as hot one
authorChao Yu <yuchao0@huawei.com>
Wed, 28 Feb 2018 09:03:44 +0000 (17:03 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 7 May 2018 21:49:38 +0000 (14:49 -0700)
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>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
mkfs/f2fs_format.c

index 662ac52..8a19516 100644 (file)
@@ -69,6 +69,7 @@ const char *media_ext_lists[] = {
 };
 
 const char *hot_ext_lists[] = {
+       "db",
        NULL
 };