[Sheepdog] [PATCH] fix ORDERED work handling bug

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Apr 14 06:18:54 CEST 2010


On Wed, 14 Apr 2010 13:15:19 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

> fix a bug that A SIMPLE work wronly passes blocked ORDERED works.
> 
> 1. a SIMPLE work is on the pending_list
> 2. when a new ORDERED work comes, then it added to the blocked_list.
> 3. then a new SIMPLE work comes, it's wrongly added to the blocked_list (it should be delayed untile the above ORDERED work finishes).
> 

Should have been:

3. then a new SIMPLE work comes, it's wrongly added to the
pending_list. It will be executed wrongly before the above ORDERED.

It should be delayed untile the above ORDERED work finishes.



More information about the sheepdog mailing list