mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Update vendor-sys/illumos/dist to illumos-gate 13979:b01a4832cdf9
Illumos ZFS issues: 3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd
This commit is contained in:
parent
c433297d86
commit
aaca951437
1 changed files with 3 additions and 2 deletions
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
/*
|
||||
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2012 by Delphix. All rights reserved.
|
||||
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -1556,7 +1556,8 @@ spa_check_removed(vdev_t *vd)
|
|||
for (int c = 0; c < vd->vdev_children; c++)
|
||||
spa_check_removed(vd->vdev_child[c]);
|
||||
|
||||
if (vd->vdev_ops->vdev_op_leaf && vdev_is_dead(vd)) {
|
||||
if (vd->vdev_ops->vdev_op_leaf && vdev_is_dead(vd) &&
|
||||
!vd->vdev_ishole) {
|
||||
zfs_post_autoreplace(vd->vdev_spa, vd);
|
||||
spa_event_notify(vd->vdev_spa, vd, ESC_ZFS_VDEV_CHECK);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue