mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	OpenZFS 8077 - zfs-tests suite fails zpool_get_002_pos
Authored by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <jwk404@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: bunder2015 <omfgbunder@gmail.com> Porting Notes: * Also corrected a quoting mistake found in our copy OpenZFS-issue: https://www.illumos.org/issues/8077 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/481467d Closes #6163
This commit is contained in:
		
							parent
							
								
									ff77013053
								
							
						
					
					
						commit
						bda77af11c
					
				| @ -26,27 +26,56 @@ | ||||
| 
 | ||||
| # | ||||
| # Copyright (c) 2013 by Delphix. All rights reserved. | ||||
| # Copyright 2016 Nexenta Systems, Inc. All rights reserved. | ||||
| # | ||||
| 
 | ||||
| # Set the expected properties of zpool | ||||
| typeset -a properties=( | ||||
|     "size" | ||||
|     "capacity" | ||||
|     "altroot" | ||||
|     "health" | ||||
|     "guid" | ||||
|     "version" | ||||
|     "bootfs" | ||||
|     "delegation" | ||||
|     "autoreplace" | ||||
|     "cachefile" | ||||
|     "failmode" | ||||
|     "listsnapshots" | ||||
|     "autoexpand" | ||||
|     "dedupditto" | ||||
|     "dedupratio" | ||||
|     "free" | ||||
|     "allocated" | ||||
|     "readonly" | ||||
|     "comment" | ||||
|     "expandsize" | ||||
|     "freeing" | ||||
|     "fragmentation" | ||||
|     "leaked" | ||||
|     "feature@async_destroy" | ||||
|     "feature@empty_bpobj" | ||||
|     "feature@lz4_compress" | ||||
|     "feature@multi_vdev_crash_dump" | ||||
|     "feature@spacemap_histogram" | ||||
|     "feature@enabled_txg" | ||||
|     "feature@hole_birth" | ||||
|     "feature@extensible_dataset" | ||||
|     "feature@embedded_data" | ||||
|     "feature@bookmarks" | ||||
|     "feature@filesystem_limits" | ||||
|     "feature@large_blocks" | ||||
|     "feature@sha512" | ||||
|     "feature@skein" | ||||
|     "feature@edonr" | ||||
| ) | ||||
| 
 | ||||
| # Additional properties added for Linux. | ||||
| if is_linux; then | ||||
| typeset -a properties=("size" "capacity" "altroot" "health" "guid" "version" | ||||
|     "bootfs" "delegation" "autoreplace" "cachefile" "dedupditto" "dedupratio" | ||||
|     "free" "allocated" "readonly" "comment" "expandsize" "freeing" "failmode" | ||||
|     "listsnapshots" "autoexpand" "fragmentation" "leaked" "ashift" | ||||
|     "feature@async_destroy" "feature@empty_bpobj" "feature@lz4_compress" | ||||
|     "feature@large_blocks" "feature@large_dnode" "feature@filesystem_limits" | ||||
|     "feature@spacemap_histogram" "feature@enabled_txg" "feature@hole_birth" | ||||
|     "feature@extensible_dataset" "feature@bookmarks" "feature@embedded_data" | ||||
|     "feature@sha512" "feature@skein" "feature@edonr" | ||||
|     "feature@userobj_accounting" "feature@multi_vdev_crash_dump") | ||||
| else | ||||
| typeset -a properties=("size" "capacity" "altroot" "health" "guid" "version" | ||||
|     "bootfs" ""leaked" delegation" "autoreplace" "cachefile" "dedupditto" "dedupratio" | ||||
|     "free" "allocated" "readonly" "comment" "expandsize" "freeing" "failmode" | ||||
|     "listsnapshots" "autoexpand" "feature@async_destroy" "feature@empty_bpobj" | ||||
|     "feature@lz4_compress" "feature@multi_vdev_crash_dump" | ||||
|     "feature@spacemap_histogram" "feature@enabled_txg" "feature@hole_birth" | ||||
|     "feature@extensible_dataset" "feature@bookmarks" "feature@sha512" | ||||
|     "feature@skein" "feature@edonr") | ||||
| 	properties+=( | ||||
| 	    "ashift" | ||||
| 	    "feature@large_dnode" | ||||
| 	    "feature@userobj_accounting" | ||||
| 	) | ||||
| fi | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Yuri Pankov
						Yuri Pankov