diff options
author | mav <mav@FreeBSD.org> | 2016-10-28 18:25:32 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-10-28 18:25:32 +0000 |
commit | c12394dc80b2b30e2c76deb5e0559fff9d3c57ac (patch) | |
tree | 5f44797268aed769b43b3764a0c95f7c55e4332b /contrib/libc++/src/stdexcept.cpp | |
parent | 748b013188753a4b409720c333b6786231ac801f (diff) | |
download | FreeBSD-src-c12394dc80b2b30e2c76deb5e0559fff9d3c57ac.zip FreeBSD-src-c12394dc80b2b30e2c76deb5e0559fff9d3c57ac.tar.gz |
MFC r300881, r302058 (by asomers):
Avoid issuing spa config updates for physical path when not necessary
ZFS's configuration needs to be updated whenever the physical path for a
device changes, but not when a new device is introduced. This is because new
devices necessarily cause config updates, but only if they are actually
accepted into the pool.
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
Split vdev_geom_set_physpath out of vdev_geom_attrchanged. When
setting the vdev's physical path, only request a config update if
the physical path has changed. Don't request it when opening a
device for the first time, because the config sync will happen
anyway upstack.
sys/geom/geom_dev.c
Split g_dev_set_physpath and g_dev_set_media out of
g_dev_attrchanged
Diffstat (limited to 'contrib/libc++/src/stdexcept.cpp')
0 files changed, 0 insertions, 0 deletions