提交 de4af193 创建 作者: Frans Kaashoek's avatar Frans Kaashoek

One ide command for nsector_per_block generates nsector_per_block interrupts,

instead of 1. ideintr() should wait for nsector_per_block interrupts before waking up the reader; now it wakes up the reader after 1 interrupt, which apparently means that the first sector is available of the command instead of all. For now keep BSIZE to 512.
上级 895af77f
......@@ -9,7 +9,7 @@
// Then sb.nlog log blocks.
#define ROOTINO 1 // root i-number
#define BSIZE 1024 // block size
#define BSIZE 512 // block size
// File system super block
struct superblock {
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论