mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Relax special_small_blocks assertion.
Follow up for commit 624222a, value asserted <= SPA_OLD_MAXBLOCKSIZE
instead of SPA_MAXBLOCKSIZE as it should be after the previous change.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #11501
			
			
This commit is contained in:
		
							parent
							
								
									7930a5ee65
								
							
						
					
					
						commit
						12fec4a147
					
				@ -326,7 +326,7 @@ smallblk_changed_cb(void *arg, uint64_t newval)
 | 
			
		||||
	/*
 | 
			
		||||
	 * Inheritance and range checking should have been done by now.
 | 
			
		||||
	 */
 | 
			
		||||
	ASSERT(newval <= SPA_OLD_MAXBLOCKSIZE);
 | 
			
		||||
	ASSERT(newval <= SPA_MAXBLOCKSIZE);
 | 
			
		||||
	ASSERT(ISP2(newval));
 | 
			
		||||
 | 
			
		||||
	os->os_zpl_special_smallblock = newval;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user