From c24ac5d76353d04955cc348f1cb5b95743c42b38 Mon Sep 17 00:00:00 2001
From: Frans Kaashoek <kaashoek@mit.edu>
Date: Fri, 3 Apr 2015 08:22:02 -0400
Subject: Disentangle block size from the disk's sector size.  Set block size
 to 1024 to show that they can be different.  Clean up mkfs, simplifying
 specifying fs parameters, remove some redundancy between fs and mkfs, and fix
 disk layout bugs. Call blocks in the file system blocks instead of sectors. 
 Passes usertests for different block sizes.

---
 fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'fs.h')

diff --git a/fs.h b/fs.h
index f191d43..e74ff5b 100644
--- a/fs.h
+++ b/fs.h
@@ -9,7 +9,7 @@
 // Then sb.nlog log blocks.
 
 #define ROOTINO 1  // root i-number
-#define BSIZE 512  // block size
+#define BSIZE 1024  // block size
 
 // File system super block
 struct superblock {
-- 
cgit v1.2.3