No description
Find a file
Tikhomirov Pavel c3c0acfe76 deduplication: make seek_pagemap_page properly handle eof
because eof in restore means that we don't have "must have" data, so
it mean error exit, but in dedup, it's ok not to have data we seek, so
we continue returning normally

also it's used that if off < pr-cvaddr then no eof happened and if eof
happened then off >= pr-cvaddr(then return of seek_pagemap_page is 0)

Signed-off-by: Tikhomirov Pavel <snorcht@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-01-24 15:50:24 +04:00
arch headers: Drop uintX_t usage 2013-12-12 10:03:07 +04:00
Documentation Doc/Makefile: error out if req tools absent 2014-01-20 14:53:54 +04:00
include criu: Several formatting fixes 2014-01-14 09:33:19 +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 mount: Dump external bind-mounts with plugins 2013-12-26 11:07:39 +04:00
scripts simplify dummy rules 2014-01-11 09:14:18 +04:00
test zdtm.sh: don't annotate printing separator line 2014-01-23 13:26:15 +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 seek_pagemap_page properly handle eof 2014-01-24 15:50:24 +04:00
cr-dump.c pre-dump: handle errors from page_xfer_dump_pages() 2014-01-24 15:47:45 +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: Handle client unexpected disconnection 2014-01-11 09:19:10 +04:00
cr-show.c criu: Several formatting fixes 2014-01-14 09:33:19 +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 log: only print timestamps when verbosity increased 2014-01-11 09:18:03 +04:00
eventfd.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00
eventpoll.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +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 files: Save fstype on fd_parms 2013-12-27 21:14:09 +04:00
fsnotify.c whitespace-at-eol cleanup 2013-12-12 10:00:45 +04:00
image-desc.c files: add ability to set callbacks for files (v7) 2013-12-20 16:07:38 +04:00
image.c criu: Several formatting fixes 2014-01-14 09:33:19 +04:00
ipc_ns.c crtools: move cr_options in a separate header 2013-11-06 18:17:52 +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: Don't track memory changes if --track-mem is not specified 2014-01-16 22:07:44 +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-rc2 2014-01-20 15:28:23 +04:00
Makefile.config string: Add strlcat helper 2013-11-29 15:36:07 +04:00
Makefile.crtools files: add ability to set callbacks for files (v7) 2013-12-20 16:07:38 +04:00
Makefile.inc systemd socket activation support 2013-12-12 09:58:50 +04:00
mem.c mem: handle errors of page_xfer_dump_pages() 2014-01-23 13:27:14 +04:00
mount.c criu: Several formatting fixes 2014-01-14 09:33:19 +04:00
namespaces.c whitespace-at-eol cleanup 2013-12-12 10:00:45 +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 criu: Several formatting fixes 2014-01-14 09:33:19 +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 btrfs: Remove volume parsing code 2013-12-11 17:18:59 +04:00
protobuf-desc.c files: add ability to set callbacks for files (v7) 2013-12-20 16:07:38 +04:00
protobuf.c show: Implement simple images filtering 2013-12-27 15:58:27 +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 README: crtools to criu rename 2013-05-10 11:02:02 +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 crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +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: fix calculation of pointers 2013-12-23 13:59:59 +04:00
sockets.c headers: Drop uintX_t usage 2013-12-12 10:03:07 +04:00
stats.c v2 stats: write stats at work directory 2013-11-16 00:05:53 +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 util: Log scripts running 2013-12-26 22:39:08 +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.

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)