News: 0001628813

  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, EXT4 & XFS Focus On Fixes For Linux 7.1

([Linux Storage] 3 Hours Ago Flash-Friendly File-System)


The Flash Friendly File-System ( [1]F2FS ) updates have been merged for the ongoing [2]Linux 7.1 merge window that will wrap up on Sunday. This follows earlier merges for the XFS and EXT4 drivers too.

This time around there isn't too much exciting work on the F2FS side. There are some memory safety issues resolved in the driver code (C language), improving the garbage collection robustness, and more, but nothing too particularly exciting for end users.

"In this round, the changes primarily focus on resolving race conditions, memory safety issues (UAF), and improving the robustness of garbage collection (GC), and folio management.

Enhancements:

- add page-order information for large folio reads in iostat

- add defrag_blocks sysfs node

Bug fixes:

- fix uninitialized kobject put in f2fs_init_sysfs()

- disallow setting an extension to both cold and hot

- fix node_cnt race between extent node destroy and writeback

- preserve previous reserve_{blocks,node} value when remount

- freeze GC and discard threads quickly

- fix false alarm of lockdep on cp_global_sem lock

- fix data loss caused by incorrect use of nat_entry flag

- skip empty sections in f2fs_get_victim

- fix inline data not being written to disk in writeback path

- fix fsck inconsistency caused by FGGC of node block

- fix fsck inconsistency caused by incorrect nat_entry flag usage

- call f2fs_handle_critical_error() to set cp_error flag

- fix fiemap boundary handling when read extent cache is incomplete

- fix use-after-free of sbi in f2fs_compress_write_end_io()

- fix UAF caused by decrementing sbi->nr_pages[] in f2fs_write_end_io()

- fix incorrect file address mapping when inline inode is unwritten

- fix incomplete search range in f2fs_get_victim when f2fs_need_rand_seg is enabled

- avoid memory leak in f2fs_rename()"

The list of F2FS patches for Linux 7.1 can be found via [3]this Git merge .

Similarly, on the XFS side there are not any new features but rather just bug fixes and code refactoring. Those details via [4]this Git merge .

Likewise, the EXT4 changes for Linux 7.1 also largely focus on fixes with [5]this merge . The most notable change there is preparations for making EXT4 use IOmap for buffered writes in a future kernel version.

So far the most exciting file-system work for Linux 7.1 would be [6]the Btrfs enhancements and [7]the NTFS resurrection .



[1] https://www.phoronix.com/search/F2FS

[2] https://www.phoronix.com/search/Linux+7.1

[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d46dd0d88341e45f8e0226fdef5462f5270898fc

[4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0b0128e64af056a7dd29fa3bc780af654e53f861

[5] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a436a0b847c0fef9ead14f99bc03d8adbf66f15b

[6] https://www.phoronix.com/news/Btrfs-Linux-7.1

[7] https://www.phoronix.com/news/Linux-7.1-New-NTFS-Driver



You will be called upon to help a friend in trouble.