mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-04-06 17:49:11 +03:00
OpenZFS 7337 - inherit_001_pos occasionally times out
Authored by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Ported-by: George Melikov <mail@gmelikov.ru> OpenZFS-issue: https://www.illumos.org/issues/7337 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/b021ac0 Closes #5800 Porting notes: - Additional code refactor for better Zol and OpenZFS codebase sync
This commit is contained in:
parent
d8fa599fab
commit
409b4127ee
@ -25,7 +25,7 @@
|
|||||||
# Use is subject to license terms.
|
# Use is subject to license terms.
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 by Delphix. All rights reserved.
|
# Copyright (c) 2013, 2015 by Delphix. All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
||||||
. $STF_SUITE/include/libtest.shlib
|
. $STF_SUITE/include/libtest.shlib
|
||||||
@ -370,53 +370,49 @@ function scan_state { #state-file
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Note that we keep this list relatively short so that this test doesn't
|
||||||
|
# time out (after taking more than 10 minutes).
|
||||||
|
#
|
||||||
|
set -A prop "checksum" "" \
|
||||||
|
"compression" "" \
|
||||||
|
"atime" "" \
|
||||||
|
"sharenfs" "" \
|
||||||
|
"recordsize" "recsize" \
|
||||||
|
"snapdir" "" \
|
||||||
|
"readonly" ""
|
||||||
|
|
||||||
#
|
#
|
||||||
# Note except for the mountpoint default value (which is handled in
|
# Note except for the mountpoint default value (which is handled in
|
||||||
# the routine itself), each property specified in the 'prop' array
|
# the routine itself), each property specified in the 'prop' array
|
||||||
# above must have a corresponding entry in the two arrays below.
|
# above must have a corresponding entry in the two arrays below.
|
||||||
#
|
#
|
||||||
if is_linux; then
|
|
||||||
set -A prop "checksum" "" \
|
|
||||||
"compression" "compress" \
|
|
||||||
"atime" "" \
|
|
||||||
"devices" "" \
|
|
||||||
"exec" "" \
|
|
||||||
"setuid" "" \
|
|
||||||
"recordsize" "recsize" \
|
|
||||||
"snapdir" "" \
|
|
||||||
"acltype"
|
|
||||||
|
|
||||||
set -A def_val "on" "off" "on" "on" "on" \
|
set -A def_val "on" "off" "on" \
|
||||||
"on" "" \
|
"off" "" \
|
||||||
"hidden" "off"
|
"hidden" \
|
||||||
|
"off"
|
||||||
|
|
||||||
set -A local_val "off" "on" "off" "off" "off" \
|
set -A local_val "off" "on" "off" \
|
||||||
"off" "" \
|
"on" "" \
|
||||||
"visible" "off"
|
"visible" \
|
||||||
|
"off"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Add system specific values
|
||||||
|
#
|
||||||
|
|
||||||
|
if ! is_linux; then
|
||||||
|
prop+=("aclmode" "" \
|
||||||
|
"mountpoint" "")
|
||||||
|
def_val+=("discard" \
|
||||||
|
"")
|
||||||
|
local_val+=("groupmask" \
|
||||||
|
"$TESTDIR")
|
||||||
else
|
else
|
||||||
set -A prop "checksum" "" \
|
prop+=("acltype" "")
|
||||||
"compression" "compress" \
|
def_val+=("off")
|
||||||
"atime" "" \
|
local_val+=("off")
|
||||||
"devices" "" \
|
|
||||||
"exec" "" \
|
|
||||||
"setuid" "" \
|
|
||||||
"sharenfs", "" \
|
|
||||||
"recordsize" "recsize" \
|
|
||||||
"mountpoint" "" \
|
|
||||||
"snapdir" "" \
|
|
||||||
"aclmode", "" \
|
|
||||||
"aclinherit" "" \
|
|
||||||
"readonly" "rdonly"
|
|
||||||
|
|
||||||
set -A def_val "on" "off" "on" "on" "on" \
|
|
||||||
"on" "off" "" \
|
|
||||||
"" "hidden" "discard" "secure" \
|
|
||||||
"off"
|
|
||||||
|
|
||||||
set -A local_val "off" "on" "off" "off" "off" \
|
|
||||||
"off" "on" "" \
|
|
||||||
"$TESTDIR" "visible" "groupmask" "discard" \
|
|
||||||
"off"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user