Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7099

libnbd should support NBD 64-bit extensions

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.4
    • rhel-9.4
    • libnbd
    • libnbd-1.18.1-1.el9
    • None
    • Moderate
    • 5c1dae9236d8e3e64a2b669a8503469b1be673c6
    • rhel-sst-virtualization
    • ssg_virtualization
    • 23
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      Upstream NBD has finally accepted a spec change for 64-bit extensions (still listed as experimental until there are enough implementations; but BZ 2182208 tracks implementing the same extensions in qemu). Libnbd has a proof-of-concept implementation that now needs to be polished and incorporated.
      https://listman.redhat.com/archives/libguestfs/2022-November/030316.html

      Version-Release number of selected component (if applicable):
      v1.16

      How reproducible:
      100%

      Steps to Reproduce:
      1. Create a 5G image, serve it over qemu-nbd (or qemu-storage-daemon) patched for 64-bit extensions, then use libnbd to connect to it and issue a 64-bit write zero or block status command.
      3.

      Actual results:
      Without extension support, libnbd will flag the request as being oversized

      Expected results:
      With the extension active in both client and server, requests larger than 32-bit effect length should be possible

      Additional info:

              eblake_redhat Eric Blake
              eblake_redhat Eric Blake
              Eric Blake Eric Blake
              vera wu vera wu
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: