search for: seen_

Displaying 2 results from an estimated 2 matches for "seen_".

Did you mean: seen
2020 Mar 19
5
[nbdkit PATCH 0/2] More caching of initial setup
When I added .can_FOO caching in 1.16, I missed the case that the sh plugin itself was calling .can_flush twice in some situations (in order to default .can_fua). Then right after, I regressed it to call .can_zero twice (in order to default .can_fast_zero). I also missed that .thread_model could use better caching, because at the time, I did not add testsuite coverage. Fix that now. Eric Blake
2020 Mar 19
0
[nbdkit PATCH 1/2] sh, eval: Cache .can_zero and .can_flush
...-k $unixsocket' | - grep -E "flags: 0x" | grep -Eoi '0x[a-f0-9]+' > eflags.out + # Prepend a check for internal caching to the script on stdin. + { printf %s ' + if test $1 = thread_model; then + : + elif test -f $tmpdir/seen_$1; then + echo "repeat call to $1" >>'"$PWD/eflags.err"' + else + touch $tmpdir/seen_$1 + fi + '; cat; } | nbdkit -v -U - "$@" sh - $late_args \ + --run 'qemu-nbd --list -k $unixsocket...