[CRIU] [PATCH 1/3] zdtm: lib: add {read,write}_data helpers

Dmitry Safonov 0x7f454c46 at gmail.com
Tue Dec 12 16:46:29 MSK 2017


2017-11-30 11:46 GMT+00:00 Mike Rapoport <rppt at linux.vnet.ibm.com>:
> Some tests expect that all the data will be handled in a single invocation
> of read/write system call. But it possible to have short read/write on a
> loaded system and this is not an error.
> Add helper functions that will reliably read/write the entire buffer.
>
> Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>

All three look good to me,
Reviewed-by: Dmitry Safonov <0x7f454c46 at gmail.com>

-- 
             Dmitry


More information about the CRIU mailing list