[CRIU] [PATCH 0/2] Use fast path to restore inotify watch descriptors if possible

Andrei Vagin avagin at virtuozzo.com
Fri Mar 9 22:04:35 MSK 2018


Applied, thanks

On Wed, Feb 14, 2018 at 06:37:00PM +0300, Kirill Tkhai wrote:
> This patchset makes significant faster the restore
> of watch descriptors having big numbers. It based
> on new ioctl(), which will appear in kernel soon:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/?h=for_next&id=e1603b6effe177210701d3d7132d1b68e7bd2c93
> 
> ---
> 
> Kirill Tkhai (2):
>       kdat: Add check for inotify() INOTIFY_IOC_SETNEXTWD cmd
>       inotify: Use fast way of obtaining desired watch descriptor number
> 
> 
>  criu/fsnotify.c         |   16 +++++++++++-----
>  criu/include/fsnotify.h |    4 ++++
>  criu/include/kerndat.h  |    1 +
>  criu/kerndat.c          |   28 ++++++++++++++++++++++++++++
>  4 files changed, 44 insertions(+), 5 deletions(-)
> 
> --
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the CRIU mailing list