Displaying 2 results from an estimated 2 matches for "can_pwrit".
Did you mean:
can_pwrite
2018 Jan 19
1
Re: [nbdkit PATCH] Update filters to support FUA flags.
...wondering if we're missing documentation here (and/or in the plugins
> document) that if .can_write returns true, the plugin must supply a
> .pwrite; likewise for .can_trim implying a .trim, and .can_flush
> implying a .flush.
It's a strange one.
For example if a plugin returns .can_pwrite == 1 but doesn't implement
.pwrite then the NBD connection will appear to be writable, but any
attempt to write will return EROFS.
On the other hand (a) plugins don't usually implement can_write
because the "autosensing" usually works, and (b) it doesn't crash or
do anything...
2018 Jan 19
2
[nbdkit PATCH] Update filters to support FUA flags.
From: "Richard W.M. Jones" <rjones@redhat.com>
This patch may be worth squashing?
---
docs/nbdkit-filter.pod | 65 +++++++++++++++++++++++++++++++++++++++++++------
include/nbdkit-filter.h | 29 ++++++++++++----------
src/filters.c | 55 ++++++++++++++++++++---------------------
3 files changed, 101 insertions(+), 48 deletions(-)
diff --git a/docs/nbdkit-filter.pod