/[base]
ViewVC logotype

Revision 357881


Jump to revision: Previous Next
Author: asomers
Date: Thu Feb 13 20:49:45 2020 UTC (4 years, 4 months ago)
Changed paths: 2
Log Message:
MFC r357235:

Speed up "zpool import" in the presence of many zvols

By default, zpools may not be backed by zvols (that can be changed with the
"vfs.zfs.vol.recursive" sysctl). When that sysctl is set to 0, the kernel
does not attempt to read zvols when looking for vdevs. But the zpool command
still does. This change brings the zpool command into line with the kernel's
behavior. It speeds "zpool import" when an already imported pool has many
zvols, or a zvol with many snapshots.

PR:		241083
Reported by:	Martin Birgmeier <d8zNeCFG@aon.at>
Reviewed by:	mav, Ryan Moeller <ryan@freqlabs.com>
Sponsored by:	Axcient
Differential Revision:	https://reviews.freebsd.org/D22077


Changed paths

Path Details
Directorystable/12/ modified , props changed
Directorystable/12/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27