All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Eric Farman <farman@linux.vnet.ibm.com>
Cc: linux-scsi@vger.kernel.org, jejb@linux.vnet.ibm.com,
	martin.petersen@oracle.com, famz@redhat.com
Subject: Re: [PATCH v2] virtio_scsi: Reject commands when virtqueue is broken
Date: Fri, 20 Jan 2017 19:18:52 -0500	[thread overview]
Message-ID: <yq1wpdpgt8z.fsf@oracle.com> (raw)
In-Reply-To: <1484329686-21553-2-git-send-email-farman@linux.vnet.ibm.com> (Eric Farman's message of "Fri, 13 Jan 2017 12:48:06 -0500")

>>>>> "Eric" == Eric Farman <farman@linux.vnet.ibm.com> writes:

Eric> In the case of a graceful set of detaches, where the
Eric> virtio-scsi-ccw disk is removed from the guest prior to the
Eric> controller, the guest behaves quite normally.  Specifically, the
Eric> detach gets us into sd_sync_cache to issue a Synchronize Cache(10)
Eric> command, which immediately fails (and is retried a couple of
Eric> times) because the device has been removed.  Later, the removal of
Eric> the controller sees two CRWs presented, but there's no further
Eric> indication of the removal from the guest viewpoint.

Applied to 4.10/scsi-fixes.

-- 
Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2017-01-21  0:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13 17:48 [PATCH v2] virtio_scsi: Reject commands when virtqueue is broken Eric Farman
2017-01-13 17:48 ` Eric Farman
2017-01-16  5:39   ` Fam Zheng
2017-01-21  0:18   ` Martin K. Petersen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1wpdpgt8z.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=famz@redhat.com \
    --cc=farman@linux.vnet.ibm.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.