verify: add comment for inode sorting
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c894909e17
commit
2ab12cd0cb
@ -205,6 +205,7 @@ fn verify_index_chunks(
|
||||
}
|
||||
}
|
||||
|
||||
// sorting by inode improves data locality, which makes it lots faster on spinners
|
||||
chunk_list.sort_unstable_by(|(_, ino_a), (_, ino_b)| ino_a.cmp(&ino_b));
|
||||
|
||||
for (pos, _) in chunk_list {
|
||||
|
Loading…
Reference in New Issue
Block a user