diff options
| author | Zhang Yi <yi.zhang@huawei.com> | 2026-10-09 18:30:10 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-10-15 10:53:12 -0400 |
| commit | a304299a40d92c668c5983d57edc512e4e878686 (patch) | |
| tree | 9abc27009c9eafda36bd8338d6892405f893aa43 /scripts/Makefile.thinlto | |
| parent | 244392197bb95955586fbb47f068b2432ed81317 (diff) | |
| download | linux-a304299a40d92c668c5983d57edc512e4e878686.tar.gz linux-a304299a40d92c668c5983d57edc512e4e878686.zip | |
ext4: add iomap address space operations for buffered I/O
Introduce initial support for iomap in the buffered I/O path for regular
files on ext4.
- Add a new inode state flag EXT4_STATE_BUFFERED_IOMAP to indicate the
inode uses iomap instead of buffer_head for buffered I/O
- Add helper ext4_inode_buffered_iomap() to check the flag
- Add new address space operations ext4_iomap_aops with callbacks that
will use generic iomap implementations
- Add ext4_iomap_aops to ext4_set_aops() when the flag is set
The following callbacks(read_folio(), readahead(), writepages()) are
provided as placeholders and will be implemented in later patches.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Tested-by: syzbot@syzkaller.appspotmail.com
Link: https://patch.msgid.link/20261009103033.2920530-10-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
