qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] scsi: report thin provisioning errors with werror=report
Date: Tue, 28 Jan 2014 13:07:30 +0100	[thread overview]
Message-ID: <20140128120730.GE16709@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1390828136-1720-1-git-send-email-pbonzini@redhat.com>

On Mon, Jan 27, 2014 at 02:08:56PM +0100, Paolo Bonzini wrote:
> SCSI defines a status code for when a thin-provisioned LUNs would
> exceed the allocated space, map ENOSPC to it.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  hw/scsi/scsi-bus.c     | 5 +++++
>  hw/scsi/scsi-disk.c    | 3 +++
>  include/hw/scsi/scsi.h | 2 ++
>  3 files changed, 10 insertions(+)

The SBC confirms that SPACE ALLOCATION WRITE PROTECT is used when there
is no space.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

      reply	other threads:[~2014-01-28 12:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-27 13:08 [Qemu-devel] [PATCH] scsi: report thin provisioning errors with werror=report Paolo Bonzini
2014-01-28 12:07 ` Stefan Hajnoczi [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=20140128120730.GE16709@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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 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).