Maximum block size lowered to 4K (gasp) !
This commit is contained in:
		
							parent
							
								
									0d583c4f00
								
							
						
					
					
						commit
						87b0780ef7
					
				@ -47,7 +47,7 @@ struct _v7_direct {
 | 
			
		||||
 * 3 of these blocks and has to fit within 64kB, so this can't be
 | 
			
		||||
 * increased without taking that into account.
 | 
			
		||||
 */
 | 
			
		||||
#define MAX_BLOCK_SIZE		 8192
 | 
			
		||||
#define MAX_BLOCK_SIZE		 4096
 | 
			
		||||
 | 
			
		||||
/* This is the block size for the fixed versions of the filesystem (V1/V2) */
 | 
			
		||||
#define STATIC_BLOCK_SIZE	1024
 | 
			
		||||
 | 
			
		||||
@ -43,7 +43,7 @@
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if (MACHINE == IBM_PC && _WORD_SIZE == 4)
 | 
			
		||||
#define NR_BUFS         1536	/* # blocks in the buffer cache */
 | 
			
		||||
#define NR_BUFS         1500	/* # blocks in the buffer cache */
 | 
			
		||||
#define NR_BUF_HASH     2048	/* size of buf hash table; MUST BE POWER OF 2*/
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user