[PATCH 0/4] fat: allocate multiple clusters in fallocate

From: Matheus Alves de Almeida

Date: Wed Oct 07 2026 - 22:10:52 EST


Hi,

This series adds support for allocating multiple clusters in a single
fat_add_clusters() call in fat_fallocate().

The multi-cluster TODO in inode.c is not implemented, as doing so would
require speculative preallocation or an iomap conversion.

Matheus Alves de Almeida (4):
fat: remove cluster allocation size limit
fat: return only first cluster when allocating
fat: support adding multiple clusters
fat: allocate multiple clusters in fallocate

fs/fat/dir.c | 20 +++++++++++++++-
fs/fat/fat.h | 4 ++--
fs/fat/fatent.c | 61 ++++++++++++++++++++++++++++++++-----------------
fs/fat/file.c | 10 ++++----
fs/fat/inode.c | 8 +++----
5 files changed, 69 insertions(+), 34 deletions(-)

--
2.43.0