Displaying 4 results from an estimated 4 matches for "930829cc".
2019 Aug 16
7
[nbdkit PATCH 0/2] rust: Implement some missing v2 callbacks
Similar to what I just did for OCaml (this IS an API break, requiring
recompilation of any existing Rust plugin), and done because I want to
add fast_zero support to both languages as part of my upcoming fast
zero series.
Figuring out how to get extents working was hard enough that I punted
that, still.
Eric Blake (2):
rust: Implement can_cache
rust: Add support for dynamic .thread_model
2019 Aug 16
0
[nbdkit PATCH 1/2] rust: Implement can_cache
...ed-off-by: Eric Blake <eblake@redhat.com>
---
plugins/rust/nbdkit-rust-plugin.pod | 10 ++++++++++
plugins/rust/src/lib.rs | 13 +++++++++++++
2 files changed, 23 insertions(+)
diff --git a/plugins/rust/nbdkit-rust-plugin.pod b/plugins/rust/nbdkit-rust-plugin.pod
index db2a55ee..930829cc 100644
--- a/plugins/rust/nbdkit-rust-plugin.pod
+++ b/plugins/rust/nbdkit-rust-plugin.pod
@@ -90,6 +90,16 @@ thread models, see L<nbdkit-plugin(3)/THREADS>.
=back
+=head2 Missing callbacks
+
+=over 4
+
+=item Missing: C<can_extents> and C<extents>
+
+These are not yet supporte...
2019 Aug 16
0
[nbdkit PATCH 2/2] rust: Add support for dynamic .thread_model
...t/nbdkit-rust-plugin.pod | 19 ++++++++++++++-----
plugins/rust/examples/ramdisk.rs | 8 ++++++--
plugins/rust/src/lib.rs | 10 +++++++---
3 files changed, 27 insertions(+), 10 deletions(-)
diff --git a/plugins/rust/nbdkit-rust-plugin.pod b/plugins/rust/nbdkit-rust-plugin.pod
index 930829cc..61c2e0ba 100644
--- a/plugins/rust/nbdkit-rust-plugin.pod
+++ b/plugins/rust/nbdkit-rust-plugin.pod
@@ -37,14 +37,19 @@ compatible with the C struct used by C plugins.
use nbdkit::ThreadModel::*;
#[no_mangle]
+ extern fn myplugin_thread_model () -> ThreadModel {
+ Serialize_AllRequest...
2019 Aug 16
1
Re: [nbdkit PATCH 2/2] rust: Add support for dynamic .thread_model
...++++++++++++++-----
> plugins/rust/examples/ramdisk.rs | 8 ++++++--
> plugins/rust/src/lib.rs | 10 +++++++---
> 3 files changed, 27 insertions(+), 10 deletions(-)
>
> diff --git a/plugins/rust/nbdkit-rust-plugin.pod b/plugins/rust/nbdkit-rust-plugin.pod
> index 930829cc..61c2e0ba 100644
> --- a/plugins/rust/nbdkit-rust-plugin.pod
> +++ b/plugins/rust/nbdkit-rust-plugin.pod
> @@ -37,14 +37,19 @@ compatible with the C struct used by C plugins.
> use nbdkit::ThreadModel::*;
>
> #[no_mangle]
> + extern fn myplugin_thread_model () -> Thre...