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



Lassie looked brilliant, in part because the farm family she
lived with was made up of idiots. Remember? One of them was always
getting pinned under the tractor, and Lassie was always rushing back to
the farmhouse to alert the other ones. She'd whimper and tug at their
sleeves, and they'd always waste precious minutes saying things: "Do
you think something's wrong? Do you think she wants us to follow her?
What is it, girl?", etc., as if this had never happened before, instead
of every week. What with all the time these people spent pinned under
the tractor, I don't see how they managed to grow any crops whatsoever.
They probably got by on federal crop supports, which Lassie filed the
applications for.
-- Dave Barry