ext4: passing block allocation information to ext4_es_insert_extent()
authorZhang Yi <yi.zhang@huawei.com>
Tue, 13 Aug 2024 12:34:45 +0000 (20:34 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 2 Sep 2024 19:26:14 +0000 (15:26 -0400)
commitf3baf33b9cae0e00fe1870abca952d5dfea53dc6
tree5ab6d86ed1bb045796da2bedf01084b61bc11e58
parentfccd632670408ab3066712aa90cc972b18d1b617
ext4: passing block allocation information to ext4_es_insert_extent()

Just pass the block allocation flag to ext4_es_insert_extent() when we
replacing a current extent after an actually block allocation or extent
status conversion, this flag will be used by later changes.

Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20240813123452.2824659-6-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c
fs/ext4/extents_status.c
fs/ext4/extents_status.h
fs/ext4/inode.c