[CRIU] [PATCH 0/3] aio: Support two versions of io_submit()

Kirill Tkhai ktkhai at virtuozzo.com
Tue May 17 12:03:27 PDT 2016


Oh, the theme should be "aio: Support two versions of io_setup()" (not submit), but it does not matter for cover letter...

On 17.05.2016 21:55, Kirill Tkhai wrote:
> Since e1bdd5f27a5b "aio: percpu reqs_available" kernel's io_setup()
> behaviour has changed. The syscall become multiply passed nr_events
> parameter twice to get on well with per-cpu aio.
> 
> CRIU supports only the e1bdd5f27a5b commit's logic, but it fails
> on older kernels. This patchset aims to support older logic too.
> 
> ---
> 
> Kirill Tkhai (3):
>       aio: Change pair of debug messages
>       aio: Refactor nr_req calculation
>       aio: Support two versions of io_setup()
> 
> 
>  criu/aio.c              |   97 +++++++++++++++++++++++++++++++++++++++--------
>  criu/cr-restore.c       |    9 ++++
>  criu/include/aio.h      |    2 +
>  criu/include/parasite.h |    2 -
>  criu/include/vma.h      |    1 
>  criu/pie/parasite.c     |    2 -
>  criu/pie/restorer.c     |    5 +-
>  criu/proc_parse.c       |    1 
>  8 files changed, 94 insertions(+), 25 deletions(-)
> 
> --
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
> 


More information about the CRIU mailing list