diff options
| author | Matheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br> | 2026-10-12 14:11:04 -0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-20 22:29:55 -0700 |
| commit | 930256458a8a53b89466a3f90c82dbe554efeced (patch) | |
| tree | 4449ccf259e80934a09b5165b1a133569193f0b0 /include/linux | |
| parent | edb528227f55e7564febcf68ed2f1bf8045559a9 (diff) | |
fat: remove cluster allocation size limit
Patch series "fat: allocate multiple clusters in fallocate", v2.
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.
This patch (of 3):
fat_alloc_clusters() currently BUG()s when asked to allocate more than
MAX_BUF_PER_PAGE / 2 clusters. This limit comes from the buffer_head
array used to defer syncing and mirroring.
Remove the allocation size limit by doing buffer_head batching like
fat_free_clusters() does.
Link: https://lore.kernel.org/20261012171106.146243-1-matheus.aalmeida@inf.ufrgs.br
Link: https://lore.kernel.org/20261012171106.146243-2-matheus.aalmeida@inf.ufrgs.br
Signed-off-by: Matheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
