On Fri, Jun 03, 2022 at 05:26:32PM -0500, Eric Blake wrote:
> Prior to this commit, we were unwrapping buf._o in nbd.py, which
> causes cryptic errors when the user passes in the wrong type:
>
> $ nbdkit -U - memory 10 --run \
> 'nbdsh -u "$uri" -c "h.aio_pread(bytearray(10), 0)"'
> Traceback
Prior to this commit, we were unwrapping buf._o in nbd.py, which
causes cryptic errors when the user passes in the wrong type:
$ nbdkit -U - memory 10 --run \
'nbdsh -u "$uri" -c "h.aio_pread(bytearray(10), 0)"'
Traceback (most recent call last):
...
File