fix disk bug

This commit is contained in:
rsc 2006-09-07 16:54:18 +00:00
parent 3c821bf9ae
commit 21eafd48e2

3
ide.c
View file

@ -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);
} }