Commit 73d2764
Fix clustering problem.
There is a problem when we meet two files that already have hardlinks
each. It is possible for hardlink.py to idly move a file from one
hardlink to another without ever ultimately saving space. This can
happen on large disks with backup files, stored and occasionally
hardlinked over years. The solution is to always use the file with the
most hardlinks as the source if (stat_info.st_nlink >
temp_stat_info.st_nlink).1 parent 5f28a71 commit 73d2764
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
| |||
0 commit comments