Journal files will be created and deleted with random updates. Let's put
the data in HOT log to mitigate the entire fragmentation.

Signed-off-by: Jaegeuk Kim <[email protected]>
---
 mkfs/f2fs_format.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c
index b98976c6ffa8..53e1f982945d 100644
--- a/mkfs/f2fs_format.c
+++ b/mkfs/f2fs_format.c
@@ -157,6 +157,9 @@ const char *media_ext_lists[] = {
 
 const char *hot_ext_lists[] = {
        "db",
+       "db-journal",
+       "db-wal",
+       "db-shm",
 
 #ifndef WITH_ANDROID
        /* Virtual machines */
-- 
2.51.0.618.g983fd99d29-goog



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to