[SCSI] Correctly handle thin provisioning write error
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2009 17:00:41 +0000 (12:00 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Dec 2009 14:54:15 +0000 (08:54 -0600)
commitd8705f11d89cfabf4a9f0ea234d4809b22abb33e
treee1ce54ec1f01fc9d2f77fd9c730b87167ac02219
parente339c1a7c09ef736dca7b3a4353c7742557d9f8f
[SCSI] Correctly handle thin provisioning write error

A thin provisioned device may temporarily be out of sufficient
allocation units to fulfill a write request.  In that case it will
return a space allocation in progress error.  Wait a bit and retry the
write.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/scsi_lib.c