search for: fua_prepare

Displaying 4 results from an estimated 4 matches for "fua_prepare".

2020 May 22
0
[PATCH nbdkit 4/4] fua: Add unsafe fuamode=discard.
...fuamode = FORCE; else if (strcmp (value, "pass") == 0) fuamode = PASS; + else if (strcmp (value, "discard") == 0) + fuamode = DISCARD; else { nbdkit_error ("unknown fuamode '%s'", value); return -1; @@ -91,6 +94,7 @@ fua_prepare (struct nbdkit_next_ops *next_ops, void *nxdata, void *handle, switch (fuamode) { case NONE: case PASS: + case DISCARD: break; case EMULATE: r = next_ops->can_flush (nxdata); @@ -120,9 +124,17 @@ fua_prepare (struct nbdkit_next_ops *next_ops, void *nxdata, void *handle, s...
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.
2019 Aug 30
1
[nbdkit PATCH v2] filters: Stronger version match requirements
...xt_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 struct nbdkit_filter filter = { .name = "log", .lon...
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]