Skip to contentSkip to conversation

mkfs.f2fs: add VM disk files to hot data types

PATCH Applied Park Ju Hyung 3 participants 3 messages Feb 14, 2021 – Feb 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mkfs.f2fs: add VM disk files to hot data types

Similar to .db files, these are randomly updated extremely frequently.

---
 mkfs/f2fs_format.c | 7 +++++++
 1 file changed, 7 insertions(+)
mkfs/f2fs_format.c +7 -0
index a6c542e8e1f0..dbb5bb3e2ba7 100644
@@ -96,6 +96,13 @@ const char *media_ext_lists[] = {
 
 const char *hot_ext_lists[] = {
 	"db",
+
+#ifndef WITH_ANDROID
+	/* Virtual machines */
+	"vmdk", // VMware or VirtualBox
+	"vdi", // VirtualBox
+	"qcow2", // QEMU
+#endif
 	NULL
 };
 
Signature · 8 lines
2.30.0



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

Thanks, applied. :)

Quoted 34 lines · Park Ju Hyung

Similar to .db files, these are randomly updated extremely frequently.

---
 mkfs/f2fs_format.c | 7 +++++++
 1 file changed, 7 insertions(+)
mkfs/f2fs_format.c +7 -0
index a6c542e8e1f0..dbb5bb3e2ba7 100644
@@ -96,6 +96,13 @@ const char *media_ext_lists[] = {
 
 const char *hot_ext_lists[] = {
 	"db",
+
+#ifndef WITH_ANDROID
+	/* Virtual machines */
+	"vmdk", // VMware or VirtualBox
+	"vdi", // VirtualBox
+	"qcow2", // QEMU
+#endif
 	NULL
 };
 
Signature · 8 lines
2.30.0



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

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