Commit 7006bdc
committed
Quota enforcing sector allocator
```
Moves disk quota enforcement to sector allocator, this allows the
file pool to have arbitrary large sparse files without running into
quota issues.
A consequence of this is that very large sparse files are now a first
class citizen of Buildbarn. We have therefore modified the sparse files
implementation to use a struct inspired by the unix inode pointer
struct.
```1 parent ab42e02 commit 7006bdc
File tree
12 files changed
+1046
-340
lines changed- cmd/bb_worker
- pkg/filesystem/pool
12 files changed
+1046
-340
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
493 | 504 | | |
494 | 505 | | |
495 | 506 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
| 507 | + | |
500 | 508 | | |
501 | 509 | | |
502 | 510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
0 commit comments