All of lore.kernel.org
 help / color / mirror / Atom feed
* [f2fs-dev] [PATCH] mkfs.f2fs: set SQLite journal files to hot extensions
@ 2025-09-30 17:09 Jaegeuk Kim via Linux-f2fs-devel
       [not found] ` <CAD14+f0JGoNeEbN=duPeiKhBmQK9EBZ4h-BE0ShwmckzoQ47PQ@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Jaegeuk Kim via Linux-f2fs-devel @ 2025-09-30 17:09 UTC (permalink / raw)
  To: linux-f2fs-devel; +Cc: Jaegeuk Kim

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 <jaegeuk@kernel.org>
---
 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
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [f2fs-dev] [PATCH] mkfs.f2fs: set SQLite journal files to hot extensions
       [not found] ` <CAD14+f0JGoNeEbN=duPeiKhBmQK9EBZ4h-BE0ShwmckzoQ47PQ@mail.gmail.com>
@ 2025-10-01 17:25   ` Jaegeuk Kim via Linux-f2fs-devel
  0 siblings, 0 replies; 2+ messages in thread
From: Jaegeuk Kim via Linux-f2fs-devel @ 2025-10-01 17:25 UTC (permalink / raw)
  To: Juhyung Park; +Cc: linux-f2fs-devel

On 09/30, Juhyung Park wrote:
> I recall being told by Chao that the ext is checked with .startsWith()-like
> semantics, hence "mp" covering both mp3/mp4.
> 
> Was this not the case for hot list?

Thanks, Juhyung. Yeah, it seems the code looks like that. Let me drop this
patch.

> 
> On Tue, Sep 30, 2025 at 10:13 AM Jaegeuk Kim via Linux-f2fs-devel <
> linux-f2fs-devel@lists.sourceforge.net> wrote:
> 
> > 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 <jaegeuk@kernel.org>
> > ---
> >  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
> > Linux-f2fs-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
> >


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-01 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-30 17:09 [f2fs-dev] [PATCH] mkfs.f2fs: set SQLite journal files to hot extensions Jaegeuk Kim via Linux-f2fs-devel
     [not found] ` <CAD14+f0JGoNeEbN=duPeiKhBmQK9EBZ4h-BE0ShwmckzoQ47PQ@mail.gmail.com>
2025-10-01 17:25   ` Jaegeuk Kim via Linux-f2fs-devel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.