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



I used to live in a house by the freeway. When I went anywhere, I had
to be going 65 MPH by the end of my driveway.

I replaced the headlights in my car with strobe lights. Now it looks
like I'm the only one moving.

I was pulled over for speeding today. The officer said, "Don't you know
the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
to be out that long."

I put a new engine in my car, but didn't take the old one out. Now
my car goes 500 miles an hour.
-- Steven Wright