Additional compatibility changes to work with libzfs 0.7.x
This commit is contained in:
		
							parent
							
								
									c8b6755593
								
							
						
					
					
						commit
						5d716ef4ec
					
				| 
						 | 
				
			
			@ -90,8 +90,11 @@ const (
 | 
			
		|||
	PoolStatusFailingDev                          /* device experiencing errors */
 | 
			
		||||
	PoolStatusVersionNewer                        /* newer on-disk version */
 | 
			
		||||
	PoolStatusHostidMismatch                      /* last accessed by another system */
 | 
			
		||||
	PoolStatusHosidActive                         /* currently active on another system */
 | 
			
		||||
	PoolStatusHostidRequired                      /* multihost=on and hostid=0 */
 | 
			
		||||
	PoolStatusIoFailureWait                       /* failed I/O, failmode 'wait' */
 | 
			
		||||
	PoolStatusIoFailureContinue                   /* failed I/O, failmode 'continue' */
 | 
			
		||||
	PoolStatusIOFailureMap                        /* ailed MMP, failmode not 'panic' */
 | 
			
		||||
	PoolStatusBadLog                              /* cannot read log chain(s) */
 | 
			
		||||
	PoolStatusErrata                              /* informational errata available */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								zpool.go
								
								
								
								
							
							
						
						
									
										6
									
								
								zpool.go
								
								
								
								
							| 
						 | 
				
			
			@ -1111,10 +1111,16 @@ func (s PoolStatus) String() string {
 | 
			
		|||
		return "VERSION_NEWER"
 | 
			
		||||
	case PoolStatusHostidMismatch: /* last accessed by another system */
 | 
			
		||||
		return "HOSTID_MISMATCH"
 | 
			
		||||
	case PoolStatusHosidActive: /* currently active on another system */
 | 
			
		||||
		return "HOSTID_ACTIVE"
 | 
			
		||||
	case PoolStatusHostidRequired: /* multihost=on and hostid=0 */
 | 
			
		||||
		return "HOSTID_REQUIRED"
 | 
			
		||||
	case PoolStatusIoFailureWait: /* failed I/O, failmode 'wait' */
 | 
			
		||||
		return "FAILURE_WAIT"
 | 
			
		||||
	case PoolStatusIoFailureContinue: /* failed I/O, failmode 'continue' */
 | 
			
		||||
		return "FAILURE_CONTINUE"
 | 
			
		||||
	case PoolStatusIOFailureMap: /* ailed MMP, failmode not 'panic' */
 | 
			
		||||
		return "HOSTID_FAILURE_MAP"
 | 
			
		||||
	case PoolStatusBadLog: /* cannot read log chain(s) */
 | 
			
		||||
		return "BAD_LOG"
 | 
			
		||||
	case PoolStatusErrata: /* informational errata available */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue