[CRIU] [PATCH 0/2] fsnotify: merge inotify wd image into inotify image

Andrew Vagin avagin at parallels.com
Thu Aug 21 06:55:36 PDT 2014


Pls, don't commit this series. I'm going to send an updated version
soon.

Thanks,
Andrew

On Wed, Aug 20, 2014 at 02:31:16PM +0400, Andrey Vagin wrote:
> All watch descriptors are collected in a list and then
> they are written in inotify image as a repeated field.
> 
> This images merge reduces the amount of image files criu
> generates and may simplify the fix of mentioned above issue.
> 
> If you like these patches, I will merge the fanotify mark image into
> the fanotify image by the same way.
> 
> Andrey Vagin (2):
>   fsnotify: parse_fdinfo_pid_s() returns allocated object for inotify wd
>   fsnotify: merge inotify wd image into inotify image
> 
>  cr-check.c              |  3 +-
>  fsnotify.c              | 81 +++++++++++++++++++++++++++++++++++++++++--------
>  include/fsnotify.h      |  9 ++++++
>  include/image-desc.h    |  2 +-
>  include/proc_parse.h    |  5 ++-
>  proc_parse.c            | 44 ++++++++++++++++++---------
>  protobuf/fsnotify.proto |  1 +
>  7 files changed, 116 insertions(+), 29 deletions(-)
> 
> -- 
> 1.9.3
> 


More information about the CRIU mailing list