This patch parses the input filename in sd_create(), and enables us
specifying a target server to create sheepdog images.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block/sheepdog.c | 17 ++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git
At Tue, 15 Jun 2010 10:24:14 +0200,
Kevin Wolf wrote:
Am 14.06.2010 21:48, schrieb MORITA Kazutaka:
3) qemu-io aio_read/write doesn't seem to work well with it. I only get
the result of the AIO request when I exit qemu-io. This may be a qemu-io
problem or a Sheepdog one. We need to look
/sheepdog/
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
Changes from v4 to v5 are:
- address the comments to the sheepdog driver (Thanks Kevin, Chris!)
-- fix a coding style
-- fix aio_cancel handling
-- fix an overflow bug in coping hostname
-- add comments to the non
At Fri, 04 Jun 2010 13:04:00 +0200,
Kevin Wolf wrote:
Am 03.06.2010 18:23, schrieb MORITA Kazutaka:
+static void sd_aio_cancel(BlockDriverAIOCB *blockacb)
+{
+ SheepdogAIOCB *acb = (SheepdogAIOCB *)blockacb;
+
+ acb-canceled = 1;
+}
Does this provide the right semantics? You
At Wed, 02 Jun 2010 12:49:02 +0200,
Kevin Wolf wrote:
Am 28.05.2010 04:44, schrieb MORITA Kazutaka:
Hi all,
This patch adds a block driver for Sheepdog distributed storage
system. Please consider for inclusion.
Hint for next time: You should remove the RFC from the subject line
At Wed, 02 Jun 2010 15:55:42 +0200,
Kevin Wolf wrote:
Am 28.05.2010 04:44, schrieb MORITA Kazutaka:
Sheepdog is a distributed storage system for QEMU. It provides highly
available block level storage volumes to VMs like Amazon EBS. This
patch adds a qemu block driver for Sheepdog
() call of the protocol. It is
because the contents of the block driver state may need to be changed
after loading vmstate.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block.c | 61 +++--
1 files changed, 43 insertions
This patch calls the close handler of the block driver before the qemu
process exits.
This is necessary because the sheepdog block driver releases the lock
of VM images in the close handler.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block.c |9 +
block.h
/sheepdog/
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
Makefile.objs|2 +-
block/sheepdog.c | 1835 ++
2 files changed, 1836 insertions(+), 1 deletions(-)
create mode 100644 block/sheepdog.c
diff --git
the sheepdog driver as a protocol driver
- add new patch to call the snapshot handler of the protocol
Thanks,
Kazutaka
MORITA Kazutaka (3):
close all the block drivers before the qemu process exits
block: call the snapshot handlers of the protocol drivers
block: add sheepdog driver
At Mon, 24 May 2010 14:16:32 -0500,
Anthony Liguori wrote:
On 05/24/2010 06:56 AM, Avi Kivity wrote:
On 05/24/2010 02:42 PM, MORITA Kazutaka wrote:
The server would be local and talk over a unix domain socket, perhaps
anonymous.
nbd has other issues though, such as requiring a copy
At Tue, 25 May 2010 10:12:53 -0700 (PDT),
Sage Weil wrote:
On Tue, 25 May 2010, Avi Kivity wrote:
What's the reason for not having these drivers upstream? Do we gain
anything by hiding them from our users and requiring them to install the
drivers separately from somewhere else?
At Fri, 21 May 2010 13:40:31 +0200,
Kevin Wolf wrote:
Am 20.05.2010 07:36, schrieb MORITA Kazutaka:
This patch enables protocol drivers to use their create options which
are not supported by the format. For example, protcol drivers can use
a backing_file option with raw format
At Fri, 21 May 2010 18:57:36 +0200,
Kevin Wolf wrote:
Am 20.05.2010 07:36, schrieb MORITA Kazutaka:
+
+/*
+ * Append an option list (list) to an option list (dest).
+ *
+ * If dest is NULL, a new copy of list is created.
+ *
+ * Returns a pointer to the first element of dest
At Sun, 23 May 2010 15:01:59 +0300,
Avi Kivity wrote:
On 05/21/2010 12:29 AM, Anthony Liguori wrote:
I'd be more interested in enabling people to build these types of
storage systems without touching qemu.
Both sheepdog and ceph ultimately transmit I/O over a socket to a
central
At Mon, 24 May 2010 14:05:58 +0300,
Avi Kivity wrote:
On 05/24/2010 10:12 AM, MORITA Kazutaka wrote:
At Sun, 23 May 2010 15:01:59 +0300,
Avi Kivity wrote:
On 05/21/2010 12:29 AM, Anthony Liguori wrote:
I'd be more interested in enabling people to build these types
At Mon, 24 May 2010 14:56:29 +0300,
Avi Kivity wrote:
On 05/24/2010 02:42 PM, MORITA Kazutaka wrote:
The server would be local and talk over a unix domain socket, perhaps
anonymous.
nbd has other issues though, such as requiring a copy and no support for
metadata operations
At Fri, 21 May 2010 06:28:42 +0100,
Stefan Hajnoczi wrote:
On Thu, May 20, 2010 at 11:16 PM, Christian Brunner c...@muc.de wrote:
2010/5/20 Anthony Liguori anth...@codemonkey.ws:
Both sheepdog and ceph ultimately transmit I/O over a socket to a central
daemon, right? So could we not
At Fri, 21 May 2010 00:16:46 +0200,
Christian Brunner wrote:
2010/5/20 Anthony Liguori anth...@codemonkey.ws:
With new approaches like Sheepdog or Ceph, things are getting a lot
cheaper and you can scale your system without disrupting your service.
The concepts are quite similar to what
This patch enables protocol drivers to use their create options which
are not supported by the format. For example, protcol drivers can use
a backing_file option with raw format.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block.c |7 +++
block.h |1
() call of the protocol. It is
because the contents of the block driver state may need to be changed
after loading vmstate.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block.c | 61 +++--
1 files changed, 43 insertions
/sheepdog/
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
Makefile.objs|2 +-
block/sheepdog.c | 1845 ++
2 files changed, 1846 insertions(+), 1 deletions(-)
create mode 100644 block/sheepdog.c
diff --git
of the
protocol driver.
Thanks,
Kazutaka
MORITA Kazutaka (3):
close all the block drivers before the qemu process exits
block: call the snapshot handlers of the protocol drivers
block: add sheepdog driver for distributed storage support
Makefile.objs|2 +-
block.c | 70
This patch calls the close handler of the block driver before the qemu
process exits.
This is necessary because the sheepdog block driver releases the lock
of VM images in the close handler.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block.c |9 +
block.h
Hi,
Thank you very much for the reviewing!
At Fri, 14 May 2010 13:08:06 +0200,
Kevin Wolf wrote:
+
+struct sd_req {
+ uint8_t proto_ver;
+ uint8_t opcode;
+ uint16_tflags;
+ uint32_tepoch;
+ uint32_tid;
+ uint32_t
At Mon, 17 May 2010 13:08:08 +0200,
Kevin Wolf wrote:
Am 17.05.2010 12:19, schrieb MORITA Kazutaka:
int bdrv_snapshot_goto(BlockDriverState *bs,
const char *snapshot_id)
{
BlockDriver *drv = bs-drv;
+int ret, open_ret;
+
if (!drv
On Mon, May 17, 2010 at 9:20 PM, Kevin Wolf kw...@redhat.com wrote:
Am 17.05.2010 14:19, schrieb MORITA Kazutaka:
At Mon, 17 May 2010 13:08:08 +0200,
Kevin Wolf wrote:
Am 17.05.2010 12:19, schrieb MORITA Kazutaka:
int bdrv_snapshot_goto(BlockDriverState *bs,
const
This patch calls the close handler of the block driver before the qemu
process exits.
This is necessary because the sheepdog block driver releases the lock
of VM images in the close handler.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block.c |9 +
block.h
When snapshot handlers of the format driver is not defined, it is
better to call the ones of the protocol driver.
This enables us to implement snapshot support in the protocol driver.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block.c | 48
-b sheepdog:vol1:1 -f sheepdog vol2
Thanks,
Kazutaka
MORITA Kazutaka (3):
close all the block drivers before the qemu process exits
block: call the snapshot handlers of the protocol drivers
block: add sheepdog driver for distributed storage support
Makefile.objs|2 +-
block.c
/sheepdog/
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
Makefile.objs|2 +-
block/sheepdog.c | 1831 ++
2 files changed, 1832 insertions(+), 1 deletions(-)
create mode 100644 block/sheepdog.c
diff --git
At Fri, 14 May 2010 10:32:26 +0200,
Kevin Wolf wrote:
Am 13.05.2010 16:03, schrieb MORITA Kazutaka:
To support snapshot in a protocol, I'd like to call the hander of the
protocol driver in the following functions in block.c:
bdrv_snapshot_create
bdrv_snapshot_goto
At Thu, 13 May 2010 04:46:46 +0900,
MORITA Kazutaka wrote:
On 2010/05/12 20:38, Kevin Wolf wrote:
I'll have a closer look at your code later, but one thing I noticed is
that the new block driver is something in between a protocol and a
format driver (just like vvfat, which should stop
Thanks,
Kazutaka
[1] http://www.osrg.net/sheepdog/
[2] http://lists.nongnu.org/archive/html/qemu-devel/2009-10/msg01773.html
MORITA Kazutaka (2):
close all the block drivers before the qemu process exits
block: add sheepdog driver for distributed storage support
Makefile |2
This patch calls the close handler of the block driver before the qemu
process exits.
This is necessary because the sheepdog block driver releases the lock
of VM images in the close handler.
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
---
block.c | 11 +++
block.h
On 2010/05/12 23:01, Christoph Hellwig wrote:
On Wed, May 12, 2010 at 07:46:52PM +0900, MORITA Kazutaka wrote:
This patch calls the close handler of the block driver before the qemu
process exits.
This is necessary because the sheepdog block driver releases the lock
of VM images in the close
On 2010/05/12 23:28, Avi Kivity wrote:
On 05/12/2010 01:46 PM, MORITA Kazutaka wrote:
This patch calls the close handler of the block driver before the qemu
process exits.
This is necessary because the sheepdog block driver releases the lock
of VM images in the close handler.
How do
On 2010/05/12 20:38, Kevin Wolf wrote:
Am 12.05.2010 12:46, schrieb MORITA Kazutaka:
Hi all,
This patch adds a block driver for Sheepdog distributed storage
system. Please consider for inclusion.
Sheepdog is a distributed storage system for QEMU. It provides highly
available block level
At Thu, 13 May 2010 05:16:35 +0900,
MORITA Kazutaka wrote:
On 2010/05/12 23:28, Avi Kivity wrote:
On 05/12/2010 01:46 PM, MORITA Kazutaka wrote:
This patch calls the close handler of the block driver before the qemu
process exits.
This is necessary because the sheepdog block driver
On 2009/10/21 14:13, MORITA Kazutaka wrote:
Hi everyone,
Sheepdog is a distributed storage system for KVM/QEMU. It provides
highly available block level storage volumes to VMs like Amazon EBS.
Sheepdog supports advanced volume management features such as snapshot,
cloning, and thin provisioning
, because Sheepdog locks a VM image when it is opened.
To avoid this problem, locking must be delayed until migration has done.
This is also a TODO item.
--
MORITA Kazutaka
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More
]: Leaving directory `/home/shiny/Packages/sheepdog-2009102101/sheep'
make: *** [all] Error 2
I have all the required libs installed. Patching and compiling qemu-kvm went
flawless.
- Original Message -
From: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp
To: kvm@vger.kernel.org, qemu
?
-Original Message-
From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On
Behalf Of MORITA Kazutaka
Sent: Mittwoch, 21. Oktober 2009 07:14
To: kvm@vger.kernel.org; qemu-de...@nongnu.org; linux-
fsde...@vger.kernel.org
Subject: [ANNOUNCE] Sheepdog: Distributed Storage System
On Fri, Oct 23, 2009 at 12:30 AM, Avi Kivity a...@redhat.com wrote:
On 10/21/2009 07:13 AM, MORITA Kazutaka wrote:
Hi everyone,
Sheepdog is a distributed storage system for KVM/QEMU. It provides
highly available block level storage volumes to VMs like Amazon EBS.
Sheepdog supports advanced
://vger.kernel.org/majordomo-info.html
--
MORITA, Kazutaka
NTT Cyber Space Labs
OSS Computing Project
Kernel Group
E-mail: morita.kazut...@lab.ntt.co.jp
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info
On Fri, Oct 23, 2009 at 8:10 PM, Alexander Graf ag...@suse.de wrote:
On 23.10.2009, at 12:41, MORITA Kazutaka wrote:
On Fri, Oct 23, 2009 at 12:30 AM, Avi Kivity a...@redhat.com wrote:
How is load balancing implemented? Can you move an image transparently
while a guest is running
Hi,
Thanks for many comments.
Sheepdog git trees are created.
Sheepdog server
git://sheepdog.git.sourceforge.net/gitroot/sheepdog/sheepdog
Sheepdog client
git://sheepdog.git.sourceforge.net/gitroot/sheepdog/qemu-kvm
Please try!
On Wed, Oct 21, 2009 at 2:13 PM, MORITA Kazutaka
On Sat, Oct 24, 2009 at 4:45 AM, Javier Guerra jav...@guerrag.com wrote:
On Fri, Oct 23, 2009 at 2:39 PM, MORITA Kazutaka
morita.kazut...@lab.ntt.co.jp wrote:
Thanks for many comments.
Sheepdog git trees are created.
great!
is there any client (no matter how crude) besides the patched
sheepdog Charlie's Disk
Thanks.
--
MORITA, Kazutaka
NTT Cyber Space Labs
OSS Computing Project
Kernel Group
E-mail: morita.kazut...@lab.ntt.co.jp
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
49 matches
Mail list logo