[RFC PATCH 0/8] fat: convert to iomap
From: Matheus Alves de Almeida
Date: Sat Oct 31 2026 - 12:44:28 EST
Hi,
This series converts fat to use iomap. It follows roughly the direction
suggested by https://docs.kernel.org/filesystems/iomap/porting.html,
with the exfat conversion series and related fixes as a reference.
Overall, the largest performance improvements were seen for extending
writes (~30%) and fallocate() (~18%).
Thanks,
Matheus
Matheus Alves de Almeida (8):
fat: support FIEMAP
fat: use iomap for ->bmap()
fat: add iomap direct I/O support
fat: clean stale bdev buffers of newly allocated clusters
fat: drop ->write_begin() and ->write_end() usage from
fat_cont_expand()
fat: add iomap buffered I/O support
fat: remove ->mmu_private
fat: add multi-cluster allocation for write
fs/fat/Kconfig | 2 +-
fs/fat/Makefile | 2 +-
fs/fat/cache.c | 95 ++++++++++-----
fs/fat/dir.c | 1 -
fs/fat/fat.h | 20 +--
fs/fat/fatent.c | 67 ++++++++--
fs/fat/file.c | 316 ++++++++++++++++++++++++++++++++++++++----------
fs/fat/inode.c | 248 +++++--------------------------------
fs/fat/iomap.c | 180 +++++++++++++++++++++++++++
9 files changed, 599 insertions(+), 332 deletions(-)
create mode 100644 fs/fat/iomap.c
--
2.43.0