[CRIU] [PATCH 0/3] BTRFS engine, v2

Andrew Vagin avagin at parallels.com
Sat Nov 30 04:30:04 PST 2013


It looks good for my. Kirill, do you try to execute zdtm.sh on btrfs?

On Fri, Nov 29, 2013 at 04:48:15PM +0400, Cyrill Gorcunov wrote:
> The main change from previous version is that instead of matching paths
> we lookup for subvolume device id and use its root (mount point) id which
> should match the one obtained from DIAG module.
> 
> IOW the key function is
> 
> dev_t btrfs_try_demangle(dev_t dev)
> {
> 	struct btrfs_subvol_node *node;
> 
> 	node = btrfs_node_lookup_dev(dev);
> 	if (node)
> 		dev = (dev_t)node->subvol_root->m->s_dev;
> 
> 	return dev;
> }
> 
> Cyrill Gorcunov (3):
>   mount: Introduce BTRFS engine
>   proc_parse: Find subvolumes on BTRFS mount points
>   sk-unix: Don't fail if socket path lays on btrfs volume
> 
>  Makefile.crtools      |   1 +
>  cr-dump.c             |   5 +
>  include/mount-btrfs.h |  85 +++++++++
>  mount-btrfs.c         | 501 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  proc_parse.c          |   6 +-
>  sk-unix.c             |  11 ++
>  6 files changed, 608 insertions(+), 1 deletion(-)
>  create mode 100644 include/mount-btrfs.h
>  create mode 100644 mount-btrfs.c
> 
> -- 
> 1.8.3.1

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list