diff options
author | Frans Kaashoek <[email protected]> | 2015-04-10 20:39:40 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2015-04-10 20:39:40 -0400 |
commit | de4af193c87b3a7fa8762ccaeb81a6addf168799 (patch) | |
tree | 5aa2ed188ad08ab76c6dfa2d5a7d0937e21b5fe6 /fs.h | |
parent | 895af77fe6ff7c73f198e852a40976ed102a49e4 (diff) | |
download | xv6-labs-de4af193c87b3a7fa8762ccaeb81a6addf168799.tar.gz xv6-labs-de4af193c87b3a7fa8762ccaeb81a6addf168799.tar.bz2 xv6-labs-de4af193c87b3a7fa8762ccaeb81a6addf168799.zip |
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.
Diffstat (limited to 'fs.h')
-rw-r--r-- | fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |