search for: sockurl

Displaying 3 results from an estimated 3 matches for "sockurl".

Did you mean: socker
2019 Jun 11
0
Re: [nbdkit PATCH v2] Introduce cacheextents filter
...tents.sh > new file mode 100755 > index 000000000000..5b0667ad2b95 > --- /dev/null > +++ b/tests/test-cacheextents.sh > @@ -0,0 +1,110 @@ > +requires grep --version > +requires qemu-img --version > +requires qemu-io --version > + > +sock="$(mktemp -u)" > +sockurl="nbd+unix:///?socket=$sock" > +pidfile="test-cacheextents.pid" > +accessfile="test-cacheextents-access.log" > +accessfile_full="$(pwd)/test-cacheextents-access.log" $PWD saves a process compared to $(pwd) > +files="$pidfile $sock" >...
2019 Jun 11
5
[nbdkit PATCH v2] Introduce cacheextents filter
...LUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + +source ./functions.sh +set -x +set -e + +requires grep --version +requires qemu-img --version +requires qemu-io --version + +sock="$(mktemp -u)" +sockurl="nbd+unix:///?socket=$sock" +pidfile="test-cacheextents.pid" +accessfile="test-cacheextents-access.log" +accessfile_full="$(pwd)/test-cacheextents-access.log" +files="$pidfile $sock" +rm -f $files $accessfile +cleanup_fn rm -f $files + +# Intentiona...
2020 Aug 17
3
[nbdkit PATCH] sh: Prefer dd bs=1 over iflag=count_bytes
...source and binary forms, with or without # modification, are permitted provided that the following conditions are @@ -37,7 +37,6 @@ set -e requires grep --version requires qemu-img --version requires qemu-io --version -requires dd iflag=count_bytes </dev/null sock="$(mktemp -u)" sockurl="nbd+unix:///?socket=$sock" @@ -71,7 +70,7 @@ case "$1" in echo ${i}M $block_size $((i%4)) done ;; - pread) dd if=/dev/zero count=$3 iflag=count_bytes ;; + pread) dd bs=1 if=/dev/zero count=$3 ;; can_write) ;; pwrite) dd of=/dev/null ;; can_trim) ;; d...