1. 16 Jan, 2014 5 commits
  2. 15 Jan, 2014 1 commit
  3. 14 Jan, 2014 3 commits
  4. 13 Jan, 2014 1 commit
    • Pavel Emelyanov's avatar
      parasite: Always switch netns for transport socket · d9ec409b
      Pavel Emelyanov authored
      If we're doing the pre-dump command we don't have the tasks'
      IDs collected, so we have the current_ns_mask uninitilized.
      Thus we create parasite transport socket in criu's namespace
      always and pre-dump of task, sitting in foreing net namespace
      may hang.
      
      From the "performance" point of view, it's easier to always
      create transport socket in victim's namespace, rahter than
      getting the current_ns_mask.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      d9ec409b
  5. 11 Jan, 2014 20 commits
  6. 05 Jan, 2014 1 commit
  7. 04 Jan, 2014 2 commits
  8. 31 Dec, 2013 2 commits
    • Pavel Emelyanov's avatar
      criu: Version 1.1-rc1 · b876dfa3
      Pavel Emelyanov authored
      Two major changes so far -- libcriu.so (RPC wrapper) and plugins.
      Both define some API and we want to check this API is good enough.
      Thus we tag the -rc1 to let people try it. If things go smooth, we
      will just go agead and tar the 1.1.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      b876dfa3
    • Andrey Vagin's avatar
      mounts/ext: fix path to the test file · 10da1303
      Andrey Vagin authored
      [root@avagin-fc19-cr ext]# bash run.sh
      + make
      make: Nothing to be done for `all'.
      + criu=../../../criu
      + finf=finish
      + outf=run_output
      + pidfile=pid_wait
      + tempd=temp_dir
      + sfile=source_file
      + tdir=test_dir
      + dfile=dest_file
      + mesg=msg-35
      + export finf
      + export outf
      + export pidfile
      + export sfile
      + export dfile
      + export tempd
      + export mesg
      + export tdir
      + mkdir dump/
      mkdir: cannot create directory ‘dump/’: File exists
      + mkdir test_dir
      mkdir: cannot create directory ‘test_dir’: File exists
      + mount --bind / test_dir
      + mount --make-rprivate test_dir
      + unshare --mount ./run_ns.sh
      + set -e
      + odir=mexold
      ++ pwd
      + cur=/root/crtools/test/mounts/ext
      + mount --make-rprivate /
      + rm -rf temp_dir finish run_output /mexold
      + mkdir temp_dir
      + touch test_dir/dest_file
      + mount -t tmpfs none temp_dir
      + echo msg-35
      + mount --bind temp_dir/source_file
      test_dir//root/crtools/test/mounts/ext/test_dir/dest_file
      mount: mount point
      test_dir//root/crtools/test/mounts/ext/test_dir/dest_file does not exist
      + fail 'Can'\''t unshare ns'
      + echo 'Can'\''t' unshare ns
      Can't unshare ns
      + exit 1
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      10da1303
  9. 30 Dec, 2013 3 commits
  10. 27 Dec, 2013 2 commits
    • Pavel Emelyanov's avatar
      zdtm: Some updates to treat NFS fds properly · f0e99650
      Pavel Emelyanov authored
      First of all, silly-rename files' names may change, so
      kludge the fds comparison properly.
      
      Other than this, allow for linked-remaps on write_read10
      test as it effectively generates such on NFS.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      f0e99650
    • Pavel Emelyanov's avatar
      files: Dump NFS silly-rename files as linked-remap always · d47d93b2
      Pavel Emelyanov authored
      We cannot distinguish ghost files from linked-remap for NFS.
      Link count is never 0 on such files and any positive value of
      it doesn't mean, that the file will stay in place after we
      terminate all tasks we dump -- they can hold multiple unlinked
      links on the same file and they all will be delayed-unlined.
      
      Checkinf file path doesn't work as well -- silly-rename files
      remain visible by VFS, though they shouldn't :(
      
      Fortunatelly, NFS allows creation of additional likns on such
      files, so we just create linked remap for such files.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      d47d93b2