nbd: Utilize auto-retire
commit9e8193f00cf2fb5e212a8732a0b67fe503c8eb81
authorEric Blake <eblake@redhat.com>
Fri, 26 Jul 2019 11:14:41 +0000 (26 06:14 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 26 Jul 2019 11:14:41 +0000 (26 06:14 -0500)
treedd8e1c65c3804b9f011e3e1676a97f5dccbbbea6
parent8c0804db7444226af008f1dfd2a5fcf16dab142c
nbd: Utilize auto-retire

There is no need to call nbd_aio_command_completed if we change our
completion callback to return 1.  However, I did not observe any
measurable difference in doing so (our bottlenecks lie elsewhere).

Signed-off-by: Eric Blake <eblake@redhat.com>
plugins/nbd/nbd.c