[CRIU] [PATCH v6 00/13] Rework file opening scheme to make it asynchronous

Kirill Tkhai ktkhai at virtuozzo.com
Wed Jan 18 03:57:27 PST 2017


Hi,

this is v6 iteration of the patchset. Below are the changes:

1)New patch [1/13]"files: BUG on reopening already opened fle"

2)Commentaries in commit messages to [2/13] and [4/13]

3)Commentary to [6/13]"Kill struct file_desc_ops::post_open"


---

Kirill Tkhai (13):
      files: BUG on reopening already opened fle
      eventpoll: Make post_open stage may fail
      files: Set fds event after sending fd to peer
      files: Add new_fd parameter to file_desc_ops::open()
      files: Make recv_fd_from_peer() non-block
      files: Kill struct file_desc_ops::post_open
      tty: Set dependencies between masters, slaves and ctty
      files: Move ctty fixup to open_fd()
      tty: Use generic list for tty files
      eventpoll: Use generic list for eventpoll files
      files: Kill pid parameter of open_fdinfos()
      files: Merge collect_gen_fd() and collect_used_fd(), and call it unconditionally
      tty: Optimize dependencies check


 criu/autofs.c           |   26 ++++-
 criu/eventfd.c          |    5 +
 criu/eventpoll.c        |   46 +++++++--
 criu/fifo.c             |   10 +-
 criu/files-ext.c        |    5 +
 criu/files-reg.c        |   15 +--
 criu/files.c            |  250 ++++++++++++++++++++++-------------------------
 criu/fsnotify.c         |   10 +-
 criu/include/files.h    |   14 ---
 criu/include/pipes.h    |    1 
 criu/include/rst_info.h |    3 -
 criu/include/tty.h      |    2 
 criu/namespaces.c       |    5 +
 criu/pipes.c            |   31 +++---
 criu/signalfd.c         |    5 +
 criu/sk-inet.c          |   17 ++-
 criu/sk-netlink.c       |    5 +
 criu/sk-packet.c        |   12 +-
 criu/sk-unix.c          |   54 ++++++----
 criu/timerfd.c          |    5 +
 criu/tty.c              |   99 +++++++++++--------
 criu/tun.c              |    9 +-
 22 files changed, 348 insertions(+), 281 deletions(-)

--
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the CRIU mailing list