No description
Find a file
Pavel Emelyanov bd7bf7bd39 anon-inode: Don't readlink fd/fd multiple times
The is_foo_link readlinks the lfd to check. This makes
anon-inodes dumping readlink several times to find proper
dump ops. Optimize this thing.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-02-02 22:14:29 +04:00
arch pagemap: Factor out pfn retrieving for vdso and zero page 2014-01-30 23:34:53 +04:00
Documentation Doc/Makefile: error out if req tools absent 2014-01-20 14:53:54 +04:00
include anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
lib service: don't leak a zero file descriptor 2013-12-23 13:59:41 +04:00
pie pie: add EOL in the error message 2014-01-23 13:24:33 +04:00
protobuf stats: Add irmap resolve time 2014-01-30 16:20:16 +04:00
scripts pb: Number PB_ constants 2014-02-02 01:20:49 +04:00
test zdtm: add more logging messages 2014-01-30 15:12:56 +04:00
.gitignore git: Don't track *.so files 2013-08-29 14:48:17 +04:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
COPYING Add LGPL licence for library directory 2013-04-01 12:29:06 +04:00
cr-check.c check: Collect mount infos before checking 2014-01-04 23:45:09 +04:00
cr-dedup.c deduplication: make it recursively deduplicate all parent snapshots 2014-01-29 15:11:35 +04:00
cr-dump.c proc-parse: Don't open and stat every single map_files link 2014-01-31 20:31:06 +04:00
cr-exec.c criu: Several formatting fixes 2014-01-14 09:33:19 +04:00
cr-restore.c rst: Error code got hidden by successful core read 2014-01-06 01:08:06 +04:00
cr-service.c service: Implement pre-dump request support 2014-01-30 15:58:48 +04:00
cr-show.c stats: Add irmap resolve time 2014-01-30 16:20:16 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crtools crtools: rename binary to criu 2013-04-30 20:17:55 +04:00
crtools.c page-server: Start using new cr_daemon routine 2014-01-30 15:58:43 +04:00
eventfd.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
eventpoll.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
fifo.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00
file-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
file-lock.c crtools: move cr_options in a separate header 2013-11-06 18:17:52 +04:00
files-ext.c files: add ability to set callbacks for files (v7) 2013-12-20 16:07:38 +04:00
files-reg.c files: Dump NFS silly-rename files as linked-remap always 2013-12-27 21:16:33 +04:00
files.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
fsnotify.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
image-desc.c img: Needed declarations for irmap-cache image file 2014-01-30 16:20:15 +04:00
image.c criu: Remove parent-img service fd 2014-01-24 16:12:46 +04:00
ipc_ns.c crtools: move cr_options in a separate header 2013-11-06 18:17:52 +04:00
irmap.c irmap: Don't let proc-parse free handle's mem before caching 2014-01-31 08:50:28 +04:00
kcmp-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
kerndat.c mem: Fix zero_page_pfn type 2014-01-31 00:08:47 +04:00
libnetlink.c netlink: Lower netlink error report log level 2013-07-04 15:49:02 +04:00
log.c log: only print timestamps when verbosity increased 2014-01-11 09:18:03 +04:00
Makefile criu: Version 1.1 release 2014-01-28 13:04:03 +04:00
Makefile.config string: Add strlcat helper 2013-11-29 15:36:07 +04:00
Makefile.crtools irmap: Reverse dev:inode to path mapping 2014-01-29 17:30:05 +04:00
Makefile.inc systemd socket activation support 2013-12-12 09:58:50 +04:00
mem.c mm: don't dump the zero page 2014-01-30 14:31:39 +04:00
mount.c fsnotify: Check on dump that file handle can be opened 2014-01-29 17:30:03 +04:00
namespaces.c pre-dump: Collect mount info, root and nsmask 2014-01-30 16:20:15 +04:00
net.c net: Add comment about not using ifindex for setlink 2013-12-27 16:00:57 +04:00
netfilter.c iptables: use cr_system instead of system 2013-10-02 20:09:37 +04:00
page-pipe.c headers: Move fcntl related data to include/fcntl.h 2013-11-14 22:13:10 +04:00
page-read.c deduplication: make seek_pagemap_page properly handle eof 2014-01-24 15:50:24 +04:00
page-xfer.c page-server: Start using new cr_daemon routine 2014-01-30 15:58:43 +04:00
parasite-syscall.c parasite: Always switch netns for transport socket 2014-01-13 22:14:08 +04:00
pipes.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00
plugin.c plugin: Use sizeof(*ptr) in cr_lib_load 2014-01-16 22:09:42 +04:00
proc_parse.c proc-parse: Don't open and stat every single map_files link 2014-01-31 20:31:06 +04:00
protobuf-desc.c files: add ability to set callbacks for files (v7) 2013-12-20 16:07:38 +04:00
protobuf.c protobuf: Use writev for writing image entries 2014-01-31 20:51:32 +04:00
pstree.c pstree: don't include restorer.h in pstree.c 2013-11-08 16:46:32 +04:00
ptrace.c unseize: Don't print error when unseizing stopped task into stopped state 2013-12-20 23:22:04 +04:00
rbtree.c code: Fix spaced indentation where found 2012-08-11 21:36:03 +04:00
README Update README file so that it looks more informative on github front page 2014-01-24 20:42:08 +04:00
rst-malloc.c whitespace-at-eol cleanup 2013-12-12 10:00:45 +04:00
sd-daemon.c systemd socket activation support 2013-12-12 09:58:50 +04:00
sd-daemon.h systemd socket activation support 2013-12-12 09:58:50 +04:00
security.c headers: Drop uintX_t usage 2013-12-12 10:03:07 +04:00
shmem.c headers: Move fcntl related data to include/fcntl.h 2013-11-14 22:13:10 +04:00
sigframe.c sigframe: don't include restorer.h 2013-11-06 12:37:38 +04:00
signalfd.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
sk-inet.c headers: Drop uintX_t usage 2013-12-12 10:03:07 +04:00
sk-netlink.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00
sk-packet.c crtools: move all stuff about fdset in a separate header 2013-11-06 15:24:48 +04:00
sk-queue.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00
sk-tcp.c tcp: restore the boundary between sent and unsent data 2013-11-14 17:15:44 +04:00
sk-unix.c unix: Don't drop whole socket with unlinked path 2014-01-29 15:43:11 +04:00
sockets.c headers: Drop uintX_t usage 2013-12-12 10:03:07 +04:00
stats.c stats: Add irmap resolve time 2014-01-30 16:20:16 +04:00
string.c string: Add strlcat helper 2013-11-29 15:36:07 +04:00
sysctl.c sysctl: Don't forget to close fds 2013-04-05 08:23:17 +04:00
tty.c tty: Print very descriptive message about shell job dump 2013-12-03 09:59:17 +04:00
tun.c crtools: move cr_options in a separate header 2013-11-06 18:17:52 +04:00
util.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
uts_ns.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00

criu
====

An utility to checkpoint/restore tasks. Using this tool, you can
freeze a running application (or part of it) and checkpoint it to
a hard drive as a collection of files. You can then use the files
to restore and run the application from the point it was frozen
at. The distinctive feature of the CRIU project is that it is
mainly implemented in user space.

The project home is at http://criu.org

Pages worth starting with are
* Kernel configuration, compilation, etc: http://criu.org/Installation
* A simple example of usage: http://criu.org/Simple_loop
* More sophisticated example with graphical app: http://criu.org/VNC