[sheepdog] [PATCH 1/3] sheep: queue local gateway request instead of directly call forward_*_obj_req

Liu Yuan namei.unix at gmail.com
Mon Jun 25 13:17:07 CEST 2012


On 06/25/2012 07:10 PM, Christoph Hellwig wrote:
> How do you ensure this is always called from the main thread?  Calling
> queue_request from helper threads seems like it would cause major
> problems.

What kind of problems?

For now queue_request() is already called in worker threads context.
Looks to me we should add a thread safe version of queue_request() that
can be called in worker threads.

Thanks,
Yuan



More information about the sheepdog mailing list