1. 17 Jul, 2012 1 commit
  2. 16 Jul, 2012 7 commits
  3. 12 Jul, 2012 2 commits
  4. 13 Jul, 2012 2 commits
  5. 12 Jul, 2012 1 commit
    • Pavel Emelyanov's avatar
      pipe: Rework pipe data restore to use vmsplice · 237ef3c8
      Pavel Emelyanov authored
      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: 's avatarPavel Emelyanov <xemul@parallels.com>
      237ef3c8
  6. 11 Jul, 2012 13 commits
  7. 01 Jul, 2012 4 commits
  8. 10 Jul, 2012 1 commit
  9. 01 Jul, 2012 2 commits
  10. 10 Jul, 2012 3 commits
  11. 09 Jul, 2012 3 commits
  12. 02 Jul, 2012 1 commit
    • Cyrill Gorcunov's avatar
      zdtm: fifo-rowo-pair test update · 7ff9efda
      Cyrill Gorcunov authored
      Address Andrew's comments
      
       - use TEST_VALUE macro instead of open coded value
       - use WIFx macros for child status testing
       - kill child/parent on error
      
      Note that it was not clear from an initiall patch
      change log -- the difference between fifo_wronly
      test case and this one is that we use fork() call
      here which allow us to make sure that fifo restoration
      code logic will be tested more widely.
      
      Basically the flowchart of the test case:
      
      parent				child
      ------				-----
      open RW fifo (slave)
      open RO fifo (master)
      				open WO fifo (master)
      				dup parent slave to slave1
      
      				... waiting c/r to happen ...
      				... waking up from c/r ...
      
      				send bytes to master
      				send bytes to slave1
      
      				finish
      ... initiating c/r ...
      ... waking up from c/r ...
      
      read bytes from master
      read bytes from slave
      
      PASS :D
      Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
      Acked-by: 's avatarAndrew Vagin <avagin@parallels.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      7ff9efda