No description
Find a file
Pavel Emelyanov 237ef3c809 pipe: Rework pipe data restore to use vmsplice
This serves two things -- kills annoying data offset management
which makes protobuf switch too ugly. And removes the need to
seek the pipe data image, which in turn is the prerequisity for
streaming migration.

Memory usage is still optimal, since we still use splice on dump
path and on restore stage we F_GIFT pipe buffers to the kernel.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-07-12 06:57:20 +04:00
Documentation docs: Add -s option 2012-05-03 16:21:15 +04:00
include pipe: Rework pipe data restore to use vmsplice 2012-07-12 06:57:20 +04:00
test zdtm: Wait for test finish with increasing intervals 2012-07-11 07:57:23 +04:00
tools tools: Update commit bot 2012-02-07 18:37:03 +04:00
.gitignore Update .gitignore 2012-07-09 15:03:38 +04:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
COPYING Add COPYING file 2011-12-05 14:11:05 +04:00
cr-check.c pipe: Rework pipe data restore to use vmsplice 2012-07-12 06:57:20 +04:00
cr-dump.c fifo: Add checkpoint restore for fifos v4 2012-07-01 17:15:48 +04:00
cr-restore.c restore: restore pgid in two phases 2012-07-02 16:53:55 +04:00
cr-show.c pipe: Rework pipe data restore to use vmsplice 2012-07-12 06:57:20 +04:00
crtools.c crtools: Celan crtools.c from unneeded headers 2012-06-28 03:15:01 +04:00
eventfd.c event*: Move proc parsing stuff to proc_parse 2012-07-11 09:22:38 +04:00
eventpoll.c event*: Move proc parsing stuff to proc_parse 2012-07-11 09:22:38 +04:00
fifo.c pipe: Add helper for getting pipe_id from fdparms 2012-07-11 11:57:28 +04:00
file-ids.c kcmp: Introduce generic object ID generator 2012-04-09 18:01:18 +04:00
files-reg.c ghost-files: Merge dump and restore helper structs 2012-07-01 06:25:34 +04:00
files.c files: Use fdinfo_entry * in fdinfo_list_entry structure 2012-07-09 15:04:35 +04:00
gen-offsets.sh make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
image.c fifo: Add checkpoint restore for fifos v4 2012-07-01 17:15:48 +04:00
inotify.c inotify: Wire into and use Generic fdinfo parsing engine 2012-07-11 09:35:36 +04:00
ipc_ns.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
kcmp-ids.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +04:00
libnetlink.c log: log-engine slight redesign 2012-03-02 01:05:43 +04:00
log.c log: Open logc files with O_TRUNC 2012-05-30 12:29:50 +04:00
Makefile fifo: Add checkpoint restore for fifos v4 2012-07-01 17:15:48 +04:00
Makefile.inc make: Eliminate deps build on no-deps targets in zdtm 2012-01-25 19:14:39 +04:00
Makefile.pie make: Split generation of %.bin and %.bin.o into two rules 2012-04-19 12:12:06 +04:00
Makefile.syscall make: Fix typo in Makefile.syscall 2012-04-19 12:11:08 +04:00
mount.c mount: Mounting code core 2012-06-27 20:57:39 +04:00
namespaces.c mount: Core for creating mount namespace 2012-06-27 20:57:36 +04:00
netfilter.c Escape using unsafe sprintf helper 2012-06-20 15:04:51 +04:00
parasite-head-x86-64.S parasite: Move bootstrap code into parasite-head-x86-64.S 2012-04-18 18:22:52 +04:00
parasite-syscall.c parasite: remove the useless BUG_ON 2012-06-27 14:52:27 +04:00
parasite.c parasite: remove parasite_status_t, a return code is enough 2012-06-27 14:52:01 +04:00
pie.lds.S make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
pipes.c pipe: Rework pipe data restore to use vmsplice 2012-07-12 06:57:20 +04:00
proc_parse.c inotify: Wire into and use Generic fdinfo parsing engine 2012-07-11 09:35:36 +04:00
pstree.c restore: create fake process group leaders 2012-07-02 16:53:56 +04:00
ptrace.c Helper for si_code event extraction. 2012-04-25 21:35:40 +04:00
rbtree.c fown: Fix compilation for older distros 2012-04-25 21:36:43 +04:00
README Drop kernel patching from README 2012-01-29 16:26:36 +04:00
restorer-log.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
restorer.c restorer: exit all threads in case of error 2012-06-19 12:45:44 +04:00
shmem.c Escape using unsafe sprintf helper 2012-06-20 15:04:51 +04:00
sk-inet.c inet: Report error if inet socket collect failed 2012-07-10 12:56:54 +04:00
sk-queue.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
sk-tcp.c sockets, inet: Use general machnism for checkpoint/restore v2 2012-05-30 12:56:04 +04:00
sk-unix.c files: Use fdinfo_entry * in fdinfo_list_entry structure 2012-07-09 15:04:35 +04:00
sockets.c sockets: Restore unbound inet sockets v5 2012-07-01 14:42:42 +04:00
syscall-common-x86-64.S syscalls: Complete redesign v9 2012-04-18 18:23:19 +04:00
syscalls-x86-64.sh syscalls: Complete redesign v9 2012-04-18 18:23:19 +04:00
sysctl.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +04:00
util-net.c util-net: Make send/recv fds carry fd flags in message 2012-04-10 18:36:13 +04:00
util.c util: Shorten array for anon_inode link checking 2012-07-11 12:58:46 +04:00
uts_ns.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +04:00

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)