[sheepdog] [PATCH] sheep: process events directly

Liu Yuan namei.unix at gmail.com
Mon May 28 15:31:08 CEST 2012


On 05/28/2012 07:41 PM, Christoph Hellwig wrote:

> Now that events don't wait for outstanding I/O requests there is no good
> need to delay their processing in a queue.  In fact we can already handle
> notification and leave events directly without problems, only the vdi_inuse
> bitmap update in the join event prevents us from process all events directly.
> 
> This patch moves the vdi_inuse update into the blocking workqueue, so that
> we can make sure it is processed before any VDI events, while we can update
> the cluster status and start recovery independently and remove the complex
> code to queue and serialize events.


Applied, thanks.

Yuan



More information about the sheepdog mailing list