News: 0001632892

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

F2FS Preparing FSERROR Reporting Support

([Linux Storage] 4 Hours Ago F2FS FSERROR)


Introduced in Linux 7.0 was [1]FSERROR as generic I/O error reporting infrastructure . Linux to that point had no standardized mechanism for reporting metadata corruption or file I/O errors to user-space with each file-system doing its own thing. The Flash-Friendly File-System (F2FS) is now the latest Linux file-system preparing for FSERROR usage.

Via the F2FS development "dev" branch is support for reporting F2FS errors to FSERROR. Integrating FSERROR into F2FS was just around 60 some lines of code.

The FSERROR integration can be found via [2]this patch in the F2FS dev branch. With the code now in the dev branch, chances are this support will be merged for the upcoming Linux 7.2 kernel cycle.

Btrfs in Linux 7.1 added FSERROR support and XFS in Linux 7.0 was the debut file-system with FSERROR support along with EXT4. Other Linux file-systems likely to follow in using this standardized mechanism for reporting I/O errors.



[1] https://www.phoronix.com/news/Linux-7.0-VFS

[2] https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev&id=7e6f221dee955f85156222fbc60fdd2a533f00df



Time is nature's way of making sure that everything doesn't happen at once.

Space is nature's way of making sure that everything doesn't happen to you.