diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2024-05-17 20:40:02 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-06-27 18:04:50 -0400 |
commit | 0d66b23d79c750276f791411d81a524549a64852 (patch) | |
tree | f47593fe41ec03665b9eb791b1afdcd51eea9f7d /fs/ext4/fast_commit.c | |
parent | 12eba993b94c9186e44a01f46e38b3ab3c635f2d (diff) |
ext4: make ext4_da_reserve_space() reserve multi-clusters
Add 'nr_resv' parameter to ext4_da_reserve_space(), which indicates the
number of clusters wants to reserve, make it reserve multiple clusters
at a time.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240517124005.347221-8-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions