virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [PATCH 0/5 V5] vhost-scsi: IO error fixups
           [not found] <1604986403-4931-1-git-send-email-michael.christie@oracle.com>
           [not found] ` <1604986403-4931-2-git-send-email-michael.christie@oracle.com>
    @ 2020-11-12 17:00 ` Stefan Hajnoczi
      1 sibling, 0 replies; 2+ messages in thread
    From: Stefan Hajnoczi @ 2020-11-12 17:00 UTC (permalink / raw)
      To: Mike Christie; +Cc: linux-scsi, mst, virtualization, target-devel, pbonzini
    
    
    [-- Attachment #1.1: Type: text/plain, Size: 1502 bytes --]
    
    On Mon, Nov 09, 2020 at 11:33:18PM -0600, Mike Christie wrote:
    > The following patches were made over Michael's vhost branch:
    > 
    > https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/log/?h=vhost
    > 
    > They fixe a couple issues where the guest is getting IO errors:
    > 1. The admin may set num_queues and cmd_per_lun/virtqueue_size
    > in a way that allows the guest to send more IO that vhost-scsi
    > was coded for.
    > 
    > 2. A race where vhost-scsi completes the cmd to the guest before
    > it's fully completed in the target/vhost-scsi layers so if the
    > guest sends a new IO too quicky we fail it.
    > 
    > 3. If the real/physical storage (lio backend device) hits a transient
    > error then vhost-scsi would fail commands instead of relying on
    > the lower levels error recovery to do what the admin had set up.
    > 
    > V5:
    > - Bring back V1 but move flush patches to a separate clean up set
    > - Modify test in vhost_vq_is_setup
    > 
    > V4:
    > - really really fix compile errors
    > - dropped threading patches so we can figure that out separately.
    > 
    > V3:
    > - fix compile errors
    > - fix possible crash where cmd could be freed while adding it to
    > completion list
    > - fix issue where we added the worker thread to the blk cgroup but
    > the blk IO was submitted by a driver workqueue.
    > 
    > V2:
    > - fix use before set cpu var errors
    > - drop vhost_vq_is_setup
    > - include patches to do a worker thread per scsi IO vq
    > 
    > 
    
    Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
    
    [-- Attachment #1.2: signature.asc --]
    [-- Type: application/pgp-signature, Size: 488 bytes --]
    
    [-- Attachment #2: Type: text/plain, Size: 183 bytes --]
    
    _______________________________________________
    Virtualization mailing list
    Virtualization@lists.linux-foundation.org
    https://lists.linuxfoundation.org/mailman/listinfo/virtualization
    
    ^ permalink raw reply	[flat|nested] 2+ messages in thread

  • end of thread, other threads:[~2020-11-12 17:00 UTC | newest]
    
    Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1604986403-4931-1-git-send-email-michael.christie@oracle.com>
         [not found] ` <1604986403-4931-2-git-send-email-michael.christie@oracle.com>
    2020-11-10  7:20   ` [PATCH 1/5] vhost: add helper to check if a vq has been setup Jason Wang
    2020-11-12 17:00 ` [PATCH 0/5 V5] vhost-scsi: IO error fixups Stefan Hajnoczi
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).