[sheepdog] [PATCH v2 1/5] work: remove short thread

Liu Yuan namei.unix at gmail.com
Thu Feb 28 12:12:41 CET 2013


On 02/28/2013 06:46 PM, MORITA Kazutaka wrote:
> -/*
> - * Short thread is created on demand and destroyed after serving the work for
> - * gateway or io requests, aiming to solve two problems:
> - *
> - *  1. timeout of IO requests from guests. With on-demand short threads, we
> - *     guarantee that there is always one thread available to execute the
> - *     request as soon as possible.
> - *  2. sheep halt for corner case that all gateway and io threads are executing
> - *     local requests that ask for creation of another thread to execute the
> - *     requests and sleep-wait for responses.
> - */

I think we should keep the comment for why we need unlimited for some
queues.

Thanks,
Yuan



More information about the sheepdog mailing list