Commit f7b6843
committed
Kernel+CrashDaemon: Use a ".partial" suffix for incomplete coredumps
The Kernel will now write to a .partial file until it is done writing,
and then rename the file by removing the extension.
This makes the final coredump appear atomically on the file system and
thus remove the need for special handling of partial files in
CrashDaemon.1 parent 64f08ba commit f7b6843
File tree
2 files changed
+19
-28
lines changed- Kernel/Tasks
- Userland/Services/CrashDaemon
2 files changed
+19
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
| 834 | + | |
835 | 835 | | |
836 | 836 | | |
837 | | - | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
838 | 849 | | |
839 | 850 | | |
840 | 851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 12 | | |
34 | 13 | | |
35 | 14 | | |
| |||
49 | 28 | | |
50 | 29 | | |
51 | 30 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 31 | + | |
| 32 | + | |
55 | 33 | | |
56 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
57 | 38 | | |
58 | | - | |
59 | 39 | | |
60 | 40 | | |
61 | 41 | | |
| |||
0 commit comments