Skip to content
  • Sam Li's avatar
    4f736650
    virtio-blk: add zoned storage emulation for zoned devices · 4f736650
    Sam Li authored
    
    
    This patch extends virtio-blk emulation to handle zoned device commands
    by calling the new block layer APIs to perform zoned device I/O on
    behalf of the guest. It supports Report Zone, four zone oparations (open,
    close, finish, reset), and Append Zone.
    
    The VIRTIO_BLK_F_ZONED feature bit will only be set if the host does
    support zoned block devices. Regular block devices(conventional zones)
    will not be set.
    
    The guest os can use blktests, fio to test those commands on zoned devices.
    Furthermore, using zonefs to test zone append write is also supported.
    
    Signed-off-by: default avatarSam Li <faithilikerun@gmail.com>
    Message-id: 20230508051916.178322-2-faithilikerun@gmail.com
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    4f736650
    virtio-blk: add zoned storage emulation for zoned devices
    Sam Li authored
    
    
    This patch extends virtio-blk emulation to handle zoned device commands
    by calling the new block layer APIs to perform zoned device I/O on
    behalf of the guest. It supports Report Zone, four zone oparations (open,
    close, finish, reset), and Append Zone.
    
    The VIRTIO_BLK_F_ZONED feature bit will only be set if the host does
    support zoned block devices. Regular block devices(conventional zones)
    will not be set.
    
    The guest os can use blktests, fio to test those commands on zoned devices.
    Furthermore, using zonefs to test zone append write is also supported.
    
    Signed-off-by: default avatarSam Li <faithilikerun@gmail.com>
    Message-id: 20230508051916.178322-2-faithilikerun@gmail.com
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Loading