[CRIU] [PATCH] files: Add comments about FLE_* stages

Andrei Vagin avagin at virtuozzo.com
Tue Jul 18 05:29:59 MSK 2017


Applied, thanks!
On Wed, Jul 12, 2017 at 08:30:26PM +0300, Kirill Tkhai wrote:
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
> ---
>  criu/include/files.h |    9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/criu/include/files.h b/criu/include/files.h
> index 22d5bc8c8..718677a7e 100644
> --- a/criu/include/files.h
> +++ b/criu/include/files.h
> @@ -67,7 +67,16 @@ struct file_desc;
>  
>  enum {
>  	FLE_INITIALIZED,
> +	/*
> +	 * FLE is open (via open() or socket() or etc syscalls), and
> +	 * common file setting are set up (type-specific are not yet).
> +	 * Most possible, the master was already served out.
> +	 */
>  	FLE_OPEN,
> +	/*
> +	 * File-type specific settings and preparations are finished,
> +	 * and FLE is completely restored.
> +	 */
>  	FLE_RESTORED,
>  };
>  
> 


More information about the CRIU mailing list