diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2025-05-12 09:33:13 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2025-05-20 17:31:12 +0300 |
commit | 16705e52e6291c6ab4249aaf1cdf0b8e88afe775 (patch) | |
tree | 6518b77decfc2c5fc84078d5c5f6655023bbf496 /scripts/lib/kdoc/kdoc_files.py | |
parent | fdbd0df9d4a36c9091d4f7e8cdfbe76c94aab0ab (diff) | |
download | linux-16705e52e6291c6ab4249aaf1cdf0b8e88afe775.tar.xz |
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 <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20250512063319.3539411-3-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions