Re: [PATCH 0/4] fat: allocate multiple clusters in fallocate
From: OGAWA Hirofumi
Date: Sun Oct 11 2026 - 14:56:52 EST
Matheus Alves de Almeida <matheus.aalmeida@xxxxxxxxxxxx> writes:
> 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.
Is this to improve the performance of fallocate? If so, what the number
by improved bench or such?
> 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(-)
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>