diff options
author | rsc <rsc> | 2006-09-07 16:54:18 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-09-07 16:54:18 +0000 |
commit | 21eafd48e2a08f1c74430492550d63248b5832d5 (patch) | |
tree | 97ca2315b1d7ad172cf0d041c95345a5ecd59e0c /ide.c | |
parent | 3c821bf9ae6e99d38b1cb0d5a8ca94c48b7d9690 (diff) | |
download | xv6-labs-21eafd48e2a08f1c74430492550d63248b5832d5.tar.gz xv6-labs-21eafd48e2a08f1c74430492550d63248b5832d5.tar.bz2 xv6-labs-21eafd48e2a08f1c74430492550d63248b5832d5.zip |
fix disk bug
Diffstat (limited to 'ide.c')
-rw-r--r-- | ide.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -159,6 +159,9 @@ ide_rw(int diskno, uint secno, void *addr, uint nsecs, int read) wakeup(&disk_queue); tail = (tail + 1) % NREQUEST; + // Start next request in queue, if any. + ide_start_request(); + release(&ide_lock); } |