diff options
-rw-r--r-- | module/zfs/vdev.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c index 0dea0b4e4..9fc25dd6a 100644 --- a/module/zfs/vdev.c +++ b/module/zfs/vdev.c @@ -1544,14 +1544,6 @@ vdev_open(vdev_t *vd) return (error); } - if (vd->vdev_top == vd && vd->vdev_ashift != 0 && - !vd->vdev_isl2cache && !vd->vdev_islog) { - if (vd->vdev_ashift > spa->spa_max_ashift) - spa->spa_max_ashift = vd->vdev_ashift; - if (vd->vdev_ashift < spa->spa_min_ashift) - spa->spa_min_ashift = vd->vdev_ashift; - } - /* * Track the min and max ashift values for normal data devices. */ |