[sheepdog] [PATCH] introduce SD_FLAG_CMD_DIRECT to bypass object cache

Liu Yuan namei.unix at gmail.com
Fri Sep 21 04:31:15 CEST 2012


On 09/21/2012 02:54 AM, MORITA Kazutaka wrote:
> Currently, collie commands also use object cache if it is enabled.
> This causes problems because sheep doesn't assume that other nodes
> also creates cache data of the same opened VDIs.  If we allow it, data
> inconsistency problems happen when another node updates the cached
> objects.
> 
> This patch forces collie commands to bypass object cache to avoid the
> problem, but vdi read and write still use object cache because they
> are used to emulate VM I/Os.

Applied, thanks.

Yuan



More information about the sheepdog mailing list