diff options
| author | Zhang Yi <[email protected]> | 2024-05-17 12:40:01 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-06-27 22:04:49 +0000 |
| commit | 12eba993b94c9186e44a01f46e38b3ab3c635f2d (patch) | |
| tree | b64945a89abed6d69cdec53778887156520551f4 /fs/jbd2/commit.c | |
| parent | ext4: drop iblock parameter (diff) | |
| download | kernel-12eba993b94c9186e44a01f46e38b3ab3c635f2d.tar.gz kernel-12eba993b94c9186e44a01f46e38b3ab3c635f2d.zip | |
ext4: make ext4_es_insert_delayed_block() insert multi-blocks
Rename ext4_es_insert_delayed_block() to ext4_es_insert_delayed_extent()
and pass length parameter to make it insert multiple delalloc blocks at
a time. For the case of bigalloc, split the allocated parameter to
lclu_allocated and end_allocated. lclu_allocated indicates the
allocation state of the cluster which is containing the lblk,
end_allocated indicates the allocation state of the extent end, clusters
in the middle of delay allocated extent must be unallocated.
Signed-off-by: Zhang Yi <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
