diff options
author | mav <mav@FreeBSD.org> | 2016-10-11 16:49:16 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-10-11 16:49:16 +0000 |
commit | 75f8d3771b27068f25a2a620cf959e0af83df24d (patch) | |
tree | 80f44609747d0d4d208b3df0deafd81c4412055e /contrib/diff/src/sdiff.c | |
parent | d1c382ca5242c951ac739641085f7ebd79362aca (diff) | |
download | FreeBSD-src-75f8d3771b27068f25a2a620cf959e0af83df24d.zip FreeBSD-src-75f8d3771b27068f25a2a620cf959e0af83df24d.tar.gz |
MFC r305198: MFV r302647:
6922 Emit ESC_ZFS_VDEV_REMOVE_AUX after removing an aux device
illumos/illumos-gate@63364b0ee2604783e7a55f8425888867768eafa4
https://github.com/illumos/illumos-gate/commit/63364b0ee2604783e7a55f84258888677
68eafa4
https://www.illumos.org/issues/6922
ZFS does not do a config_sync after removing an aux (spare, log, or cache)
device. AFAICT this isn't being done because it is slow and was deemed
unnecessary. However, it should be such a rare operation that speed doesn't
matter, and not doing it results in two problems:
1) It is theoretically possible to remove an aux device from one pool and
attach it to another, then lose power. When power is restored, both pools woul
d
think that they own the aux device.
2) Removal of the aux device doesn't send any useful sysevents to userland.
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Alan Somers <asomers@gmail.com>
Diffstat (limited to 'contrib/diff/src/sdiff.c')
0 files changed, 0 insertions, 0 deletions