Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parallel mount failure caused by ZoL specific behavior
The main reason parallel mount behaves differently on ZoL is that pthreads fork/execs another process for /bin/mount, whereas illumos and FreeBSD calls mount(2) and nmount(2) respectively. By taking a global lock around /bin/mount (and also /bin/umount) call, ZoL will behave similarly to other implementations. See openzfs#8833 for details. Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
- Loading branch information