]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - block/blk-core.c
crypto: sahara - checking the wrong variable
[karo-tx-linux.git] / block / blk-core.c
index d5745b5833c9d76527809c41b4718c3df70407df..93a18d1d3da8e43d79b4450e30211ecb59f14b2f 100644 (file)
@@ -2315,6 +2315,9 @@ bool blk_update_request(struct request *req, int error, unsigned int nr_bytes)
                case -EBADE:
                        error_type = "critical nexus";
                        break;
+               case -ETIMEDOUT:
+                       error_type = "timeout";
+                       break;
                case -EIO:
                default:
                        error_type = "I/O";
@@ -3180,7 +3183,8 @@ int __init blk_dev_init(void)
 
        /* used for unplugging and affects IO latency/throughput - HIGHPRI */
        kblockd_workqueue = alloc_workqueue("kblockd",
-                                           WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
+                                           WQ_MEM_RECLAIM | WQ_HIGHPRI |
+                                           WQ_POWER_EFFICIENT, 0);
        if (!kblockd_workqueue)
                panic("Failed to create kblockd\n");