[CRIU] [PATCH v2 00/10] epoll: Add support for duped targets
Cyrill Gorcunov
gorcunov at gmail.com
Wed Jun 27 12:11:55 MSK 2018
We need to support a case where file has been added into
epoll, then duped into some other number, and finally
the former one is closed. So that epoll fdinfo will
print no longer existing fd number (in this series
we will find which new file is matching the target).
v2:
- add support for multiple dup'ed targets
- address the test for new features
Cyrill Gorcunov (10):
kcmp: Cleanup sources
kcmp: Beautify kcmp-ids.h
kcmp: Drop empty line at EOF
kcmp: Add epoll definitions
epoll: kdat -- Check if we have KCMP_EPOLL_TFD support
epoll: Pass drained fds to dump_one_file
epoll: Use real file transferred for target fds check
epoll: Use kcmp to find proper target file
epoll: Add support for multiple duped fds
test: eventfs00 -- Extend to test duped fd
criu/eventpoll.c | 143 +++++++++++++++++++++++++++++++++++++++++--
criu/files.c | 8 ++-
criu/include/files.h | 2 +
criu/include/kcmp-ids.h | 29 +++++----
criu/include/kcmp.h | 10 +++
criu/include/kerndat.h | 1 +
criu/kcmp-ids.c | 14 +++--
criu/kerndat.c | 48 +++++++++++++++
test/zdtm/static/eventfs00.c | 81 ++++++++++++++++++------
9 files changed, 292 insertions(+), 44 deletions(-)
--
2.14.4
More information about the CRIU
mailing list