[Qemu-devel] [PATCH] block/gluster: defend on legacy ftruncate api use

2018-04-12 Thread Prasanna Kumar Kalever
Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 15 +-- configure | 8 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/block/gluster.c b/block/gluster.c index 4adc1a875b..2474580ad6 100644 --- a/block/gluster.c +++ b/block/gluster.c

[Qemu-devel] [PATCH v3 3/3] qemu-doc: update gluster protocol usage guide

2016-11-02 Thread Prasanna Kumar Kalever
Document: 1. The new debug and logfile options with their usages 2. New json format and its usage and 3. update "GlusterFS, Device URL Syntax" section in "Invocation" Signed-off-by: Prasanna Kumar Kalever --- qemu-doc.texi | 59 +++

[Qemu-devel] [PATCH v3 0/3] qemu-doc: update gluster protocol usage guide

2016-11-02 Thread Prasanna Kumar Kalever
: Address review comments by Eric Blake on v1 Mostly grammar related changes, formating for better readability and updated commit message v1: Initial commit Prasanna Kumar Kalever (3): block/gluster: fix QMP to match debug option block/nfs: fix QMP to match debug option qemu-doc: update

[Qemu-devel] [PATCH v3 2/3] block/nfs: fix QMP to match debug option

2016-11-02 Thread Prasanna Kumar Kalever
int', '*tcp-syn-count': 'int', '*readahead-size': 'int', '*page-cache-size': 'int', '*debug-level': 'int' } } To make this consistent with other block protocols like glu

[Qemu-devel] [PATCH v3 1/3] block/gluster: fix QMP to match debug option

2016-11-02 Thread Prasanna Kumar Kalever
-level': 'int', '*logfile': 'str' } } But instead of 'debug-level we have exported 'debug' as the option for choosing debug level of gluster protocol driver. This patch fix QMP definition BlockdevOptionsGluster s/debug-level/debug

[Qemu-devel] [PATCH v2 1/1] qemu-doc: update gluster protocol usage guide

2016-11-02 Thread Prasanna Kumar Kalever
Document: 1. The new debug and logfile options with their usages 2. New json format and its usage and 3. update "GlusterFS, Device URL Syntax" section in "Invocation" Signed-off-by: Prasanna Kumar Kalever --- v2: Address review comments by Eric Blake on v1 Mostly gra

[Qemu-devel] [PATCH v1 1/1] qemu-doc: update gluster protocol usage guide

2016-11-01 Thread Prasanna Kumar Kalever
Document: 1. The new debug and logfile options with their usages and 2. New json format and its usage. Signed-off-by: Prasanna Kumar Kalever --- qemu-doc.texi | 46 -- qemu-options.hx | 14 -- 2 files changed, 44 insertions(+), 16

[Qemu-devel] [PATCH v2 1/1] block/gluster: memory usage: use one glfs instance per volume

2016-10-27 Thread Prasanna Kumar Kalever
d-off-by: Prasanna Kumar Kalever --- v2: Address comments from Jeff Cody on v1 v1: Initial patch --- block/gluster.c | 94 - 1 file changed, 80 insertions(+), 14 deletions(-) diff --git a/block/gluster.c b/block/gluster.c index 01b479f..7e

[Qemu-devel] [PATCH v1 1/1] block/gluster: memory usage: use one glfs instance per volume

2016-10-27 Thread Prasanna Kumar Kalever
d-off-by: Prasanna Kumar Kalever --- block/gluster.c | 105 1 file changed, 91 insertions(+), 14 deletions(-) diff --git a/block/gluster.c b/block/gluster.c index 01b479f..367d692 100644 --- a/block/gluster.c +++ b/block/gluster.c @@ -54,6

[Qemu-devel] [PATCH v2 1/1] qapi/block-core: add doc describing GlusterServer vs. SocketAddress

2016-08-20 Thread Prasanna Kumar Kalever
Added documentation describing relation between GlusterServer and SocketAddress qapi schemas. Thanks to Markus Armbruster Signed-off-by: Prasanna Kumar Kalever --- v2: apply suggestions from Markus on v1 v1: initial doc changes --- qapi/block-core.json | 12 1 file changed, 12

[Qemu-devel] [PATCH v1 1/1] qapi/block-core: add doc describing GlusterServer vs. SocketAddress

2016-08-18 Thread Prasanna Kumar Kalever
Added documentation describing relation between GlusterServer and SocketAddress qapi schemas. Thanks to Markus Armbruster Signed-off-by: Prasanna Kumar Kalever --- qapi/block-core.json | 9 + 1 file changed, 9 insertions(+) diff --git a/qapi/block-core.json b/qapi/block-core.json

[Qemu-devel] [PATCH v1 1/1] block/gluster: fix port type in the QAPI options list

2016-08-09 Thread Prasanna Kumar Kalever
x27;uint16', '*ipv4': 'bool', '*ipv6': 'bool' } } but the current code still treats it as QEMU_OPT_NUMBER, hence fixing port to accept QEMU_OPT_STRING. Credits: Markus Armbruster Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 2 +-

[Qemu-devel] [PATCH v2 1/1] block/gluster: improve defense over string to int conversion

2016-08-09 Thread Prasanna Kumar Kalever
let's move port type from QEMU_OPT_NUMBER to QEMU_OPT_STRING Signed-off-by: Prasanna Kumar Kalever --- v1: Initial patch v2: Address comments on v1 given by Markus --- block/gluster.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/block/gluster.c b/block/gluster

[Qemu-devel] [PATCH v1 1/1] block/gluster: improve defense over string to int conversion

2016-08-03 Thread Prasanna Kumar Kalever
parse_option_number() However It is a good practice to use function like parse_uint_full() over atoi() to keep port self defended Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/block/gluster.c b/block/glu

[Qemu-devel] [PATCH v4] block/gluster: add support to choose libgfapi logfile

2016-07-22 Thread Prasanna Kumar Kalever
"logfile":"/var/log/qemu/qemu-gfapi.log", "server":[ { "type":"tcp", "host":"1.2.3.4", "port":24007 },

[Qemu-devel] [PATCH v2] block/gluster: fix doc in the qapi schema and member name

2016-07-22 Thread Prasanna Kumar Kalever
1. qapi @BlockdevOptionsGluster schema member name s/debug_level/debug-level/ 2. rearrange the versioning 3. s/server description/servers description/ Signed-off-by: Prasanna Kumar Kalever v2: address review comments given by Eric Blake v1: Initial patch --- qapi/block-core.json | 6 +++--- 1

[Qemu-devel] [PATCH v3] block/gluster: add support to choose libgfapi logfile

2016-07-22 Thread Prasanna Kumar Kalever
"logfile":"/var/log/qemu/qemu-gfapi.log", "server":[ { "type":"tcp", "host":"1.2.3.4", "port":24007 },

[Qemu-devel] [PATCH] block/gluster: fix doc in the qapi schema

2016-07-22 Thread Prasanna Kumar Kalever
1. s/@debug-level/@debug_level/ 2. rearrange the versioning 3. s/server description/servers description/ Signed-off-by: Prasanna Kumar Kalever --- qapi/block-core.json | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qapi/block-core.json b/qapi/block-core.json index

[Qemu-devel] [PATCH v20 5/5] block/gluster: add support for multiple gluster servers

2016-07-19 Thread Prasanna Kumar Kalever
uot;volume":"testvol", "path":"/path/a.qcow2","debug":9,"server": [{type:"tcp",host:"1.2.3.4",port=24007}, {type:"unix",socket:"/var/run/glusterd.socket"}] } }' This patc

[Qemu-devel] [PATCH v20 3/5] block/gluster: deprecate rdma support

2016-07-19 Thread Prasanna Kumar Kalever
days, its the gluster libgfapi code which handles anything other than unix transport as socket/tcp, sad but true. Also gluster doesn't support ipv6 addresses, removing the ipv6 related comments/docs section Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 20 --

[Qemu-devel] [PATCH v20 4/5] block/gluster: using new qapi schema

2016-07-19 Thread Prasanna Kumar Kalever
this patch adds 'GlusterServer' related schema in qapi/block-core.json Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 115 +-- qapi/block-core.json | 68 +++--- 2 files changed, 128 inserti

[Qemu-devel] [PATCH v20 2/5] block/gluster: code cleanup

2016-07-19 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake Reviewed-by: Jeff Cody --- block/gluster.c | 143

[Qemu-devel] [PATCH v20 1/5] block/gluster: rename [server, volname, image] -> [host, volume, path]

2016-07-19 Thread Prasanna Kumar Kalever
x27;server' -> 'host' 'image' -> 'path' 'volname' -> 'volume' Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake Reviewed-by: Jeff Cody --- block/gluster.c | 54 +++

[Qemu-devel] [PATCH v20 0/5] block/gluster: add support for multiple gluster servers

2016-07-19 Thread Prasanna Kumar Kalever
This version of patches are rebased repo at git://repo.or.cz/qemu/armbru.git qapi-not-next Prasanna Kumar Kalever (5): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: deprecate rdma support block/gluster: using new q

[Qemu-devel] [PATCH v19 3/5] block/gluster: remove rdma transport

2016-07-15 Thread Prasanna Kumar Kalever
gluster volfile server fetch happens through unix and/or tcp, it doesn't support volfile fetch over rdma, hence removing the dead code Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 35 +-- 1 file changed, 1 insertion(+), 34 deletions(-) diff

[Qemu-devel] [PATCH v19 5/5] block/gluster: add support for multiple gluster servers

2016-07-15 Thread Prasanna Kumar Kalever
27; This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-volfile-servers option supported by mount.glusterfs (FUSE way of mounting gluster volume)

[Qemu-devel] [PATCH v19 2/5] block/gluster: code cleanup

2016-07-15 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake Reviewed-by: Jeff Cody --- block/gluster.c | 143

[Qemu-devel] [PATCH v19 1/5] block/gluster: rename [server, volname, image] -> [host, volume, path]

2016-07-15 Thread Prasanna Kumar Kalever
x27;server' -> 'host' 'image' -> 'path' 'volname' -> 'volume' Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake Reviewed-by: Jeff Cody --- block/gluster.c | 54 +++

[Qemu-devel] [PATCH v19 4/5] block/gluster: using new qapi schema

2016-07-15 Thread Prasanna Kumar Kalever
this patch adds 'GlusterServer' related schema in qapi/block-core.json Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 111 +-- qapi/block-core.json | 94 --- 2 files ch

[Qemu-devel] [PATCH v19 0/5] block/gluster: add support for multiple gluster servers

2016-07-15 Thread Prasanna Kumar Kalever
This version of patches are rebased repo at git://repo.or.cz/qemu/armbru.git qapi-not-next Prasanna Kumar Kalever (5): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: remove rdma transport block/gluster: using new q

[Qemu-devel] [PATCH v18 1/4] block/gluster: rename [server, volname, image] -> [host, volume, path]

2016-07-13 Thread Prasanna Kumar Kalever
x27;server' -> 'host' 'image' -> 'path' 'volname' -> 'volume' Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake Reviewed-by: Jeff Cody --- block/gluster.c | 54 +++

[Qemu-devel] [PATCH v18 2/4] block/gluster: code cleanup

2016-07-13 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake Reviewed-by: Jeff Cody --- block/gluster.c | 143

[Qemu-devel] [PATCH v18 4/4] block/gluster: add support for multiple gluster servers

2016-07-13 Thread Prasanna Kumar Kalever
uot;: [{"host":"1.2.3.4","port":"24007","transport":"tcp"}, {"host":"4.5.6.7","port":"24008","transport":"rdma"}, {"host":"/var/run/glusterd

[Qemu-devel] [PATCH v18 0/4] block/gluster: add support for multiple gluster servers

2016-07-13 Thread Prasanna Kumar Kalever
This version of patches are rebased on master branch. Prasanna Kumar Kalever (4): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: using new qapi schema block/gluster: add support for multiple gluster servers v1: multi

[Qemu-devel] [PATCH v18 3/4] block/gluster: using new qapi schema

2016-07-13 Thread Prasanna Kumar Kalever
this patch adds 'GlusterServer' related schema in qapi/block-core.json Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 89 ++-- qapi/block-core.json | 67 --- 2 files changed, 107

[Qemu-devel] [PATCH v2 1/1] block/gluster: add support to choose libgfapi logfile

2016-07-06 Thread Prasanna Kumar Kalever
h helps in logging to the specified file and also help in persisting the gfapi logs. Usage: -drive file=gluster://hostname/volname/image.qcow2,file.debug=9,\ file.logfile=/var/log/qemu/qemu-gfapi.log Signed-off-by: Prasanna Kumar Kalever --- v1: initial patch v2: address comments

[Qemu-devel] [PATCH] block/gluster: add support to choose libgfapi logfile

2016-07-05 Thread Prasanna Kumar Kalever
h helps in logging to the specified file and also help in persisting the gfapi logs. Usage: -drive file=gluster://hostname/volname/image.qcow2,file.debug=9,\ file.logfile=/var/log/qemu/qemu-gfapi.log Signed-off-by: Prasanna Kumar Kalever --- block/glus

[Qemu-devel] [PATCH v17 4/4] block/gluster: add support for multiple gluster servers

2016-06-15 Thread Prasanna Kumar Kalever
uot;: [{"host":"1.2.3.4","port":"24007","transport":"tcp"}, {"host":"4.5.6.7","port":"24008","transport":"rdma"}, {"host":"/var/run/glusterd

[Qemu-devel] [PATCH v17 3/4] block/gluster: using new qapi schema

2016-06-15 Thread Prasanna Kumar Kalever
this patch adds 'GlusterServer' related schema in qapi/block-core.json Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 101 ++- qapi/block-core.json | 64 +--- 2 files changed, 110 inserti

[Qemu-devel] [PATCH v17 0/4][WIP] block/gluster: add support for multiple gluster servers

2016-06-15 Thread Prasanna Kumar Kalever
This version of patches are rebased on master branch. Prasanna Kumar Kalever (4): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: using new qapi schema block/gluster: add support for multiple gluster servers v1: multi

[Qemu-devel] [PATCH v17 2/4] block/gluster: code cleanup

2016-06-15 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake --- block/gluster.c | 113 ++-- 1

[Qemu-devel] [PATCH v17 1/4] block/gluster: rename [server, volname, image] -> [host, volume, path]

2016-06-15 Thread Prasanna Kumar Kalever
x27;server' -> 'host' 'image' -> 'path' 'volname' -> 'volume' Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake --- block/gluster.c | 54 +++--- 1 file changed, 27 inse

[Qemu-devel] [PATCH v16 2/4] block/gluster: code cleanup

2016-03-29 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake --- block/gluster.c | 113 ++-- 1

[Qemu-devel] [PATCH v16 4/4] block/gluster: add support for multiple gluster servers

2016-03-29 Thread Prasanna Kumar Kalever
uot;: [{"host":"1.2.3.4","port":"24007","transport":"tcp"}, {"host":"4.5.6.7","port":"24008","transport":"rdma"}, {"host":"/var/run/glusterd

[Qemu-devel] [PATCH v16 1/4] block/gluster: rename [server, volname, image] -> [host, volume, path]

2016-03-29 Thread Prasanna Kumar Kalever
x27;server' -> 'host' 'image' -> 'path' 'volname' -> 'volume' Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake --- block/gluster.c | 54 +++--- 1 file changed, 27 inse

[Qemu-devel] [PATCH v16 3/4] block/gluster: using new qapi schema

2016-03-29 Thread Prasanna Kumar Kalever
this patch adds 'GlusterServer' related schema in qapi/block-core.json Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 101 ++- qapi/block-core.json | 60 -- 2 files changed, 108 inserti

[Qemu-devel] [PATCH v16 0/4][WIP] block/gluster: add support for multiple gluster servers

2016-03-29 Thread Prasanna Kumar Kalever
WIP: As soon as discriminated union support is added use it with GlusterServer This version of patches are rebased on master branch. Prasanna Kumar Kalever (4): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: using new q

Re: [Qemu-devel] [PATCH 4/4] block/gluster: add support for multiple gluster servers

2016-02-05 Thread Prasanna Kumar Kalever
On Thursday, February 4, 2016 6:52:15 PM Kevin Wolf Wrote: > Am 12.11.2015 um 23:36 hat Eric Blake geschrieben: > > On 11/12/2015 03:22 AM, Prasanna Kumar Kalever wrote: > > > +static struct glfs *qemu_gluster_init(BlockdevOptionsGluster **gconf, > > > +

[Qemu-devel] [PATCH 4/4] block/gluster: add support for multiple gluster servers

2015-11-12 Thread Prasanna Kumar Kalever
uot;:"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-volfile-servers option

[Qemu-devel] [PATCH 1/4] block/gluster: rename [server, volname, image] -> [host, volume, path]

2015-11-12 Thread Prasanna Kumar Kalever
riables, so to maintain better readability and makes it consistent with other existing code as well as the input keys/options, this patch renames the following variables 'server' -> 'host' 'image' -> 'path' 'volname' -> 'volu

[Qemu-devel] [PATCH 2/4] block/gluster: code cleanup

2015-11-12 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever Reviewed-by: Eric Blake --- block/gluster.c | 113 ++-- 1

[Qemu-devel] [PATCH 3/4] block/gluster: using new qapi schema

2015-11-12 Thread Prasanna Kumar Kalever
this patch adds GlusterConf to qapi/block-core.json Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 104 +-- qapi/block-core.json | 60 +++-- 2 files changed, 109 insertions(+), 55 deletions(-) diff --git

[Qemu-devel] [PATCH 0/4] block/gluster: add support for multiple gluster servers

2015-11-12 Thread Prasanna Kumar Kalever
This release is rebased on qemu master branch. In this series of patches 1/4 and 2/4 are unchanged. Prasanna Kumar Kalever (4): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: using new qapi schema block/gluster:

Re: [Qemu-devel] [PATCH v13 3/3] block/gluster: add support for multiple gluster servers

2015-11-12 Thread Prasanna Kumar Kalever
On Tuesday, November 10, 2015 9:37:20 PM, Eric Blake wrote: > > On 11/10/2015 02:09 AM, Prasanna Kumar Kalever wrote: > > This patch adds a way to specify multiple volfile servers to the gluster > > block backend of QEMU with tcp|rdma transport types and

Re: [Qemu-devel] [PATCH v13 3/3] block/gluster: add support for multiple gluster servers

2015-11-12 Thread Prasanna Kumar Kalever
On Tuesday, November 10, 2015 10:54:25 PM, Jeff Cody wrote: > > On Tue, Nov 10, 2015 at 02:39:16PM +0530, Prasanna Kumar Kalever wrote: > > This patch adds a way to specify multiple volfile servers to the gluster > > block backend of QEMU with tcp|rdma transport types and

[Qemu-devel] [PATCH v13 3/3] block/gluster: add support for multiple gluster servers

2015-11-10 Thread Prasanna Kumar Kalever
uot;,"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-volfile-serv

[Qemu-devel] [PATCH v2 2/3] block/gluster: code cleanup

2015-11-10 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 113 ++-- 1 file changed, 60

[Qemu-devel] [PATCH v2 1/3] block/gluster: rename [server, volname, image] -> [host, volume, path]

2015-11-10 Thread Prasanna Kumar Kalever
riables, so to maintain better readability and makes it consistent with other existing code as well as the input keys/options, this patch renames the following variables 'server' -> 'host' 'image' -> 'path' 'volna

[Qemu-devel] [PATCH 0/3] block/gluster: add support for multiple gluster servers

2015-11-10 Thread Prasanna Kumar Kalever
This release is rebased on qemu master branch. In this series of patches 1/3 and 2/3 are unchanged. Prasanna Kumar Kalever (3): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: add support for multiple gluster servers bl

[Qemu-devel] [PATCH 0/3] block/gluster: add support for multiple gluster servers

2015-11-09 Thread Prasanna Kumar Kalever
Prasanna Kumar Kalever (3): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: add support for multiple gluster servers block/gluster.c | 589 --- qapi/block-core.json |

[Qemu-devel] [PATCH v12 3/3] block/gluster: add support for multiple gluster servers

2015-11-09 Thread Prasanna Kumar Kalever
"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-vol

Re: [Qemu-devel] [PATCH 3/3] block/gluster: add support for multiple gluster servers

2015-11-09 Thread Prasanna Kumar Kalever
On Monday, November 9, 2015 12:34:45 PM, Peter Krempa wrote: > On Thu, Nov 05, 2015 at 07:45:50 -0500, Prasanna Kumar Kalever wrote: > > On Thursday, November 5, 2015 6:07:06 PM, Prasanna Kumar Kalever wrote: > > > This patch adds a way to specify multiple volfile serv

Re: [Qemu-devel] [PATCH 3/3] block/gluster: add support for multiple gluster servers

2015-11-05 Thread Prasanna Kumar Kalever
On Thursday, November 5, 2015 6:07:06 PM, Prasanna Kumar Kalever wrote: > This patch adds a way to specify multiple volfile servers to the gluster > block backend of QEMU with tcp|rdma transport types and their port numbers. > > Problem: > > Currently VM Image on gluster volume

[Qemu-devel] [PATCH 3/3] block/gluster: add support for multiple gluster servers

2015-11-05 Thread Prasanna Kumar Kalever
"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-vol

[Qemu-devel] [PATCH RFC 0/3] block/gluster: add support for multiple gluster servers

2015-11-05 Thread Prasanna Kumar Kalever
Prasanna Kumar Kalever (3): block/gluster: rename [server, volname, image] -> [host, volume, path] block/gluster: code cleanup block/gluster: add support for multiple gluster servers block/gluster.c | 582 --- qapi/block-core.json |

[Qemu-devel] [PATCH v10 3/3] block/gluster: add support for multiple gluster servers

2015-10-27 Thread Prasanna Kumar Kalever
"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-volfile-serve

[Qemu-devel] [PATCH v9 3/3] block/gluster: add support for multiple gluster servers

2015-10-21 Thread Prasanna Kumar Kalever
"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-volfile-serve

[Qemu-devel] [PATCH v2 2/3] block/gluster: code cleanup

2015-10-21 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 113 ++-- 1 file changed, 60

[Qemu-devel] [PATCH v2 1/3] block/gluster: rename [server, volname, image] -> [host, volume, path]

2015-10-21 Thread Prasanna Kumar Kalever
-> 'host' 'image' -> 'path' 'volname' -> 'volume' Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 54 +++--- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/block/

Re: [Qemu-devel] [PATCH 1/3] block/gluster: add support for multiple gluster servers

2015-10-20 Thread Prasanna Kumar Kalever
On Tuesday, October 20, 2015 1:38:37 AM, Eric Blake wrote: > On 10/19/2015 06:13 AM, Prasanna Kumar Kalever wrote: > > This patch adds a way to specify multiple volfile servers to the gluster > > block backend of QEMU with tcp|rdma transport types and their port numbers. >

[Qemu-devel] [PATCH 1/3] block/gluster: add support for multiple gluster servers

2015-10-19 Thread Prasanna Kumar Kalever
"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-volfil

[Qemu-devel] [PATCH 2/3] block/gluster: rename [server, volname, image] -> [host, volume, path]

2015-10-19 Thread Prasanna Kumar Kalever
ptions, this patch renames the following variables 'server' -> 'host' 'image' -> 'path' 'volname' -> 'volume' Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 54 +++---

[Qemu-devel] [PATCH 3/3] block/gluster: code cleanup

2015-10-19 Thread Prasanna Kumar Kalever
unified coding styles of multiline function arguments and other error functions moved random declarations of structures and other list variables Signed-off-by: Prasanna Kumar Kalever --- block/gluster.c | 109 ++-- 1 file changed, 59

Re: [Qemu-devel] [PATCH v7 1/1] block/gluster: add support for multiple gluster backup volfile servers

2015-10-16 Thread Prasanna Kumar Kalever
On 10/15/2015 02:59 PM, Peter Krempa wrote: > On Wed, Oct 14, 2015 at 12:36:58 +0530, Prasanna Kumar Kalever wrote: > > This patch adds a way to specify multiple volfile servers to the gluster > > block backend of QEMU with tcp|rdma transport types and their port numbers. &

[Qemu-devel] [PATCH v7 1/1] block/gluster: add support for multiple gluster backup volfile servers

2015-10-14 Thread Prasanna Kumar Kalever
"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-vol

[Qemu-devel] [PATCH v6 1/1] block/gluster: add support for multiple gluster backup volfile servers

2015-10-10 Thread Prasanna Kumar Kalever
"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses, which are in replica set, so in case host1 is down VM can still boot from any of the active hosts. This is equivalent to the backup-vol

[Qemu-devel] [PATCH v5 1/1] block/gluster: add support for multiple gluster backup volfile servers

2015-09-28 Thread Prasanna Kumar Kalever
nism to provide all the server addresses which are in replica set, so in case server1 is down VM can still boot from any of the active servers. This is equivalent to the volfile-servers option supported by mount.glusterfs (FUSE way of mounting gluster volume) This patch depends on a recent fix

[Qemu-devel] [PATCH v4 1/1] block/gluster: add support for multiple gluster backup volfile servers

2015-09-22 Thread Prasanna Kumar Kalever
uot;,"port":"24008","transport":"rdma"}] } }' This patch gives a mechanism to provide all the server addresses which are in replica set, so in case server1 is down VM can still boot from any of the active servers. This is equivalent to the backup-volf

[Qemu-devel] [PATCH v3 1/1] block/gluster: add support for multiple gluster backup volfile servers

2015-09-21 Thread Prasanna Kumar Kalever
multiple server addresses each have their own port number, but all use common transport type pattern: URI syntax with query (?) delimiter syntax: file=gluster[+transport-type]://[server[:port]]/testvol/a.img\ [?backup-volfile-servers=server1[:port]\ &backup-volfile-servers=s

[Qemu-devel] [PATCH v2 1/1] block/gluster: add support for multiple gluster backup volfile servers

2015-09-09 Thread Prasanna Kumar Kalever
es a mechanism to provide all the server addresses which are in replica set, so in case server1 is down VM can still boot from any of the active servers. This is equivalent to the backup-volfile-servers option supported by mount.glusterfs (FUSE way of mounting gluster volume) Signed-off-by: Prasanna K

[Qemu-devel] [PATCH 1/1] block/gluster: add support for multiple gluster backup volfile servers

2015-09-08 Thread Prasanna Kumar Kalever
rver addresses which are in replica set, so in case server1 is down VM can still boot from any of the active servers. This is equivalent to the backup-volfile-servers option supported by mount.glusterfs (FUSE way of mounting gluster volume) Signed-off-by: Prasanna Kumar Kalever --- block/glust