[CRIU] [PATCH RFC 19/30] files: Add fdinfo_list_entry::stage

Pavel Emelyanov xemul at virtuozzo.com
Tue Nov 22 06:35:39 PST 2016


On 11/08/2016 04:05 PM, Pavel Emelyanov wrote:
> 
>> @@ -64,6 +64,15 @@ extern int fill_fdlink(int lfd, const struct fd_parms *p, struct fd_link *link);
>>  
>>  struct file_desc;
>>  
>> +enum {
>> +	FLE_INITIALIZED,
>> +	FLE_OPEN,
>> +	FLE_BOUND,
>> +	FLE_LISTEN,
>> +	FLE_MAY_BE_POLLED,
>> +	FLE_RESTORED,
> 
> Stages must be explained.

BTW, the plan was to get rid of explicit states in fdinfo, instead, we
have a bigger set of states :(

>> +};
>> +
>>  struct fdinfo_list_entry {
>>  	struct list_head	desc_list;	/* To chain on  @fd_info_head */
>>  	struct file_desc	*desc;		/* Associated file descriptor */
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> .
> 



More information about the CRIU mailing list