mirror_zfs/module/zfs
Brian Behlendorf a1eaf0dde0 Exclude log device ashift from normal class
When opening a log device during import its allocation bias will
not yet have been set by vdev_load().  This results in the log
device's ashift being incorrectly applied to the maximum ashift
of the vdevs in the normal class.  Which in turn prevents the
removal of any top-level devices due to the ashift check in the
spa_vdev_remove_top_check() function.

This issue is resolved by including vdev_islog in the check since
it will be set correctly during vdev_open().

Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8735
2019-06-07 12:45:40 -07:00
..
abd.c
aggsum.c
arc.c
blkptr.c
bplist.c
bpobj.c
bptree.c
bqueue.c
cityhash.c
dataset_kstats.c
dbuf_stats.c
dbuf.c
ddt_zap.c
ddt.c
dmu_diff.c
dmu_object.c
dmu_objset.c
dmu_recv.c
dmu_send.c
dmu_traverse.c
dmu_tx.c
dmu_zfetch.c Linux 5.2 compat: rw_tryupgrade() 2019-05-23 13:46:33 -07:00
dmu.c Fix integer overflow in get_next_chunk() 2019-06-07 12:45:40 -07:00
dnode_sync.c
dnode.c Fix incorrect assertion in dnode_dirty_l1range 2019-05-19 17:30:33 -07:00
dsl_bookmark.c
dsl_crypt.c
dsl_dataset.c
dsl_deadlist.c
dsl_deleg.c
dsl_destroy.c
dsl_dir.c
dsl_pool.c
dsl_prop.c
dsl_scan.c Fix embedded bp accounting in count_block() 2019-06-07 12:39:13 -07:00
dsl_synctask.c
dsl_userhold.c
edonr_zfs.c
fm.c
gzip.c
hkdf.c
lz4.c
lzjb.c
Makefile.in
metaslab.c
mmp.c
multilist.c
pathname.c
policy.c
qat_compress.c
qat_crypt.c
qat.c
qat.h
range_tree.c
refcount.c
rrwlock.c
sa.c
sha256.c
skein_zfs.c
spa_boot.c
spa_checkpoint.c
spa_config.c
spa_errlog.c
spa_history.c
spa_misc.c Fix coverity defects: CID 186143 2019-06-07 12:39:13 -07:00
spa_stats.c
spa.c zpool import progress kstat 2019-05-09 10:08:05 -07:00
space_map.c
space_reftree.c
THIRDPARTYLICENSE.cityhash
THIRDPARTYLICENSE.cityhash.descrip
trace.c
txg.c
uberblock.c
unique.c
vdev_cache.c
vdev_disk.c
vdev_file.c
vdev_indirect_births.c
vdev_indirect_mapping.c
vdev_indirect.c Device removal panics on 32-bit systems 2019-06-07 12:39:13 -07:00
vdev_initialize.c
vdev_label.c
vdev_mirror.c
vdev_missing.c
vdev_queue.c
vdev_raidz_math_aarch64_neon_common.h Linux 5.0 compat: ASM_BUG macro 2019-05-08 10:18:40 -07:00
vdev_raidz_math_aarch64_neon.c
vdev_raidz_math_aarch64_neonx2.c
vdev_raidz_math_avx2.c Linux 5.0 compat: ASM_BUG macro 2019-05-08 10:18:40 -07:00
vdev_raidz_math_avx512bw.c Linux 5.0 compat: ASM_BUG macro 2019-05-08 10:18:40 -07:00
vdev_raidz_math_avx512f.c
vdev_raidz_math_impl.h
vdev_raidz_math_scalar.c
vdev_raidz_math_sse2.c
vdev_raidz_math_ssse3.c Linux 5.0 compat: ASM_BUG macro 2019-05-08 10:18:40 -07:00
vdev_raidz_math.c
vdev_raidz.c
vdev_removal.c
vdev_root.c
vdev_trim.c
vdev.c Exclude log device ashift from normal class 2019-06-07 12:45:40 -07:00
zap_leaf.c
zap_micro.c
zap.c
zcp_get.c
zcp_global.c
zcp_iter.c
zcp_synctask.c
zcp.c
zfeature.c
zfs_acl.c
zfs_byteswap.c
zfs_ctldir.c
zfs_debug.c
zfs_dir.c
zfs_fm.c
zfs_fuid.c
zfs_ioctl.c Double-free of encryption wrapping key due to invalid pool properties 2019-06-07 12:45:40 -07:00
zfs_log.c
zfs_onexit.c
zfs_ratelimit.c
zfs_replay.c
zfs_rlock.c
zfs_sa.c
zfs_sysfs.c
zfs_vfsops.c Add missing trailing '\n' in printk() messages 2019-05-08 16:43:55 -07:00
zfs_vnops.c Linux 5.2 compat: Directly call wait_on_page_bit() 2019-06-07 12:39:13 -07:00
zfs_znode.c
zil.c
zio_checksum.c
zio_compress.c
zio_crypt.c
zio_inject.c
zio.c
zle.c
zpl_ctldir.c
zpl_export.c
zpl_file.c
zpl_inode.c
zpl_super.c
zpl_xattr.c
zrlock.c
zthr.c
zvol.c