Skip to content
Snippets Groups Projects
  • Eric Blake's avatar
    56cf9d04
    nbd/client: Request extended headers during negotiation · 56cf9d04
    Eric Blake authored
    
    All the pieces are in place for a client to finally request extended
    headers.  Note that we must not request extended headers when qemu-nbd
    is used to connect to the kernel module (as nbd.ko does not expect
    them, but expects us to do the negotiation in userspace before handing
    the socket over to the kernel), but there is no harm in all other
    clients requesting them.
    
    Extended headers are not essential to the information collected during
    'qemu-nbd --list', but probing for it gives us one more piece of
    information in that output.  Update the iotests affected by the new
    line of output.
    
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
    Message-ID: <20230925192229.3186470-23-eblake@redhat.com>
    56cf9d04
    History
    nbd/client: Request extended headers during negotiation
    Eric Blake authored
    
    All the pieces are in place for a client to finally request extended
    headers.  Note that we must not request extended headers when qemu-nbd
    is used to connect to the kernel module (as nbd.ko does not expect
    them, but expects us to do the negotiation in userspace before handing
    the socket over to the kernel), but there is no harm in all other
    clients requesting them.
    
    Extended headers are not essential to the information collected during
    'qemu-nbd --list', but probing for it gives us one more piece of
    information in that output.  Update the iotests affected by the new
    line of output.
    
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
    Message-ID: <20230925192229.3186470-23-eblake@redhat.com>