[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] scsi: report thin provisioning errors with werr
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] scsi: report thin provisioning errors with werror=report |
Date: |
Tue, 28 Jan 2014 13:07:30 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 <address@hidden>
> ---
> 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 <address@hidden>