mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
nopwrites on dmu_sync-ed blocks can result in a panic
After device removal, performing nopwrites on a dmu_sync-ed block will result in a panic. This panic can show up in two ways: 1. an attempt to issue an IOCTL in vdev_indirect_io_start() 2. a failed comparison of zio->io_bp and zio->io_bp_orig in zio_done() To resolve both of these panics, nopwrites of blocks on indirect vdevs should be ignored and new allocations should be performed on concrete vdevs. Reviewed-by: Igor Kozhukhov <igor@dilos.org> Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Don Brady <don.brady@delphix.com> Signed-off-by: George Wilson <gwilson@delphix.com> Closes #8957
This commit is contained in:
committed by
Brian Behlendorf
parent
765d1f0644
commit
681a85cb01
@@ -763,7 +763,7 @@ tags = ['functional', 'refreserv']
|
||||
pre =
|
||||
tests = ['removal_all_vdev', 'removal_check_space',
|
||||
'removal_condense_export', 'removal_multiple_indirection',
|
||||
'removal_remap_deadlists',
|
||||
'removal_nopwrite', 'removal_remap_deadlists',
|
||||
'removal_resume_export', 'removal_sanity', 'removal_with_add',
|
||||
'removal_with_create_fs', 'removal_with_dedup',
|
||||
'removal_with_errors', 'removal_with_export',
|
||||
|
||||
Reference in New Issue
Block a user