Announcement

Collapse
No announcement yet.

F2FS File-System Gets Discard Improvements, Nobarrier Fsync Mode For Linux 4.18

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • F2FS File-System Gets Discard Improvements, Nobarrier Fsync Mode For Linux 4.18

    Phoronix: F2FS File-System Gets Discard Improvements, Nobarrier Fsync Mode For Linux 4.18

    Flash-Friendly File-System (F2FS) maintainer Jaegeuk Kim has submitted the file-system updates intended for the Linux 4.18 kernel...

    http://www.phoronix.com/scan.php?pag...tes-Linux-4.18

  • #2
    So when is F2FS for Windows coming, or the idea of making universal filesystem for flash drives / SD cards was a fake?

    Without ubiquitous support, sharing such drives / cards is a pain.
    Last edited by shmerl; 06-12-2018, 12:48 PM.

    Comment


    • #3
      Does F2FS still eat data?

      Last time I tried it (about a year ago), I noticed I was getting a lot of corrupted files and data losses after a few unclean shutdowns, so I noped straight out of there.

      A filesystem that cannot recover from an unclean shutdown is not for me.

      Comment


      • #4
        The patch looks like this:

        Code:
        - if (!atomic)
        + if (!atomic && F2FS_OPTION(sbi).fsync_mode != FSYNC_MODE_NOBARRIER)
                 ret = f2fs_issue_flush(sbi, inode->i_ino);
        "nobarrier" (…) doesn't issue flush command for non-atomic files [like the] "nobarrier" mount option.
        What is an atomic file?
        Last edited by andreano; 06-13-2018, 01:55 PM.

        Comment


        • #5
          Originally posted by andreano View Post
          What is an atomic file?
          I think it means "atomic write" or "atomic transaction". F2FS does have atomic write support afaik. https://www.spinics.net/lists/kernel/msg1834034.html

          But using this is up to the application apparently as it is a specific system call. https://phoronix.com/scan.php?page=n...-3.21-Released

          Comment

          Working...
          X