Skip to contentSkip to conversation

docs: Mark "gluster" support in QEMU as deprecated

PATCH Superseded Thomas Huth 3 participants 4 messages Sep 25, 2024 – Sep 30, 2024 Block layer

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs: Mark "gluster" support in QEMU as deprecated

According to https://marc.info/?l=fedora-devel-list&m=171934833215726
the GlusterFS development effectively ended. Thus mark it as deprecated in QEMU, so we can remove it in a future release if the project does not gain momentum again.

---
v2: Mark it as deprecated in the QAPI and print a warning once, too

 docs/about/deprecated.rst | 9 +++++++++
 qapi/block-core.json      | 7 ++++++-
 block/gluster.c           | 2 ++
 3 files changed, 17 insertions(+), 1 deletion(-)
docs/about/deprecated.rst +9 -0
index ed31d4b0b2..b231aa3948 100644
@@ -395,6 +395,15 @@ Specifying the iSCSI password in plain text on the command line using the
 used instead, to refer to a ``--object secret...`` instance that provides
 a password via a file, or encrypted.
 
+``gluster`` backend (since 9.2)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+According to https://marc.info/?l=fedora-devel-list&m=171934833215726
+the GlusterFS development effectively ended. Unless the development
+gains momentum again, the QEMU project might remove the gluster backend
+in a future release.
+
+
 Character device options
 ''''''''''''''''''''''''
 
qapi/block-core.json +6 -1
index 9f6dd59298..cb7cb1c0ed 100644
@@ -3187,12 +3187,17 @@
 #
 # @snapshot-access: Since 7.0
 #
