Displaying 3 results from an estimated 3 matches for "noextents_init_sparse".
2020 Feb 10
2
[nbdkit PATCH 03/10] filters: Wire up filter support for NBD_INFO_INIT_STATE
...t (C) 2019-2020 Red Hat Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -41,10 +41,26 @@ noextents_can_extents (struct nbdkit_next_ops *next_ops, void *nxdata,
return 0;
}
+static int
+noextents_init_sparse (struct nbdkit_next_ops *next_ops, void *nxdata,
+ void *handle)
+{
+ return 0;
+}
+
+static int
+noextents_init_zero (struct nbdkit_next_ops *next_ops, void *nxdata,
+ void *handle)
+{
+ return 0;
+}
+
static struct nbdkit_filter filter = {
.name...
2020 Feb 11
0
Re: [nbdkit PATCH 03/10] filters: Wire up filter support for NBD_INFO_INIT_STATE
...* Redistribution and use in source and binary forms, with or without
> * modification, are permitted provided that the following conditions are
> @@ -41,10 +41,26 @@ noextents_can_extents (struct nbdkit_next_ops *next_ops, void *nxdata,
> return 0;
> }
>
> +static int
> +noextents_init_sparse (struct nbdkit_next_ops *next_ops, void *nxdata,
> + void *handle)
> +{
> + return 0;
> +}
> +
> +static int
> +noextents_init_zero (struct nbdkit_next_ops *next_ops, void *nxdata,
> + void *handle)
> +{
> + return 0;
> +}...
2020 Feb 10
17
Cross-project NBD extension proposal: NBD_INFO_INIT_STATE
I will be following up to this email with four separate threads each
addressed to the appropriate single list, with proposed changes to:
- the NBD protocol
- qemu: both server and client
- libnbd: client
- nbdkit: server
The feature in question adds a new optional NBD_INFO_ packet to the
NBD_OPT_GO portion of handshake, adding up to 16 bits of information
that the server can advertise to the