aboutsummaryrefslogtreecommitdiffstats
path: root/config/user-libaio.m4
Commit message (Collapse)AuthorAgeFilesLines
* Fix mmap / libaio deadlockBrian Behlendorf2018-03-281-0/+14
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 <[email protected]> Reviewed-by: Chunwei Chen <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #7335 Closes #7339