mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 06:56:28 -05:00
Allocate content extents by run instead of by block
This commit is contained in:
parent
b14f703d2b
commit
17b24c8d21
4 changed files with 34 additions and 34 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue