nozero: Add notrim mode
commit7a4f38f98920a1192e5c50ea9bd212e759e3f4e7
authorEric Blake <eblake@redhat.com>
Thu, 9 May 2019 20:19:33 +0000 (9 15:19 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 10 May 2019 00:10:22 +0000 (9 19:10 -0500)
treeef361cd680ba6169ffd820b586427c04e1b877f8
parent29c52eaad57d85ba854fe6f8ea5de8fa74d31bb9
nozero: Add notrim mode

It may be useful to test whether the client's use of
NBD_CMD_FLAG_NO_HOLE makes a difference; do this by adding a mode to
--filter=nozero to force a non-trimming zero write.

Signed-off-by: Eric Blake <eblake@redhat.com>
filters/nozero/nbdkit-nozero-filter.pod
filters/nozero/nozero.c
tests/test-nozero.sh