mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Illumos 5140 - message about "%recv could not be opened" is printed when booting after crash
Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Max Grossman <max.grossman@delphix.com> Reviewed by: Richard Elling <richard.elling@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com> References: https://www.illumos.org/projects/illumos-gate//issues/5140 https://github.com/illumos/illumos-gate/commit/2243853 Ported by: Turbo Fredriksson <turbo@bayour.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #2676
This commit is contained in:
		
							parent
							
								
									71bd064555
								
							
						
					
					
						commit
						6d9036f350
					
				@ -667,7 +667,15 @@ zil_claim(const char *osname, void *txarg)
 | 
			
		||||
 | 
			
		||||
	error = dmu_objset_own(osname, DMU_OST_ANY, B_FALSE, FTAG, &os);
 | 
			
		||||
	if (error != 0) {
 | 
			
		||||
		cmn_err(CE_WARN, "can't open objset for %s", osname);
 | 
			
		||||
		/*
 | 
			
		||||
		 * EBUSY indicates that the objset is inconsistent, in which
 | 
			
		||||
		 * case it can not have a ZIL.
 | 
			
		||||
		 */
 | 
			
		||||
		if (error != EBUSY) {
 | 
			
		||||
			cmn_err(CE_WARN, "can't open objset for %s, error %u",
 | 
			
		||||
				osname, error);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		return (0);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user