From: Liu Yuan
E-mail to one of block/sheepdog maintainers Mitake Hitoshi bounces
: unknown user: "mitake.hitoshi"
and no current address is known. So just remove it.
Signed-off-by: Liu Yuan
---
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAI
On Tue, Sep 01, 2015 at 10:05:38AM +0800, Liu Yuan wrote:
> On Mon, Aug 31, 2015 at 09:51:00PM -0400, Jeff Cody wrote:
> > On Tue, Sep 01, 2015 at 09:29:31AM +0800, Liu Yuan wrote:
> > > From: Liu Yuan <liuy...@cmss.chinamobile.com>
> > >
> > > We need
On Fri, Aug 28, 2015 at 10:53:58AM +0800, Liu Yuan wrote:
> From: Liu Yuan <liuy...@cmss.chinamobile.com>
>
> With reopen supported, block-commit (and offline commit) is now supported for
> image files whose base image uses the Sheepdog protocol driver.
>
> Cc: qemu-dev
From: Liu Yuan <liuy...@cmss.chinamobile.com>
We need to discard the payload if we get a invalid header due to whatever reason
to avoid data stream curruption. For e.g., the response consists of header plus
data payload. If we simply read the header then the data payload is left in the
On Mon, Aug 31, 2015 at 09:51:00PM -0400, Jeff Cody wrote:
> On Tue, Sep 01, 2015 at 09:29:31AM +0800, Liu Yuan wrote:
> > From: Liu Yuan <liuy...@cmss.chinamobile.com>
> >
> > We need to discard the payload if we get a invalid header due to whatever
> >
On Thu, Aug 27, 2015 at 03:00:32PM -0400, Jeff Cody wrote:
On Thu, Aug 27, 2015 at 10:54:01AM +0800, Liu Yuan wrote:
From: Liu Yuan liuy...@cmss.chinamobile.com
With reopen supported, block-commit (and offline commit) is now supported
for
image files whose base image uses the Sheepdog
From: Liu Yuan liuy...@cmss.chinamobile.com
With reopen supported, block-commit (and offline commit) is now supported for
image files whose base image uses the Sheepdog protocol driver.
Cc: qemu-devel@nongnu.org
Cc: Jeff Cody jc...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi
From: Liu Yuan liuy...@cmss.chinamobile.com
With reopen supported, block-commit (and offline commit) is now supported for
image files whose base image uses the Sheepdog protocol driver.
Cc: qemu-devel@nongnu.org
Cc: Jeff Cody jc...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi
From: Liu Yuan liuy...@cmss.chinamobile.com
With reopen supported, block-commit (and offline commit) is now supported for
image files whose base image uses the Sheepdog protocol driver.
Cc: qemu-devel@nongnu.org
Cc: Jeff Cody jc...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi
On Sun, Aug 02, 2015 at 02:52:08PM +0300, Vasiliy Tolstov wrote:
2015-07-31 15:08 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
Please wait to performance comparison. As i see Liu's patch may be
more slow then Hitoshi.
I'm switch to local cluster driver to test only local ssd and not
On Thu, Jul 30, 2015 at 09:27:44AM -0400, Jeff Cody wrote:
On Thu, Jul 30, 2015 at 09:41:08AM +0300, Vasiliy Tolstov wrote:
2015-07-29 12:31 GMT+03:00 Liu Yuan namei.u...@gmail.com:
Technically, it won't affect the performance because index updates are
not range
but concrete in terms
On Fri, Jul 31, 2015 at 03:08:09PM +0300, Vasiliy Tolstov wrote:
2015-07-31 14:55 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru:
Liu's patch also works for me. But also like in Hitoshi patch breaks
when using discards in qemu =(.
Please wait to performance comparison. As i see Liu's
On Thu, Jul 30, 2015 at 09:41:08AM +0300, Vasiliy Tolstov wrote:
2015-07-29 12:31 GMT+03:00 Liu Yuan namei.u...@gmail.com:
Technically, it won't affect the performance because index updates are not
range
but concrete in terms of underlying 4M block size. Only 2 or 3 indexes in a
range
On Wed, Jul 29, 2015 at 02:04:55PM +0900, Hitoshi Mitake wrote:
At Wed, 29 Jul 2015 12:02:35 +0800,
Liu Yuan wrote:
From: Liu Yuan liuy...@cmss.chinamobile.com
Current sheepdog driver use a range update_inode(min_idx, max_idx) for
batching
the updates. But there is subtle problem
On Sat, Jul 18, 2015 at 01:44:24AM +0900, Hitoshi Mitake wrote:
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:
On Tue, Jul 28, 2015 at 04:50:08PM +0800, Liu Yuan wrote:
On Sat, Jul 18, 2015 at 01:44:24AM +0900, Hitoshi Mitake wrote:
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
On Mon, Jul 27, 2015 at 11:23:02AM -0400, Jeff Cody wrote:
On Sat, Jul 18, 2015 at 01:44:24AM +0900, Hitoshi Mitake wrote:
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
On Tue, Jul 28, 2015 at 10:31:32PM +0800, Liu Yuan wrote:
On Mon, Jul 27, 2015 at 11:23:02AM -0400, Jeff Cody wrote:
On Sat, Jul 18, 2015 at 01:44:24AM +0900, Hitoshi Mitake wrote:
Current sheepdog driver only serializes create requests in oid
unit. This mechanism isn't enough
From: Liu Yuan liuy...@cmss.chinamobile.com
Current sheepdog driver use a range update_inode(min_idx, max_idx) for batching
the updates. But there is subtle problem by determining min_idx and max_idx:
for a single create request, min_idx == max_idx, so actually we just update one
one bit
On Wed, Feb 18, 2015 at 11:57:55AM +0800, Liu Yuan wrote:
From: Liu Yuan liuy...@cmss.chinamobile.com
These functions mix up -1 and -errno in return values and would might cause
trouble error handling in the call chain.
This patch let them return -errno and add some comments.
Cc: qemu
On Wed, Feb 25, 2015 at 10:35:17AM +0100, Markus Armbruster wrote:
Liu Yuan namei.u...@gmail.com writes:
On Wed, Feb 18, 2015 at 09:35:07AM +0100, Markus Armbruster wrote:
Liu Yuan namei.u...@gmail.com writes:
From: Liu Yuan liuy...@cmss.chinamobile.com
These functions mix up -1
On Wed, Feb 18, 2015 at 09:35:07AM +0100, Markus Armbruster wrote:
Liu Yuan namei.u...@gmail.com writes:
From: Liu Yuan liuy...@cmss.chinamobile.com
These functions mix up -1 and -errno in return values and would might cause
trouble error handling in the call chain.
This patch let
From: Liu Yuan liuy...@cmss.chinamobile.com
These functions mix up -1 and -errno in return values and would might cause
trouble error handling in the call chain.
This patch let them return -errno and add some comments.
Cc: qemu-devel@nongnu.org
Cc: Markus Armbruster arm...@redhat.com
Cc: Kevin
On Mon, Feb 16, 2015 at 12:56:04PM +0100, Kevin Wolf wrote:
Am 13.02.2015 um 04:45 hat Liu Yuan geschrieben:
From: Liu Yuan liuy...@cmss.chinamobile.com
These functions mix up -1 and -errno in return values and would might cause
trouble error handling in the call chain.
This patch
On Thu, Feb 12, 2015 at 05:13:55PM +0900, Hitoshi Mitake wrote:
At Thu, 12 Feb 2015 15:42:17 +0800,
Liu Yuan wrote:
On Thu, Feb 12, 2015 at 04:28:01PM +0900, Hitoshi Mitake wrote:
At Thu, 12 Feb 2015 15:00:49 +0800,
Liu Yuan wrote:
On Thu, Feb 12, 2015 at 03:19:21PM +0900
On Fri, Feb 13, 2015 at 10:33:04AM +0900, Teruaki Ishizaki wrote:
(2015/02/12 11:55), Liu Yuan wrote:
On Thu, Feb 12, 2015 at 11:33:16AM +0900, Teruaki Ishizaki wrote:
(2015/02/12 11:19), Liu Yuan wrote:
On Thu, Feb 12, 2015 at 10:51:25AM +0900, Teruaki Ishizaki wrote:
(2015/02/10 20:12), Liu
));
goto cleanup;
}
Reviewed-by: Liu Yuan namei.u...@gmail.com
On Fri, Feb 13, 2015 at 11:45:42AM +0800, Liu Yuan wrote:
From: Liu Yuan liuy...@cmss.chinamobile.com
These functions mix up -1 and -errno in return values and would might cause
trouble error handling in the call chain.
This patch let them return -errno and add some comments.
Reported
From: Liu Yuan liuy...@cmss.chinamobile.com
These functions mix up -1 and -errno in return values and would might cause
trouble error handling in the call chain.
This patch let them return -errno and add some comments.
Reported-by: Markus Armbruster arm...@redhat.com
Signed-off-by: Liu Yuan
On Thu, Feb 12, 2015 at 05:01:05PM +0900, Teruaki Ishizaki wrote:
(2015/02/12 16:42), Liu Yuan wrote:
On Thu, Feb 12, 2015 at 04:28:01PM +0900, Hitoshi Mitake wrote:
At Thu, 12 Feb 2015 15:00:49 +0800,
Liu Yuan wrote:
On Thu, Feb 12, 2015 at 03:19:21PM +0900, Hitoshi Mitake wrote:
At Tue
On Thu, Feb 12, 2015 at 10:51:25AM +0900, Teruaki Ishizaki wrote:
(2015/02/10 20:12), Liu Yuan wrote:
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle block_size_shift
On Thu, Feb 12, 2015 at 11:33:16AM +0900, Teruaki Ishizaki wrote:
(2015/02/12 11:19), Liu Yuan wrote:
On Thu, Feb 12, 2015 at 10:51:25AM +0900, Teruaki Ishizaki wrote:
(2015/02/10 20:12), Liu Yuan wrote:
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block
On Thu, Feb 12, 2015 at 03:19:21PM +0900, Hitoshi Mitake wrote:
At Tue, 10 Feb 2015 18:35:58 +0800,
Liu Yuan wrote:
On Tue, Feb 10, 2015 at 06:56:33PM +0900, Teruaki Ishizaki wrote:
(2015/02/10 17:58), Liu Yuan wrote:
On Tue, Feb 10, 2015 at 05:22:02PM +0900, Teruaki Ishizaki wrote
On Thu, Feb 12, 2015 at 04:28:01PM +0900, Hitoshi Mitake wrote:
At Thu, 12 Feb 2015 15:00:49 +0800,
Liu Yuan wrote:
On Thu, Feb 12, 2015 at 03:19:21PM +0900, Hitoshi Mitake wrote:
At Tue, 10 Feb 2015 18:35:58 +0800,
Liu Yuan wrote:
On Tue, Feb 10, 2015 at 06:56:33PM +0900
On Tue, Feb 10, 2015 at 05:22:02PM +0900, Teruaki Ishizaki wrote:
(2015/02/10 12:10), Liu Yuan wrote:
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle block_size_shift
On Tue, Feb 10, 2015 at 06:56:33PM +0900, Teruaki Ishizaki wrote:
(2015/02/10 17:58), Liu Yuan wrote:
On Tue, Feb 10, 2015 at 05:22:02PM +0900, Teruaki Ishizaki wrote:
(2015/02/10 12:10), Liu Yuan wrote:
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle block_size_shift value for
calculating VDI object size.
When you start qemu, you don't need to specify additional
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle block_size_shift value for
calculating VDI object size.
When you start qemu, you don't need to specify additional
On Tue, Feb 10, 2015 at 11:10:51AM +0800, Liu Yuan wrote:
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle block_size_shift value for
calculating VDI object size
On Fri, Feb 06, 2015 at 04:57:55PM +0900, Teruaki Ishizaki wrote:
(2015/02/06 11:18), Liu Yuan wrote:
On Wed, Feb 04, 2015 at 01:54:19PM +0900, Teruaki Ishizaki wrote:
(2015/02/02 15:52), Liu Yuan wrote:
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block
On Wed, Feb 04, 2015 at 01:54:19PM +0900, Teruaki Ishizaki wrote:
(2015/02/02 15:52), Liu Yuan wrote:
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle block_size_shift
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote:
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle block_size_shift value for
calculating VDI object size.
When you start qemu, you don't need to specify additional
On Sun, Sep 07, 2014 at 05:12:31PM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:06 (+0800), Liu Yuan wrote :
This patch set mainly add mainly two logics to implement device recover
- notify qourum driver of the broken states from the child driver(s)
- dirty track and sync
On Wed, Sep 03, 2014 at 12:19:14AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:06 (+0800), Liu Yuan wrote :
Liu,
Do you think this could work with qcow2 file backed by NFS servers ?
It depends on which client we use.
If we use Linux NFS client by 'posix file' protocol, I
This is required by quorum_aio_cancel()
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 23 ---
1 file changed, 12
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/block
to control sync bandwidth more smoothly
- add auto-reconnection mechanism to other protocol (if not support yet)
- add tests
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Liu Yuan (8):
block/quorum
kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/block/quorum.c b/block/quorum.c
index 9e056d6..b9eeda3 100644
--- a/block/quorum.c
+++ b/block/quorum.c
.
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block.c | 7 +++
include/block/block.h | 7 +++
include/block/block_int.h | 3
any problem.
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 189 -
trace-events
This is the reference usage how we propagate connection state to upper tier.
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/sheepdog.c | 9
and threshold, we can easily mimic the DRVD
behavior with following configuration:
read-pattern=fifo,threshold=1 will two children.
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan
These helpers are needed by later quorum sync device logic.
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block.c | 10 ++
include
On Mon, Sep 01, 2014 at 10:28:54AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:08 (+0800), Liu Yuan wrote :
Driver operations are defined as callbacks passed from block upper drivers
to
lower drivers and are supposed to be called by lower drivers.
Requests handling
On Mon, Sep 01, 2014 at 10:31:47AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:09 (+0800), Liu Yuan wrote :
This is the reference usage how we propagate connection state to upper tier.
Cc: Eric Blake ebl...@redhat.com
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw
On Mon, Sep 01, 2014 at 10:35:27AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:11 (+0800), Liu Yuan wrote :
For a fifo read pattern, we only have one running aio
(possible other cases that has less number than num_children in the future)
I have trouble understanding this part
On Mon, Sep 01, 2014 at 10:57:43AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:12 (+0800), Liu Yuan wrote :
This allow VM continues to process even if some devices are broken meanwhile
with proper configuration.
We mark the device broken when the protocol tier notify back
On Mon, Sep 01, 2014 at 11:28:22AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 17:19:19 (+0800), Liu Yuan wrote :
On Mon, Sep 01, 2014 at 10:28:54AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:08 (+0800), Liu Yuan wrote :
Driver operations are defined as callbacks
On Mon, Sep 01, 2014 at 11:37:20AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:14 (+0800), Liu Yuan wrote :
For some configuration, quorum allow VMs to continue while some child
devices
are broken and when the child devices are repaired and return back, we need
to
sync
On Mon, Sep 01, 2014 at 11:32:04AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 17:26:09 (+0800), Liu Yuan wrote :
On Mon, Sep 01, 2014 at 10:35:27AM +0200, Benoît Canet wrote:
The Monday 01 Sep 2014 à 15:43:11 (+0800), Liu Yuan wrote :
For a fifo read pattern, we only have one
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block.c b/block.c
index e9380f6..c12b8de 100644
--- a/block.c
+++ b/block.c
@@ -2239,7 +2239,7
On Mon, Aug 25, 2014 at 10:46:21AM +0800, Liu Yuan wrote:
On Mon, Aug 18, 2014 at 05:41:03PM +0800, Liu Yuan wrote:
v6:
- fix a unused warning introduced by last version
Hi Stefan and Kevin,
Benoît Canet has added Reviewed-by tag to both patches, could one of you
pick
`!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)
Cc: qemu-devel@nongnu.org
Cc: Markus Armbruster arm...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/sheepdog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
: Assertion
`!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)
Cc: qemu-devel@nongnu.org
Cc: Markus Armbruster arm...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Reviewed-by: Markus Armbruster arm...@redhat.com
Signed-off-by: Liu Yuan namei.u
On Thu, Aug 28, 2014 at 11:33:08AM +0100, Stefan Hajnoczi wrote:
On Mon, Aug 18, 2014 at 05:41:03PM +0800, Liu Yuan wrote:
v6:
- fix a unused warning introduced by last version
v5:
- simplify a for loop in quorum_aio_finalize()
v4:
- swap the patch order
- update comment
On Mon, Aug 18, 2014 at 05:41:03PM +0800, Liu Yuan wrote:
v6:
- fix a unused warning introduced by last version
Hi Stefan and Kevin,
Benoît Canet has added Reviewed-by tag to both patches, could one of you pick
this patch set?
Thanks
Yuan
On Mon, Aug 18, 2014 at 01:59:28PM +0800, Liu Yuan wrote:
On Fri, Aug 15, 2014 at 03:59:04PM +0200, Benoît Canet wrote:
The Friday 15 Aug 2014 à 13:05:17 (+0800), Liu Yuan wrote :
This patch adds single read pattern to quorum driver and quorum vote is
default
pattern.
For now
On Fri, Aug 15, 2014 at 03:59:04PM +0200, Benoît Canet wrote:
The Friday 15 Aug 2014 à 13:05:17 (+0800), Liu Yuan wrote :
This patch adds single read pattern to quorum driver and quorum vote is
default
pattern.
For now we do a quorum vote on all the reads, it is designed
Cc: Eric Blake ebl...@redhat.com
Reviewed-by: Eric Blake ebl...@redhat.com
Reviewed-by: Benoît Canet benoit.ca...@nodalink.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
qapi/block-core.json | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/qapi/block
://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device
Cc: Benoit Canet ben...@irqsave.net
Cc: Eric Blake ebl...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Liu Yuan (2):
qapi: add read-pattern enum for quorum
block/quorum: add simple read pattern support
block
,vote-threshold=1
[1] http://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device
Cc: Benoit Canet ben...@irqsave.net
Cc: Eric Blake ebl...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 177
On Tue, Aug 12, 2014 at 10:41:28AM +0800, Liu Yuan wrote:
On Mon, Aug 11, 2014 at 02:31:43PM +0200, Benoît Canet wrote:
The Thursday 17 Jul 2014 à 13:18:56 (+0800), Liu Yuan wrote :
This patch adds single read pattern to quorum driver and quorum vote is
default
pattern.
For now
Hitoshi Mitake (2):
sheepdog: adopting protocol update for VDI locking
sheepdog: improve error handling for a case of failed lock
block/sheepdog.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
Reviewed-by: Liu Yuan namei.u...@gmail.com
On Thu, Aug 14, 2014 at 01:09:32PM +0200, Benoît Canet wrote:
The Thursday 17 Jul 2014 à 13:18:56 (+0800), Liu Yuan wrote :
This patch adds single read pattern to quorum driver and quorum vote is
default
pattern.
For now we do a quorum vote on all the reads, it is designed
: Benoit Canet ben...@irqsave.net
Cc: Eric Blake ebl...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
Liu Yuan (2):
qapi: add read-pattern enum for quorum
block/quorum: add simple read pattern support
block/quorum.c
,vote-threshold=1
[1] http://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device
Cc: Benoit Canet ben...@irqsave.net
Cc: Eric Blake ebl...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 176
Cc: Eric Blake ebl...@redhat.com
Reviewed-by: Eric Blake ebl...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
qapi/block-core.json | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index e378653
On Thu, Jul 17, 2014 at 01:18:56PM +0800, Liu Yuan wrote:
This patch adds single read pattern to quorum driver and quorum vote is
default
pattern.
For now we do a quorum vote on all the reads, it is designed for unreliable
underlying storage such as non-redundant NFS to make sure data
On Mon, Aug 11, 2014 at 02:31:43PM +0200, Benoît Canet wrote:
The Thursday 17 Jul 2014 à 13:18:56 (+0800), Liu Yuan wrote :
This patch adds single read pattern to quorum driver and quorum vote is
default
pattern.
For now we do a quorum vote on all the reads, it is designed
On Mon, Aug 11, 2014 at 11:17:33AM +0900, Hitoshi Mitake wrote:
At Fri, 8 Aug 2014 15:49:37 +0800,
Liu Yuan wrote:
On Fri, Aug 08, 2014 at 03:12:17PM +0900, Hitoshi Mitake wrote:
At Fri, 8 Aug 2014 13:20:39 +0800,
Liu Yuan wrote:
On Thu, Aug 07, 2014 at 04:28:39PM +0900
On Mon, Aug 11, 2014 at 11:34:56AM +0800, Liu Yuan wrote:
On Mon, Aug 11, 2014 at 11:17:33AM +0900, Hitoshi Mitake wrote:
At Fri, 8 Aug 2014 15:49:37 +0800,
Liu Yuan wrote:
On Fri, Aug 08, 2014 at 03:12:17PM +0900, Hitoshi Mitake wrote:
At Fri, 8 Aug 2014 13:20:39 +0800,
Liu
Reported-by: Valerio Pachera siri...@gmail.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
sheep/group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sheep/group.c b/sheep/group.c
index 06a80bd..08e3884 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -979,7 +979,7
On Fri, Aug 08, 2014 at 03:17:59PM +0900, Hitoshi Mitake wrote:
At Fri, 8 Aug 2014 13:31:39 +0800,
Liu Yuan wrote:
On Thu, Aug 07, 2014 at 04:28:40PM +0900, Hitoshi Mitake wrote:
Recently, sheepdog revived its VDI locking functionality. This patch
updates sheepdog driver of QEMU
On Fri, Aug 08, 2014 at 03:12:17PM +0900, Hitoshi Mitake wrote:
At Fri, 8 Aug 2014 13:20:39 +0800,
Liu Yuan wrote:
On Thu, Aug 07, 2014 at 04:28:39PM +0900, Hitoshi Mitake wrote:
The update is required for supporting iSCSI multipath. It doesn't
affect behavior of QEMU driver
Cc: Liu Yuan namei.u...@gmail.com
Cc: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
Signed-off-by: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp
---
block/sheepdog.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/block/sheepdog.c b/block/sheepdog.c
index 8d9350c
-by: Valerio Pachera siri...@gmail.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Cc: Liu Yuan namei.u...@gmail.com
Cc: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
Signed-off-by: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp
---
block/sheepdog.c | 4
1 file
On Fri, Jul 18, 2014 at 03:35:57PM +0200, Paolo Bonzini wrote:
Il 17/07/2014 13:50, Liu Yuan ha scritto:
- allow drive-mirror to create sprase mirror on images like qcow2
- allow qemu-img map to work as expected on quorum driver
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw
- allow drive-mirror to create sprase mirror on images like qcow2
- allow qemu-img map to work as expected on quorum driver
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c
, Enable single read pattern on 2 children,
-drive driver=quorum,children.0.file.filename=0.qcow2,\
children.1.file.filename=1.qcow2,read-pattern=fifo,vote-threshold=1
[1] http://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device
Liu Yuan (2):
qapi: add read-pattern support for quorum
,vote-threshold=1
[1] http://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device
Cc: Benoit Canet ben...@irqsave.net
Cc: Eric Blake ebl...@redhat.com
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 179
Cc: Eric Blake ebl...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
qapi/block-core.json | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index e378653..42033d9 100644
--- a/qapi/block-core.json
Cc: Eric Blake ebl...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
qapi/block-core.json | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index e378653..22491bc 100644
--- a/qapi/block-core.json
+++ b
,vote-threshold=1
[1] http://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 181
-pattern=single,vote-threshold=1
[1] http://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device
Liu Yuan (2):
block/quorum: add simple read pattern support
qapi: add read-pattern support for quorum
block/quorum.c | 181 +--
qapi/block
On Tue, Jul 15, 2014 at 06:22:14AM -0600, Eric Blake wrote:
On 07/15/2014 12:34 AM, Liu Yuan wrote:
Cc: Eric Blake ebl...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
qapi/block-core.json | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff
On Wed, Jul 16, 2014 at 10:22:20AM +0800, Liu Yuan wrote:
On Tue, Jul 15, 2014 at 06:22:14AM -0600, Eric Blake wrote:
On 07/15/2014 12:34 AM, Liu Yuan wrote:
Cc: Eric Blake ebl...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
qapi/block-core.json | 19
,vote-threshold=1
[1] http://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
v2:
- rename single as 'fifo'
- rename
On Mon, Jul 14, 2014 at 09:33:59PM -0600, Eric Blake wrote:
On 07/14/2014 09:19 PM, Liu Yuan wrote:
This patch adds single read pattern to quorum driver and quorum vote is
default
pattern.
This patch generalize the above 2 nodes case in the N nodes. That is,
vm - write to all
-system-x86_64: -drive if=virtio,driver=quorum...: Could not refresh total \
sector count: Invalid argument
Cc: Benoit Canet ben...@irqsave.net
Cc: Kevin Wolf kw...@redhat.com
Cc: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
block/quorum.c | 3 ++-
1 file
Cc: Kevin Wolf kw...@redhat.com
Signed-off-by: Liu Yuan namei.u...@gmail.com
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 7dd43fd..78e7baf 100755
--- a/configure
+++ b/configure
@@ -3996,7 +3996,7 @@ if test $libnfs
1 - 100 of 325 matches
Mail list logo