1. 24 Mar, 2015 3 commits
  2. 23 Mar, 2015 1 commit
  3. 20 Mar, 2015 2 commits
  4. 19 Mar, 2015 1 commit
  5. 18 Mar, 2015 2 commits
  6. 16 Mar, 2015 3 commits
    • Andrey Vagin's avatar
      image: open lazy images in img_raw_fd() · a66217a2
      Andrey Vagin authored
      Lazy images are opened on a first attempt of using.
      
      00:01:18.534 Test: zdtm/live/static/pipe00, Result: FAIL
      00:01:18.537 ==================================== ERROR ====================================
      00:01:18.538 Test: zdtm/live/static/pipe00, Namespace: 1
      00:01:18.538 Dump log   : /var/lib/jenkins/jobs/CRIU/workspace/test/dump/ns/static/pipe00/13536/1/dump.log
      00:01:18.540 --------------------------------- grep Error ---------------------------------
      00:01:18.543 (00.026666) Error (include/image.h:153): BUG at include/image.h:153
      00:01:18.543 (00.050663) Error (namespaces.c:801): Namespaces dumping finished with error 134
      00:01:18.543 (00.050918) Error (cr-dump.c:1979): Dumping FAILED.
      00:01:18.545 ------------------------------------- END -------------------------------------
      00:01:18.548 ================================= ERROR OVER =================================
      
      Reported-by: Mr Jenkins
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      a66217a2
    • Pavel Emelyanov's avatar
      img: Don't create empty images · 8ce37e67
      Pavel Emelyanov authored
      Currently on dump we generate too many image files, effectively
      all the stuff from the GLOB set is created. The thing is that
      sometimes some of created images can be empty (just contain the
      magic number at the head). Thos images are useless and just
      waste the space.
      
      When applied after the "empty images" set, this introduces the
      lazy images -- when we call open_image() the actual file is
      only created (and the magic number is written into it) when the
      very first object goes into it.
      
      For example for the simplest test we have, then static/env00
      one, the created image files are
      
         core-7290.img
         creds-7290.img
         fdinfo-2.img
         fs-7290.img
         ids-7290.img
         inventory.img
         mm-7290.img
         pagemap-7290.img
         pages-1.img
         pstree.img
         reg-files.img
         sigacts-7290.img
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      8ce37e67
    • Pavel Emelyanov's avatar
      7ede4697
  7. 13 Mar, 2015 4 commits
  8. 10 Mar, 2015 4 commits
  9. 09 Mar, 2015 4 commits
  10. 04 Mar, 2015 15 commits
  11. 02 Mar, 2015 1 commit