[CRIU] [PATCH 0/2] Use fast path to restore inotify watch descriptors if possible
Kirill Tkhai
ktkhai at virtuozzo.com
Wed Feb 14 18:37:00 MSK 2018
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