[CRIU] [PATCH 0/5] BTRFS engine, v5

Andrew Vagin avagin at parallels.com
Wed Dec 4 20:37:35 PST 2013


On Thu, Dec 05, 2013 at 08:33:25AM +0400, Andrew Vagin wrote:
> [root at jenkins workspace]# pwd
> /mnt/btrfs/workspace
> 
> [root at jenkins workspace]# cat /proc/mounts | grep btrfs
> /dev/vdb1 /mnt/btrfs btrfs rw,relatime,noacl,space_cache 0 0
> 
> [root at jenkins workspace]# bash  test/zdtm.sh static/sockets00
> ================================= CRIU CHECK =================================
> Looks good.
> Execute zdtm/live/static/sockets00
> ./sockets00 --pidfile=sockets00.pid --outfile=sockets00.out --filename=sockets00.test
> Dump 28464
> Restore
> Test: zdtm/live/static/sockets00, Result: FAIL
> ==================================== ERROR ====================================
> Test: zdtm/live/static/sockets00, Namespace: 
> Dump log   : /mnt/btrfs/workspace/test/dump/sockets00/28464/1/dump.log
> --------------------------------- grep Error ---------------------------------
> ------------------------------------- END -------------------------------------
> Restore log: /mnt/btrfs/workspace/test/dump/sockets00/28464/1/restore.log
> --------------------------------- grep Error ---------------------------------
> (00.086206)  28464: Error (sk-unix.c:576): Can't connect 0x13c4a socket: Invalid argument
> (00.088332) Error (cr-restore.c:1062): 28464 exited, status=255
> (00.088564) Error (cr-restore.c:1597): Restoring FAILED.
> ------------------------------------- END -------------------------------------
> ================================= ERROR OVER =================================

(00.018153)     type btrfs source /dev/vdb1 21 / @ /mnt/btrfs flags 300000 options noacl,space_cache,
(00.018500) btrfs:      mountpoint /mnt/btrfs tree_id 5
(00.018706)     type unsupported source /dev/vda1 fc00001 / @ /boot flags 300000 options data=ordered,
(00.018881)     type unsupported source /dev/vda3 fc00003 /var/lib/jenkins/jobs/CRIU/workspace/test @ /tmp/criu-root.k79IYH flags 300000 options data=ordered,
(00.019613)     Collected: ino 0x332a peer_ino 0 family    1 type    1 state 10 name /var/run/abrt/abrt.socket
(00.019822) unix: Dropping path /mnt/btrfs/workspace/test/zdtm/live/static/sockets00.test for unlinked bound sk 0x23.0x1050 real 0x21.0x1050
(00.019988)             Collected icon 81109
(00.020158)     Collected: ino 0x13cd4 peer_ino 0 family    1 type    1 state 10 name (null)
(00.020322)             icon: 81109

28625 write(1023, "(00.567386)  28625: \tConnect 0x1"..., 48) = 48
28625 connect(4, {sa_family=AF_LOCAL, NULL}, 2) = -1 EINVAL (Invalid argument)


> 
> On Wed, Dec 04, 2013 at 07:24:04PM +0400, Pavel Emelyanov wrote:
> > On 12/04/2013 07:15 PM, Cyrill Gorcunov wrote:
> > > Switch back to non-lazy scheme.
> > > 
> > > Cyrill Gorcunov (5):
> > >   btrfs: Introduce BTRFS engine
> > >   proc_parse: Call for btrfs_parse_mountinfo on every mount
> > >   mount: Add phys_stat_dev_match helper
> > >   sk-unix: Don't fail if socket path lays on btrfs volume
> > >   files-reg: Don't fail matching if ghost file is on BTRFS subvolume
> > > 
> > >  Makefile.crtools      |   1 +
> > >  files-reg.c           |   2 +-
> > >  include/mount-btrfs.h |  81 ++++++++
> > >  include/mount.h       |   2 +
> > >  mount-btrfs.c         | 499 ++++++++++++++++++++++++++++++++++++++++++++++++++
> > >  mount.c               |  14 ++
> > >  proc_parse.c          |  10 +
> > >  sk-unix.c             |   2 +-
> > >  8 files changed, 609 insertions(+), 2 deletions(-)
> > >  create mode 100644 include/mount-btrfs.h
> > >  create mode 100644 mount-btrfs.c
> > > 
> > 
> > 
> > applied
> > _______________________________________________
> > CRIU mailing list
> > CRIU at openvz.org
> > https://lists.openvz.org/mailman/listinfo/criu
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list