diff options
| author | Zhang Yi <yi.zhang@huawei.com> | 2026-10-09 18:30:17 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-10-15 10:53:13 -0400 |
| commit | e055578dc19256e44a774eb04a24c8d22465a698 (patch) | |
| tree | 250100e667b347aff2f6dce0f8566e8e99ba998d /scripts/Makefile.thinlto | |
| parent | a2e096bf59634fe2364548d59a99085680040518 (diff) | |
| download | linux-e055578dc19256e44a774eb04a24c8d22465a698.tar.gz linux-e055578dc19256e44a774eb04a24c8d22465a698.zip | |
ext4: implement mmap path using iomap
Introduce ext4_iomap_page_mkwrite() to implement the mmap iomap path
for ext4. The heavy lifting is delegated to iomap_page_mkwrite(), which
only requires ext4_iomap_buffered_write_ops and
ext4_iomap_buffered_da_write_ops to allocate and map blocks.
Note that the lock ordering between folio lock and transaction start in
this path is reversed compared to the buffer_head buffered write path.
The lock ordering documentation in super.c has been updated accordingly.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Tested-by: syzbot@syzkaller.appspotmail.com
Link: https://patch.msgid.link/20261009103033.2920530-17-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
