Skip to content

Commit

Permalink
One ide command for nsector_per_block generates nsector_per_block int…
Browse files Browse the repository at this point in the history
…errupts,

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.
  • Loading branch information
kaashoek committed Apr 11, 2015
1 parent 895af77 commit de4af19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit de4af19

Please sign in to comment.