Re: [Devel] [PATCH rh7 v2 2/2] ve/fs/sync: fix CT's mountpoints traversal

2016-02-25 Thread Vladimir Davydov
On Thu, Feb 25, 2016 at 12:00:18PM +0300, Andrey Ryabinin wrote: ... > diff --git a/fs/sync.c b/fs/sync.c > index 0eb621f..e38331c 100644 > --- a/fs/sync.c > +++ b/fs/sync.c > @@ -129,15 +129,15 @@ static int sync_filesystem_collected(struct list_head > *sync_list, struct super_b > > static

[Devel] [PATCH rh7 v2 2/2] ve/fs/sync: fix CT's mountpoints traversal

2016-02-25 Thread Andrey Ryabinin
Currently sync reads 've->root_path.mnt' mount and iterate over it childs. This doesn't work, as not all in-container mounts could be reached that way. This patch slightly rework's mounts traversal. Now sync just iterates over all mounts of ve's mount namespace (actually we iterate over all