Skip to content
Snippets Groups Projects
Commit 21eafd48 authored by rsc's avatar rsc
Browse files

fix disk bug

parent 3c821bf9
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,9 @@ ide_rw(int diskno, uint secno, void *addr, uint nsecs, int read) ...@@ -159,6 +159,9 @@ ide_rw(int diskno, uint secno, void *addr, uint nsecs, int read)
wakeup(&disk_queue); wakeup(&disk_queue);
tail = (tail + 1) % NREQUEST; tail = (tail + 1) % NREQUEST;
// Start next request in queue, if any.
ide_start_request();
release(&ide_lock); release(&ide_lock);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment