[CRIU] [PATCH RFC 0/3] Allow postpone fdinfo callbacks
Andrew Vagin
avagin at virtuozzo.com
Mon Aug 1 11:13:21 PDT 2016
On Sun, Jul 31, 2016 at 03:43:12PM +0300, Kirill Tkhai wrote:
> 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.
Could you describe an use-case where you are going to use this
functionality?
>
> ---
>
> 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>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list