diff options
| author | Zhang Yi <[email protected]> | 2025-05-12 06:33:13 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2025-05-20 14:31:12 +0000 |
| commit | 16705e52e6291c6ab4249aaf1cdf0b8e88afe775 (patch) | |
| tree | 6518b77decfc2c5fc84078d5c5f6655023bbf496 /fs/ext4/fast_commit.c | |
| parent | ext4: make ext4_mpage_readpages() support large folios (diff) | |
| download | kernel-16705e52e6291c6ab4249aaf1cdf0b8e88afe775.tar.gz kernel-16705e52e6291c6ab4249aaf1cdf0b8e88afe775.zip | |
ext4: make regular file's buffered write path support large folios
The current buffered write path in ext4 can only allocate and handle
folios of PAGE_SIZE size. To support larger folios, modify
ext4_da_write_begin() and ext4_write_begin() to allocate higher-order
folios, and trim the write length if it exceeds the folio size.
Additionally, in ext4_da_do_write_end(), use offset_in_folio() instead
of PAGE_SIZE.
Signed-off-by: Zhang Yi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
