Skip to contentSkip to conversation

gluster: licence change and cleanups

RFC PATCH Applied Bharata B Rao 3 participants 8 messages Jan 29, 2014 – Mar 3, 2014 Block layer

lore
Share & tools
lore
#0 lore raw

cover gluster: licence change and cleanups

Licence change of gluster driver from GPLv2 to GPLv2+ and some cleanups.

Bharata B Rao (2):
gluster: Change licence to GPLv2+
gluster: Remove unused defines and header include

 block/gluster.c | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)
Signature · 1 line
1.7.11.7
#1 lore raw

RFC PATCH 1/2 gluster: Change licence to GPLv2+

Pipe handling mechanism in gluster driver was based on similar implementation in RBD driver and hence had GPLv2 and associated copyright information. After changing gluster driver to coroutine based implementation, the pipe handling code no longer exists and hence change gluster driver's licence to GPLv2+ and remove RBD copyrights.

---
 block/gluster.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
block/gluster.c +2 -10
index a009b15..ba56005 100644
@@ -3,17 +3,9 @@
  *
  * Copyright (C) 2012 Bharata B Rao <[email protected]>
  *
- * Pipe handling mechanism in AIO implementation is derived from
- * block/rbd.c. Hence,
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
  *
- * Copyright (C) 2010-2011 Christian Brunner <[email protected]>,
- *                         Josh Durgin <[email protected]>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
- * Contributions after 2012-01-13 are licensed under the terms of the
- * GNU GPL, version 2 or (at your option) any later version.
  */
 #include <glusterfs/api/glfs.h>
 #include "block/block_int.h"
Signature · 1 line
1.7.11.7
#2 lore raw

Re: [Qemu-devel] [RFC PATCH v0 1/2] gluster: Change licence to GPLv2+

Quoted 25 lines · Bharata B Rao

Pipe handling mechanism in gluster driver was based on similar implementation in RBD driver and hence had GPLv2 and associated copyright information. After changing gluster driver to coroutine based implementation, the pipe handling code no longer exists and hence change gluster driver's licence to GPLv2+ and remove RBD copyrights.

---
 block/gluster.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
block/gluster.c +2 -3
index a009b15..ba56005 100644
@@ -3,17 +3,9 @@
  *
  * Copyright (C) 2012 Bharata B Rao <[email protected]>
  *
- * Pipe handling mechanism in AIO implementation is derived from
- * block/rbd.c. Hence,
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
  *
- * Copyright (C) 2010-2011 Christian Brunner <[email protected]>,

block/gluster.c line 11

Quoted 10 lines
block/gluster.c +0 -7
- *                         Josh Durgin <[email protected]>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
- * Contributions after 2012-01-13 are licensed under the terms of the
- * GNU GPL, version 2 or (at your option) any later version.
  */
 #include <glusterfs/api/glfs.h>
 #include "block/block_int.h"

I looked at git log -p block/gluster.c and this change seems reasonable, but due to the nature of license changes:

If anyone disagrees and has copyright on part of this file, please speak now.

Stefan

#3 lore raw

Re: [Qemu-devel] [RFC PATCH v0 1/2] gluster: Change licence to GPLv2+

Quoted 40 lines · Stefan Hajnoczi
Quoted 25 lines · Bharata B Rao

Pipe handling mechanism in gluster driver was based on similar implementation in RBD driver and hence had GPLv2 and associated copyright information. After changing gluster driver to coroutine based implementation, the pipe handling code no longer exists and hence change gluster driver's licence to GPLv2+ and remove RBD copyrights.

---
 block/gluster.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
block/gluster.c +2 -3
index a009b15..ba56005 100644
@@ -3,17 +3,9 @@
  *
  * Copyright (C) 2012 Bharata B Rao <[email protected]>
  *
- * Pipe handling mechanism in AIO implementation is derived from
- * block/rbd.c. Hence,
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
  *
- * Copyright (C) 2010-2011 Christian Brunner <[email protected]>,

block/gluster.c line 11

Quoted 10 lines
block/gluster.c +0 -7
- *                         Josh Durgin <[email protected]>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
- * Contributions after 2012-01-13 are licensed under the terms of the
- * GNU GPL, version 2 or (at your option) any later version.
  */
 #include <glusterfs/api/glfs.h>
 #include "block/block_int.h"

I looked at git log -p block/gluster.c and this change seems reasonable, but due to the nature of license changes:

Quoted 2 lines

If anyone disagrees and has copyright on part of this file, please speak now.

Since nobody has said anything till now, Stefan, would you be taking this in now ?

Regards,
Bharata.

#4 lore raw

RFC PATCH 2/2 gluster: Remove unused defines and header include

In reply to Bharata B Rao

Remove the definitions of GLUSTER_FD_WRITE and GLUSTER_FD_READ which are no longer used. Also sockets.h isn't needed any more.

---
 block/gluster.c | 4 ----
 1 file changed, 4 deletions(-)
block/gluster.c +0 -4
index ba56005..1838373 100644
@@ -9,7 +9,6 @@
  */
 #include <glusterfs/api/glfs.h>
 #include "block/block_int.h"
-#include "qemu/sockets.h"
 #include "qemu/uri.h"
 
 typedef struct GlusterAIOCB {
@@ -24,9 +23,6 @@ typedef struct BDRVGlusterState {
     struct glfs_fd *fd;
 } BDRVGlusterState;
 
-#define GLUSTER_FD_READ  0
-#define GLUSTER_FD_WRITE 1
-
 typedef struct GlusterConf {
     char *server;
     int port;
Signature · 1 line
1.7.11.7
Reviewed-by on v0 2/2
#5 lore raw

Re: [Qemu-devel] [RFC PATCH v0 2/2] gluster: Remove unused defines and header include

Quoted 7 lines · Bharata B Rao

Remove the definitions of GLUSTER_FD_WRITE and GLUSTER_FD_READ which are no longer used. Also sockets.h isn't needed any more.

---
 block/gluster.c | 4 ----
 1 file changed, 4 deletions(-)
Acked-by on the v0 series
#6 lore raw
In reply to Bharata B Rao
Quoted 8 lines · Bharata B Rao

Licence change of gluster driver from GPLv2 to GPLv2+ and some cleanups.

Bharata B Rao (2):
gluster: Change licence to GPLv2+
gluster: Remove unused defines and header include

 block/gluster.c | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

Hi Kevin,
I missed this series last week since it's tagged "RFC" but it's good to go.

Applied
#7 lore raw

Am 03.03.2014 um 10:16 hat Stefan Hajnoczi geschrieben:

Quoted 7 lines · Bharata B Rao
Quoted 6 lines

Licence change of gluster driver from GPLv2 to GPLv2+ and some cleanups.

Bharata B Rao (2):
gluster: Change licence to GPLv2+
gluster: Remove unused defines and header include

Quoted 8 lines
Quoted 2 lines
 block/gluster.c | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

Hi Kevin,
I missed this series last week since it's tagged "RFC" but it's good to go.

Thanks, applied.

Kevin