]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement parallel mounting for ZFS filesystem
authorbapt <bapt@FreeBSD.org>
Tue, 26 Feb 2019 08:18:34 +0000 (08:18 +0000)
committerbapt <bapt@FreeBSD.org>
Tue, 26 Feb 2019 08:18:34 +0000 (08:18 +0000)
commit59cff728bc591653bafe948c7bb47aea98e0655b
tree6fb7b000a2f18b5667a69d77a6e14db6f6cbc103
parentba2d36703f8cfff1cc9e3906e974638107bad83e
Implement parallel mounting for ZFS filesystem

It was first implemented on Illumos and then ported to ZoL.
This patch is a port to FreeBSD of the ZoL version.
This patch also includes a fix for a race condition that was amended

With such patch Delphix has seen a huge decrease in latency of the mount phase
(https://github.com/openzfs/openzfs/commit/a3f0e2b569 for details).
With that current change Gandi has measured improvments that are on par with
those reported by Delphix.

Zol commits incorporated:
https://github.com/zfsonlinux/zfs/commit/a10d50f999511d304f910852c7825c70c9c9e303
https://github.com/zfsonlinux/zfs/commit/e63ac16d25fbe991a356489c86d4077567dfea21

Reviewed by: avg, sef
Approved by: avg, sef
Obtained from: ZoL
MFC after: 1 month
Relnotes: yes
Sponsored by: Gandi.net
Differential Revision: https://reviews.freebsd.org/D19098
cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_impl.h
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_mount.c