Allocate content extents by run instead of by block

This commit is contained in:
Andrea Mazzoleni 2026-09-09 18:06:09 +02:00
parent b14f703d2b
commit 17b24c8d21
4 changed files with 34 additions and 34 deletions

View file

@ -346,7 +346,7 @@ static void scan_file_allocate(struct snapraid_scan* scan, struct snapraid_file*
}
/* store in the disk map, after invalidating all the other blocks */
fs_allocate(disk, parity_pos, file, i);
fs_allocate(disk, parity_pos, file, i, 1);
/* set the new free position */
disk->first_free_block = parity_pos + 1;