[Libguestfs] [nbdkit PATCH v2 09/24] plugins: Document lack of .cache in language bindings

Eric Blake eblake at redhat.com
Thu May 16 03:57:59 UTC 2019


lua, perl, python, and ruby have more work before they can support
.cache callbacks (for that matter, we still haven't implemented
generic v2 interface support there, starting with can_fua).

Signed-off-by: Eric Blake <eblake at redhat.com>

---

The rust bindings are at least at version 2, and don't mention missing
bindings in the .pod page. However, they do not yet have extents
support, which should be added before doing the obvious copy-and-paste
to enable cache support.
---
 plugins/lua/nbdkit-lua-plugin.pod       | 3 ++-
 plugins/perl/nbdkit-perl-plugin.pod     | 2 +-
 plugins/python/nbdkit-python-plugin.pod | 2 +-
 plugins/ruby/nbdkit-ruby-plugin.pod     | 2 +-
 plugins/tcl/nbdkit-tcl-plugin.pod       | 3 ++-
 5 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/plugins/lua/nbdkit-lua-plugin.pod b/plugins/lua/nbdkit-lua-plugin.pod
index 99883e2..cde13f9 100644
--- a/plugins/lua/nbdkit-lua-plugin.pod
+++ b/plugins/lua/nbdkit-lua-plugin.pod
@@ -259,7 +259,8 @@ partial, your function should call C<error>.
 =over 4

 =item Missing: C<load>, C<unload>, C<name>, C<version>, C<longname>,
-C<description>, C<config_help>, C<can_zero>, C<can_fua>
+C<description>, C<config_help>, C<can_zero>, C<can_fua>, C<can_cache>,
+C<cache>

 These are not yet supported.

diff --git a/plugins/perl/nbdkit-perl-plugin.pod b/plugins/perl/nbdkit-perl-plugin.pod
index 9165795..1da7ddc 100644
--- a/plugins/perl/nbdkit-perl-plugin.pod
+++ b/plugins/perl/nbdkit-perl-plugin.pod
@@ -338,7 +338,7 @@ These are not needed because you can just use regular Perl C<BEGIN>
 and C<END> constructs.

 =item Missing: C<name>, C<version>, C<longname>, C<description>,
-C<config_help>
+C<config_help>, C<can_fua>, C<can_cache>, C<cache>

 These are not yet supported.

diff --git a/plugins/python/nbdkit-python-plugin.pod b/plugins/python/nbdkit-python-plugin.pod
index b422796..3d234d7 100644
--- a/plugins/python/nbdkit-python-plugin.pod
+++ b/plugins/python/nbdkit-python-plugin.pod
@@ -265,7 +265,7 @@ These are not needed because you can just use ordinary Python
 constructs.

 =item Missing: C<name>, C<version>, C<longname>, C<description>,
-C<config_help>
+C<config_help>, C<can_fua>, C<can_cache>, C<cache>

 These are not yet supported.

diff --git a/plugins/ruby/nbdkit-ruby-plugin.pod b/plugins/ruby/nbdkit-ruby-plugin.pod
index 18934cc..4161794 100644
--- a/plugins/ruby/nbdkit-ruby-plugin.pod
+++ b/plugins/ruby/nbdkit-ruby-plugin.pod
@@ -272,7 +272,7 @@ These are not needed because you can just use ordinary Ruby
 constructs.

 =item Missing: C<name>, C<version>, C<longname>, C<description>,
-C<config_help>
+C<config_help>, C<can_fua>, C<can_cache>, C<cache>

 These are not yet supported.

diff --git a/plugins/tcl/nbdkit-tcl-plugin.pod b/plugins/tcl/nbdkit-tcl-plugin.pod
index 3c6b8f7..4151815 100644
--- a/plugins/tcl/nbdkit-tcl-plugin.pod
+++ b/plugins/tcl/nbdkit-tcl-plugin.pod
@@ -265,7 +265,8 @@ partial, your function should call C<error>.
 =over 4

 =item Missing: C<load>, C<unload>, C<name>, C<version>, C<longname>,
-C<description>, C<config_help>, C<can_zero>, C<can_fua>
+C<description>, C<config_help>, C<can_zero>, C<can_fua>, C<can_cache>,
+C<cache>

 These are not yet supported.

-- 
2.20.1




More information about the Libguestfs mailing list