Commit 27d1c29
committed
seize: fix pause devices for frozen containers
The container checkpointing procedure in Kubernetes freezes running
containers to create a consistent snapshot of both the runtime state and
the rootfs of the container. However, when checkpointing a GPU container,
it must be unfrozen before invoking `cuda-checkpoint`. This is achieved
in `prepare_freezer_for_interrupt_only_mode()`, which needs to be called
before the `PAUSE_DEVICES` hook.
Fixes: checkpoint-restore#2514
Signed-off-by: Radostin Stoyanov <[email protected]>1 parent f6c14ee commit 27d1c29
1 file changed
+14
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1060 | 1060 | | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | 1063 | | |
1069 | 1064 | | |
1070 | 1065 | | |
1071 | 1066 | | |
1072 | 1067 | | |
1073 | 1068 | | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
1079 | 1088 | | |
1080 | 1089 | | |
1081 | 1090 | | |
| |||
0 commit comments