[sheepdog] [PATCH v3 6/8] recovery: clear the object wait queue when new recovery work comes

Liu Yuan namei.unix at gmail.com
Thu May 24 10:01:11 CEST 2012


On 05/24/2012 11:37 AM, levin li wrote:

>  
> +static void clear_wait_obj_requests(void)
> +{
> +	list_splice_tail_init(&sys->wait_obj_queue, &sys->request_queue);
> +	process_request_event_queues();
> +}
> +


Maybe flush_wait_obj_requests() would be a better name.

Thanks,
Yuan



More information about the sheepdog mailing list