[SCSI] return ENOSPC on thin provisioning failure
authorHannes Reinecke <hare@suse.de>
Mon, 1 Jul 2013 13:16:25 +0000 (15:16 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 23 Aug 2013 16:43:54 +0000 (12:43 -0400)
commita9d6ceb838755c24dde8a0ca02c3378926fc63db
tree8239e44e9bee3029e31ee1ac04b14b73f5f500d1
parent87f14e658f664a17dcdb38d3f6ae70642fcdc263
[SCSI] return ENOSPC on thin provisioning failure

When the thin provisioning hard threshold is reached we
should return ENOSPC to inform upper layers about this fact.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
block/blk-core.c
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c
include/scsi/scsi.h