[CRIU] [PATCH RFC 0/3] Allow postpone fdinfo callbacks

Kirill Tkhai ktkhai at virtuozzo.com
Sun Jul 31 05:43:12 PDT 2016


Allow callback to be postponed, if some file requests that
by returning FDO_REPEAT as retval.

If so, callbacks for such files will be executed once again
after the callbacks for all other files in list have finished.

Patches 1-2 are preparations, patch 3 implements the above.

---

Kirill Tkhai (3):
      files: Make states callbacks return named error
      files: Make .post_open methods return named retvals
      files: Allow postponed fdinfo callbacks


 criu/autofs.c        |    6 +++---
 criu/eventpoll.c     |    4 ++--
 criu/files.c         |   41 +++++++++++++++++++++++++++++------------
 criu/include/files.h |    4 ++++
 criu/sk-inet.c       |    2 +-
 criu/sk-unix.c       |   12 ++++++------
 criu/tty.c           |    4 ++--
 7 files changed, 47 insertions(+), 26 deletions(-)

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


More information about the CRIU mailing list