[SCSI] return ENOSPC on thin provisioning failure
[deliverable/linux.git] / block / blk-core.c
index 93a18d1d3da8e43d79b4450e30211ecb59f14b2f..68ce4d53a528850642a05ec71062c1d5014d666d 100644 (file)
@@ -2318,6 +2318,9 @@ bool blk_update_request(struct request *req, int error, unsigned int nr_bytes)
                case -ETIMEDOUT:
                        error_type = "timeout";
                        break;
+               case -ENOSPC:
+                       error_type = "critical space allocation";
+                       break;
                case -EIO:
                default:
                        error_type = "I/O";
This page took 0.033255 seconds and 5 git commands to generate.