mirror_zfs/tests/zfs-tests/tests/functional
Brian Behlendorf b2ab468dde
Fix mmap / libaio deadlock
Calling uiomove() in mappedread() under the page lock can result
in a deadlock if the user space page needs to be faulted in.

Resolve the issue by dropping the page lock before the uiomove().
The inode range lock protects against concurrent updates via
zfs_read() and zfs_write().

Reviewed-by: Albert Lee <trisk@forkgnu.org>
Reviewed-by: Chunwei Chen <david.chen@nutanix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7335 
Closes #7339
2018-03-28 10:19:22 -07:00
..
acl OpenZFS 8965 - zfs_acl_ls_001_pos fails due to no longer supported grep regex 2018-02-08 21:29:17 -08:00
arc Fix dbufstats_001_pos 2018-03-07 09:53:04 -08:00
atime OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
bootfs Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
cache Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
cachefile Remove vn_rename and vn_remove dependency 2017-10-19 10:06:55 -07:00
casenorm Handle zap_add() failures in mixed case mode 2018-02-09 10:15:53 -08:00
channel_program OpenZFS 8677 - Open-Context Channel Programs 2018-02-08 16:05:57 -08:00
chattr Fix chattr_001_pos 2017-07-07 15:45:29 -07:00
checksum Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
clean_mirror Fix zdb -ed on objset for exported pool 2018-02-09 10:11:34 -08:00
cli_root Add JSON output support to channel programs 2018-03-19 12:40:58 -07:00
cli_user Add Python 3 rewrite of arc_summary.py 2018-02-28 08:52:34 -08:00
compression OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
ctime Add configure option to enable gcov analysis 2017-09-15 10:24:13 -07:00
deadman Extend deadman logic 2018-01-25 13:40:38 -08:00
delegate Introduce a destroy_dataset helper 2018-03-06 14:54:57 -08:00
devices Enable remaining tests 2017-05-22 12:34:32 -04:00
events Allow to limit zed's syslog chattiness 2018-03-06 15:41:52 -08:00
exec Enable remaining tests 2017-05-22 12:34:32 -04:00
fault Allow to limit zed's syslog chattiness 2018-03-06 15:41:52 -08:00
features Fix ARC behavior on 32-bit systems 2017-10-10 15:19:19 -07:00
grow_pool Fix ZTS grow_pool/setup 2017-08-15 16:40:04 -07:00
grow_replicas Enable remaining tests 2017-05-22 12:34:32 -04:00
history Disable history_004_pos 2018-01-10 10:41:30 -08:00
hkdf Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
inheritance OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
inuse zdb and inuse tests don't pass with real disks 2018-03-07 17:03:33 -08:00
large_files Enable remaining tests 2017-05-22 12:34:32 -04:00
largest_pool Enable remaining tests 2017-05-22 12:34:32 -04:00
libzfs Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
link_count Enable remaining tests 2017-05-22 12:34:32 -04:00
migration Fix some typos 2018-02-28 08:57:10 -08:00
mmap Fix mmap / libaio deadlock 2018-03-28 10:19:22 -07:00
mmp Record skipped MMP writes in multihost_history 2018-03-06 15:15:15 -08:00
mount Enable remaining tests 2017-05-22 12:34:32 -04:00
mv_files ZTS: fix spurious failures in mv_files 2018-03-02 09:57:29 -08:00
nestedfs OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
no_space Fix size inflation in spa_get_worst_case_asize() 2017-04-10 15:28:21 -07:00
nopwrite Enable remaining tests 2017-05-22 12:34:32 -04:00
online_offline Enable remaining tests 2017-05-22 12:34:32 -04:00
pool_names Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
poolversion Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
privilege Project Quota on ZFS 2018-02-13 14:54:54 -08:00
projectquota Project Quota on ZFS 2018-02-13 14:54:54 -08:00
quota OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
raidz OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
redundancy Enable remaining tests 2017-05-22 12:34:32 -04:00
refquota OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
refreserv Relax (ref)reservation constraints on ZVOLs 2017-09-12 11:33:22 -07:00
rename_dirs Enable remaining tests 2017-05-22 12:34:32 -04:00
replacement OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
reservation Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
rootpool OpenZFS 8076 - zfs-tests suite fails rootpool_002_neg 2017-05-25 17:29:08 -07:00
rsend ZTS: fix send-c_stream_size_estimate 2018-03-07 09:55:54 -08:00
scrub_mirror OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
slog OpenZFS 8909 - 8585 can cause a use-after-free kernel panic 2017-12-28 10:18:04 -08:00
snapshot Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
snapused OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
sparse OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
threadsappend Enable remaining tests 2017-05-22 12:34:32 -04:00
tmpfile Add tmpfile_003_pos to .gitignore 2017-02-03 13:42:49 -08:00
truncate Fix truncate(2) mtime and ctime handling 2017-11-13 09:24:26 -08:00
upgrade Project Quota on ZFS 2018-02-13 14:54:54 -08:00
user_namespace Take user namespaces into account in policy checks 2018-03-07 15:40:42 -08:00
userquota Fix 'zfs get {user|group}objused@' functionality 2017-11-29 11:59:22 -08:00
vdev_zaps Disable vdev_zaps_004_pos 2017-12-07 16:43:59 -08:00
write_dirs Skip tests that are slow on 32-bit builders 2017-06-06 19:04:01 -07:00
xattr Fix volume WR_INDIRECT log replay 2017-09-08 15:07:00 -07:00
zvol Verify ZFS Test Suite scripts executability 2018-02-07 12:43:24 -08:00
Makefile.am Take user namespaces into account in policy checks 2018-03-07 15:40:42 -08:00