提交 2868ca0f 创建 作者: rsc's avatar rsc

comment non-check of cp->killed

上级 8970df0c
...@@ -144,6 +144,7 @@ ide_rw(struct buf *b) ...@@ -144,6 +144,7 @@ ide_rw(struct buf *b)
ide_start_request(b); ide_start_request(b);
// Wait for request to finish. // Wait for request to finish.
// Assuming will not sleep too long: ignore cp->killed.
while((b->flags & (B_VALID|B_DIRTY)) != B_VALID) while((b->flags & (B_VALID|B_DIRTY)) != B_VALID)
sleep(b, &ide_lock); sleep(b, &ide_lock);
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论