]> git.proxmox.com Git - mirror_zfs.git/commit - cmd/zfs/zfs_main.c
Revert "Let zfs mount all tolerate in-progress mounts"
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 26 May 2020 23:07:50 +0000 (16:07 -0700)
committerGitHub <noreply@github.com>
Tue, 26 May 2020 23:07:50 +0000 (16:07 -0700)
commitd1b84da8c1a69c084f04b504beefe804591bca07
tree71fbeb78500590933e6c03c86c53ac5ab663c63d
parentce98ed25dea9f4e03bfcf9434fde5e8b54434036
Revert "Let zfs mount all tolerate in-progress mounts"

This reverts commit a9cd8bf which introduced a segfault when running
`zfs mount -a` multiple times when there are mountpoints which are
not empty.  This segfault is now seen frequently by the CI after
the mount code was updated to directly call mount(2).

The original reason this logic was added is described in #8881.
Since then the systemd `zfs-share.target` has been updated to run
"After" the `zfs-mount.server` which should avoid this issue.

Reviewed-by: Don Brady <don.brady@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9560
Closes #10364
cmd/zfs/zfs_main.c