+# Features:
+#
+# @deprecated: Member @gluster is deprecated since GlusterFS ceased development
+#
 # Since: 2.9
 ##
 { 'enum': 'BlockdevDriver',
   'data': [ 'blkdebug', 'blklogwrites', 'blkreplay', 'blkverify', 'bochs',
             'cloop', 'compress', 'copy-before-write', 'copy-on-read', 'dmg',
-            'file', 'snapshot-access', 'ftp', 'ftps', 'gluster',
+            'file', 'snapshot-access', 'ftp', 'ftps',
+            {'name': 'gluster', 'features': [ 'deprecated' ] },
             {'name': 'host_cdrom', 'if': 'HAVE_HOST_BLOCK_DEVICE' },
             {'name': 'host_device', 'if': 'HAVE_HOST_BLOCK_DEVICE' },
             'http', 'https',
block/gluster.c +2 -0
index f8b415f381..f03d05251e 100644
@@ -809,6 +809,8 @@ static int qemu_gluster_open(BlockDriverState *bs,  QDict *options,
         goto out;
     }
 
+    warn_report_once("'gluster' is deprecated");
+
     filename = qemu_opt_get(opts, GLUSTER_OPT_FILENAME);
 
     s->debug = qemu_opt_get_number(opts, GLUSTER_OPT_DEBUG,
Signature · 1 line
2.46.0
Acked-by on v2 1/1
#1 lore raw
Quoted 40 lines · Thomas Huth

According to https://marc.info/?l=fedora-devel-list&m=171934833215726
the GlusterFS development effectively ended. Thus mark it as deprecated in QEMU, so we can remove it in a future release if the project does not gain momentum again.

---
v2: Mark it as deprecated in the QAPI and print a warning once, too

 docs/about/deprecated.rst | 9 +++++++++
 qapi/block-core.json      | 7 ++++++-
 block/gluster.c           | 2 ++
 3 files changed, 17 insertions(+), 1 deletion(-)
docs/about/deprecated.rst +9 -0
index ed31d4b0b2..b231aa3948 100644
@@ -395,6 +395,15 @@ Specifying the iSCSI password in plain text on the command line using the
 used instead, to refer to a ``--object secret...`` instance that provides
 a password via a file, or encrypted.
 
+``gluster`` backend (since 9.2)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+According to https://marc.info/?l=fedora-devel-list&m=171934833215726
+the GlusterFS development effectively ended. Unless the development
+gains momentum again, the QEMU project might remove the gluster backend
+in a future release.
+
+
 Character device options
 ''''''''''''''''''''''''
 
qapi/block-core.json +0 -0
index 9f6dd59298..cb7cb1c0ed 100644

qapi/block-core.json line 3192

Quoted 6 lines
qapi/block-core.json +3 -0
@@ -3187,12 +3187,17 @@
 #
 # @snapshot-access: Since 7.0
 #
+# Features:
+#
+# @deprecated: Member @gluster is deprecated since GlusterFS ceased development

End the sentence with full stop, and wrap the line. Suggest:

# @deprecated: Member @gluster is deprecated because GlusterFS
# development ceased.

qapi/block-core.json line 3203

Quoted 12 lines
qapi/block-core.json +3 -1
+#
 # Since: 2.9
 ##
 { 'enum': 'BlockdevDriver',
   'data': [ 'blkdebug', 'blklogwrites', 'blkreplay', 'blkverify', 'bochs',
             'cloop', 'compress', 'copy-before-write', 'copy-on-read', 'dmg',
-            'file', 'snapshot-access', 'ftp', 'ftps', 'gluster',
+            'file', 'snapshot-access', 'ftp', 'ftps',
+            {'name': 'gluster', 'features': [ 'deprecated' ] },
             {'name': 'host_cdrom', 'if': 'HAVE_HOST_BLOCK_DEVICE' },
             {'name': 'host_device', 'if': 'HAVE_HOST_BLOCK_DEVICE' },
             'http', 'https',

I wonder why it's not 'if': 'CONFIG_GLUSTERFS'. Probably not worth exploring now.

With the doc comment tidied up:

[...]

#2 lore raw
In reply to Thomas Huth
Quoted 20 lines · Thomas Huth

According to https://marc.info/?l=fedora-devel-list&m=171934833215726
the GlusterFS development effectively ended. Thus mark it as deprecated in QEMU, so we can remove it in a future release if the project does not gain momentum again.

---
v2: Mark it as deprecated in the QAPI and print a warning once, too

 docs/about/deprecated.rst | 9 +++++++++
 qapi/block-core.json      | 7 ++++++-
 block/gluster.c           | 2 ++
 3 files changed, 17 insertions(+), 1 deletion(-)
docs/about/deprecated.rst +0 -0
index ed31d4b0b2..b231aa3948 100644

docs/about/deprecated.rst Specifying the iSCSI password in plain text on the command line using the · line 404

Quoted 10 lines
docs/about/deprecated.rst +7 -0
@@ -395,6 +395,15 @@ Specifying the iSCSI password in plain text on the command line using the
 used instead, to refer to a ``--object secret...`` instance that provides
 a password via a file, or encrypted.
 
+``gluster`` backend (since 9.2)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+According to https://marc.info/?l=fedora-devel-list&m=171934833215726
+the GlusterFS development effectively ended. Unless the development
+gains momentum again, the QEMU project might remove the gluster backend
+in a future release.

I'd suggest the second half of the sentance can be simplified:

", the QEMU project will remove the gluster backend/"

since marking something as deprecated is a stronger than "might". We /will/ remove it, unless new informaton comes to light that makes us re-evaluate the plans.

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#3 lore raw
Quoted 34 lines · Daniel P. Berrangé
Quoted 20 lines · Thomas Huth

According to https://marc.info/?l=fedora-devel-list&m=171934833215726
the GlusterFS development effectively ended. Thus mark it as deprecated in QEMU, so we can remove it in a future release if the project does not gain momentum again.

---
v2: Mark it as deprecated in the QAPI and print a warning once, too

 docs/about/deprecated.rst | 9 +++++++++
 qapi/block-core.json      | 7 ++++++-
 block/gluster.c           | 2 ++
 3 files changed, 17 insertions(+), 1 deletion(-)
docs/about/deprecated.rst +0 -0
index ed31d4b0b2..b231aa3948 100644

docs/about/deprecated.rst Specifying the iSCSI password in plain text on the command line using the · line 404

Quoted 10 lines
docs/about/deprecated.rst +7 -0
@@ -395,6 +395,15 @@ Specifying the iSCSI password in plain text on the command line using the
 used instead, to refer to a ``--object secret...`` instance that provides
 a password via a file, or encrypted.
 
+``gluster`` backend (since 9.2)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+According to https://marc.info/?l=fedora-devel-list&m=171934833215726
+the GlusterFS development effectively ended. Unless the development
+gains momentum again, the QEMU project might remove the gluster backend
+in a future release.

I'd suggest the second half of the sentance can be simplified:

Quoted 5 lines

", the QEMU project will remove the gluster backend/"

since marking something as deprecated is a stronger than "might". We /will/ remove it, unless new informaton comes to light that makes us re-evaluate the plans.

Good point.