Commit f7d4085
committed
node.c: Print index values aligned and rename the second field to "key".
It's becoming more clear that the second field is used to binary search
the entries without having to parse the entries themselves.
It doesn't seem to be used for regular directory nodes, where the key is
set to 0xFFFF for all entries but extent nodes have ascending values
corresponding to the cumulative number of mapped clusters in the node
after each entry, up to the point where the value oveflows 0xFFFF, after
which 0xFFFF is written as key in all subsequent index entries (it's
likely that the extent entry itself needs to be consulted for entries
with 0xFFFF as key).1 parent 918195e commit f7d4085
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3998 | 3998 | | |
3999 | 3999 | | |
4000 | 4000 | | |
4001 | | - | |
4002 | | - | |
4003 | | - | |
4004 | | - | |
4005 | | - | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
| 4005 | + | |
4006 | 4006 | | |
4007 | 4007 | | |
4008 | 4008 | | |
| |||
4013 | 4013 | | |
4014 | 4014 | | |
4015 | 4015 | | |
| 4016 | + | |
4016 | 4017 | | |
4017 | 4018 | | |
4018 | 4019 | | |
| |||
0 commit comments