[sheepdog] [PATCH v2 1/5] work: remove short thread
MORITA Kazutaka
morita.kazutaka at gmail.com
Thu Feb 28 12:33:09 CET 2013
At Thu, 28 Feb 2013 19:12:41 +0800,
Liu Yuan wrote:
>
> 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.
Indeed. I'll keep it in the next version.
Thanks.
Kazutaka
More information about the sheepdog
mailing list