All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] fat: allocate multiple clusters in fallocate
@ 2026-10-12 17:11 Matheus Alves de Almeida
  2026-10-12 17:11 ` [PATCH v2 1/3] fat: remove cluster allocation size limit Matheus Alves de Almeida
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Matheus Alves de Almeida @ 2026-10-12 17:11 UTC (permalink / raw)
  To: OGAWA Hirofumi; +Cc: linux-fsdevel, linux-kernel, Matheus Alves de Almeida

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.

Changes in v2:
- Keep the directory entry path unchanged.
- Add fat_alloc_chain() for callers that only need the first cluster,
  sharing the internal implementation with fat_alloc_clusters().
- Add benchmark results to the fallocate commit log.

Matheus Alves de Almeida (3):
  fat: remove cluster allocation size limit
  fat: support adding multiple clusters
  fat: allocate multiple clusters in fallocate

 fs/fat/fat.h    |  3 ++-
 fs/fat/fatent.c | 62 +++++++++++++++++++++++++++++++++++++------------
 fs/fat/file.c   | 10 ++++----
 fs/fat/inode.c  |  8 +++----
 4 files changed, 57 insertions(+), 26 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-10-13 13:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-12 17:11 [PATCH v2 0/3] fat: allocate multiple clusters in fallocate Matheus Alves de Almeida
2026-10-12 17:11 ` [PATCH v2 1/3] fat: remove cluster allocation size limit Matheus Alves de Almeida
2026-10-13 13:17   ` OGAWA Hirofumi
2026-10-12 17:11 ` [PATCH v2 2/3] fat: support adding multiple clusters Matheus Alves de Almeida
2026-10-13 13:17   ` OGAWA Hirofumi
2026-10-12 17:11 ` [PATCH v2 3/3] fat: allocate multiple clusters in fallocate Matheus Alves de Almeida
2026-10-13 13:17   ` OGAWA Hirofumi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.