summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2026-10-09 18:30:04 +0800
committerTheodore Ts'o <tytso@mit.edu>2026-10-15 10:53:11 -0400
commit5b7a0efa8590929e44ae6b3777502314bd6a07a0 (patch)
tree03a818d1d2f5fcfd2d35eb0d8fbea9bf60b6e388 /scripts/Makefile.thinlto
parentbbe1fc8a29c052237493cd8f56ef1d81f81865dc (diff)
downloadlinux-5b7a0efa8590929e44ae6b3777502314bd6a07a0.tar.gz
linux-5b7a0efa8590929e44ae6b3777502314bd6a07a0.zip
ext4: set EXT4_MAP_NEW flag for delayed allocated blocks
Set EXT4_MAP_NEW in ext4_da_map_blocks() to properly indicate that a new delayed allocation block has been inserted, allowing callers to distinguish newly created delayed extents from existing ones. Currently, the buffer_head caller, ext4_da_get_block_prep(), does not consume this flag. It intercepts EXT4_MAP_DELAYED and returns early, and unconditionally calls set_buffer_new(bh) so EXT4_MAP_NEW is not used. The flag is prepared for the iomap buffered I/O path added later. Reported-by: Ojaswin Mujoo <ojaswin@linux.ibm.com> Link: https://lore.kernel.org/linux-ext4/cc05c17d-163e-4251-b2c9-aa3a6f9555d7@huaweicloud.com/ Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com> Tested-by: syzbot@syzkaller.appspotmail.com Link: https://patch.msgid.link/20261009103033.2920530-4-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