Displaying 4 results from an estimated 4 matches for "fua_config".
Did you mean:
ft_config
2020 May 22
6
[PATCH nbdkit 0/4] Add fuamode=pass and fuamode=discard
Two hopefully useful additions to the fua filter. The second one is
kind of like cache=unsafe in qemu, in that it exchanges correctness
for speed. Useful for data which is easily recreated in the event of
a crash or for people who like living on the edge and have good
backups.
Rich.
2020 May 22
0
[PATCH nbdkit 4/4] fua: Add unsafe fuamode=discard.
...de=force disk.img
+
=back
=head1 FILES
diff --git a/filters/fua/fua.c b/filters/fua/fua.c
index 6bc62a02..229d83db 100644
--- a/filters/fua/fua.c
+++ b/filters/fua/fua.c
@@ -47,6 +47,7 @@ static enum FuaMode {
NATIVE,
FORCE,
PASS,
+ DISCARD,
} fuamode;
static int
@@ -64,6 +65,8 @@ fua_config (nbdkit_next_config *next, void *nxdata,
fuamode = FORCE;
else if (strcmp (value, "pass") == 0)
fuamode = PASS;
+ else if (strcmp (value, "discard") == 0)
+ fuamode = DISCARD;
else {
nbdkit_error ("unknown fuamode '%s'", v...
2019 Aug 30
1
[nbdkit PATCH v2] filters: Stronger version match requirements
...b/filters/fua/fua.c
@@ -233,7 +233,6 @@ fua_zero (struct nbdkit_next_ops *next_ops, void *nxdata,
static struct nbdkit_filter filter = {
.name = "fua",
.longname = "nbdkit fua filter",
- .version = PACKAGE_VERSION,
.config = fua_config,
.config_help = fua_config_help,
.prepare = fua_prepare,
diff --git a/filters/log/log.c b/filters/log/log.c
index 7cf741e1..6d37d583 100644
--- a/filters/log/log.c
+++ b/filters/log/log.c
@@ -435,7 +435,6 @@ log_cache (struct nbdkit_next_ops *next_ops, void *nxdata,
static st...
2018 Mar 08
19
[nbdkit PATCH v3 00/15] Add FUA support to nbdkit
After more than a month since v2 [1], I've finally got my FUA
support series polished. This is all of my outstanding patches,
even though some of them were originally posted in separate
threads from the original FUA post [2], [3]
[1] https://www.redhat.com/archives/libguestfs/2018-January/msg00113.html
[2] https://www.redhat.com/archives/libguestfs/2018-January/msg00219.html
[3]