+ // Wake all blocked processes on completion,
+ // albeit should be no more than one process in everycase (by design)
+ if ((req->flags & BLKIO_SHOULD_WAIT)) {
+ assert(!waitq_empty(&req->wait));
+ pwake_all(&req->wait);
+ }
+
+ if (req->errcode) {
+ WARN("request completed with error. (errno=0x%x, ctx=%p)",
+ req->errcode, (ptr_t)ctx);
+ }
+