fix: (blkio) enforce disk io buffer size alignment (to block size)
[lunaix-os.git] / lunaix-os / kernel / block / blkio.c
index bc0178c1be562c014fbee93b19979f94e7219c5c..c5d688f633990b7de08ac982bdc93f80af570a58 100644 (file)
@@ -108,6 +108,7 @@ blkio_complete(struct blkio_req* req)
         req->completed(req);
     }
 
+    // FIXME Not working in first process! Need a dummy process.
     // Wake all blocked processes on completion,
     //  albeit should be no more than one process in everycase (by design)
     pwake_all(&req->wait);
@@ -117,6 +118,4 @@ blkio_complete(struct blkio_req* req)
     }
 
     req->io_ctx->busy--;
-
-    blkio_schedule(req->io_ctx);
 }
\ No newline at end of file