[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sheepdog: serialize requests to overwrapping ar
From: |
Vasiliy Tolstov |
Subject: |
Re: [Qemu-devel] [PATCH] sheepdog: serialize requests to overwrapping area |
Date: |
Fri, 17 Jul 2015 19:49:26 +0300 |
2015-07-17 19:44 GMT+03:00 Hitoshi Mitake <address@hidden>:
> Current sheepdog driver only serializes create requests in oid
> unit. This mechanism isn't enough for handling requests to
> overwrapping area spanning multiple oids, so it can result bugs like
> below:
> https://bugs.launchpad.net/sheepdog-project/+bug/1456421
>
> This patch adds a new serialization mechanism for the problem. The
> difference from the old one is:
> 1. serialize entire aiocb if their targetting areas overwrap
> 2. serialize all requests (read, write, and discard), not only creates
>
> This patch also removes the old mechanism because the new one can be
> an alternative.
>
> Cc: Kevin Wolf <address@hidden>
> Cc: Stefan Hajnoczi <address@hidden>
> Cc: Teruaki Ishizaki <address@hidden>
> Cc: Vasiliy Tolstov <address@hidden>
> Signed-off-by: Hitoshi Mitake <address@hidden>
Tested-by: Vasiliy Tolstov <address@hidden>
--
Vasiliy Tolstov,
e-mail: address@hidden