fix disk bug
This commit is contained in:
parent
3c821bf9ae
commit
21eafd48e2
1 changed files with 3 additions and 0 deletions
3
ide.c
3
ide.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue