mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 19:14:04 +00:00
No description
blcrcheckpointcontainercontainerscriudmtcphighly-availablelinuxmemory-trackingmigrationparasitepost-copyrestoresnapshotsuspenduserfaultfdzero-downtime
In case if we're dumping the peer which another
end belongs not to us but some other application
the attempts to flush data may lead to endless
SIGTTOU storm:
| 1158 ioctl(53, TCFLSH, 0x2) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
| 1158 --- SIGTTOU {si_signo=SIGTTOU, si_code=SI_KERNEL, si_value={int=5, ptr=0x5}} ---
| 1158 --- stopped by SIGTTOU ---
| 1158 ioctl(53, TCFLSH, 0x2) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
| 1158 --- SIGTTOU {si_signo=SIGTTOU, si_code=SI_KERNEL, si_value={int=5, ptr=0x5}} ---
| 1158 --- stopped by SIGTTOU ---
so simply don't flush data, the initial attempt to use
TCIOFLUSH was rather "hey, we don't have a way to
say the kernel to freeze tty link for a while, lets
try to workaround this limitation" but without proper
kernel help this won't work anyway as Andrey has discovered.
Reported-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Andrew Vagin <avagin@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
|
||
|---|---|---|
| arch/x86 | ||
| Documentation | ||
| include | ||
| pie | ||
| protobuf | ||
| test | ||
| .gitignore | ||
| .mailmap | ||
| COPYING | ||
| cr-check.c | ||
| cr-dump.c | ||
| cr-restore.c | ||
| cr-show.c | ||
| CREDITS | ||
| crtools.c | ||
| eventfd.c | ||
| eventpoll.c | ||
| fifo.c | ||
| file-ids.c | ||
| files-reg.c | ||
| files.c | ||
| image.c | ||
| inotify.c | ||
| ipc_ns.c | ||
| kcmp-ids.c | ||
| libnetlink.c | ||
| log.c | ||
| Makefile | ||
| mount.c | ||
| namespaces.c | ||
| net.c | ||
| netfilter.c | ||
| parasite-syscall.c | ||
| pipes.c | ||
| proc_parse.c | ||
| protobuf.c | ||
| pstree.c | ||
| ptrace.c | ||
| rbtree.c | ||
| README | ||
| shmem.c | ||
| signalfd.c | ||
| sk-inet.c | ||
| sk-packet.c | ||
| sk-queue.c | ||
| sk-tcp.c | ||
| sk-unix.c | ||
| sockets.c | ||
| sysctl.c | ||
| tty.c | ||
| util-net.c | ||
| util.c | ||
| uts_ns.c | ||
crtools ======= An utility to checkpoint/restore tasks. Some code snippets are borrowed from - Linux kernel (http://kernel.org/) - git (http://git-scm.com/) - kvm-tools (https://github.com/penberg/linux-kvm) - ptrace-parasite (https://code.google.com/p/ptrace-parasite/) Many thanks to these projects. Licensed under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt)