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
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 +++
: 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
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
-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
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
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
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
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
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
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
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 +-
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
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
"logfile":"/var/log/qemu/qemu-gfapi.log",
"server":[
{
"type":"tcp",
"host":"1.2.3.4",
"port":24007
},
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
"logfile":"/var/log/qemu/qemu-gfapi.log",
"server":[
{
"type":"tcp",
"host":"1.2.3.4",
"port":24007
},
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
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
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 --
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
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
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 +++
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
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
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)
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
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 +++
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
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
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 +++
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
uot;:
[{"host":"1.2.3.4","port":"24007","transport":"tcp"},
{"host":"4.5.6.7","port":"24008","transport":"rdma"},
{"host":"/var/run/glusterd
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
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
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
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
uot;:
[{"host":"1.2.3.4","port":"24007","transport":"tcp"},
{"host":"4.5.6.7","port":"24008","transport":"rdma"},
{"host":"/var/run/glusterd
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
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
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
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
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
uot;:
[{"host":"1.2.3.4","port":"24007","transport":"tcp"},
{"host":"4.5.6.7","port":"24008","transport":"rdma"},
{"host":"/var/run/glusterd
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
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
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
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,
> > > +
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
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
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
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
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:
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
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
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
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
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
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
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 |
"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
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
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
"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
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 |
"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
"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
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
-> '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/
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.
>
"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
ptions, this patch renames the following
variables
'server' -> 'host'
'image' -> 'path'
'volname' -> 'volume'
Signed-off-by: Prasanna Kumar Kalever
---
block/gluster.c | 54 +++---
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
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.
&
"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
"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
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
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
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
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
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
81 matches
Mail list logo