[CRIU] [PATCH 0/4] sfd: Rework service fd engine

Andrey Vagin avagin at virtuozzo.com
Thu Jun 1 23:34:20 MSK 2017


Applied, thanks!

On Tue, May 30, 2017 at 09:13:29PM +0300, Cyrill Gorcunov wrote:
> For service fds we reserve a series of descriptors for
> own needs assuming they won't be used by any other part
> of the code, which not always true especially for hight
> loaded containers.
> 
> Inthe series we make service fds to use fcntl syscall
> instead of dupX to catch situation where fds collision
> happen and exit gracefully.
> 
> Cyrill Gorcunov (4):
>   sfd: Move service fd helpers into separate file
>   sfd: Rework install, clone helpers to use fcntl
>   kdat: Add fetching files stat
>   sfd: Lift up own fd limit on bootup
> 
>  criu/Makefile.crtools  |   1 +
>  criu/crtools.c         |  36 +++++++++
>  criu/include/kerndat.h |   4 +
>  criu/kerndat.c         |  69 +++++++++++++++++
>  criu/servicefd.c       | 201 +++++++++++++++++++++++++++++++++++++++++++++++++
>  criu/util.c            | 123 ------------------------------
>  6 files changed, 311 insertions(+), 123 deletions(-)
>  create mode 100644 criu/servicefd.c
> 
> -- 
> 2.7.4
> 


More information about the CRIU mailing list