zed: Ignore false 'atari' partitions in autoreplace
commite4ab3f40df994178c5fc629c2ad07c505f5a76eb
authorTony Hutter <hutter2@llnl.gov>
Mon, 11 Jul 2022 20:35:19 +0000 (11 13:35 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Jul 2022 20:35:19 +0000 (11 13:35 -0700)
tree263300010f105e50711562a2550379ff4c5bd469
parent677ca1e825af80f60569f84803304ccf0092728b
zed: Ignore false 'atari' partitions in autoreplace

libudev will sometimes falsely identify an 'atari' partition on a
blank disk, preventing it from being used in an autoreplace.  This
seems to be a known issue.  The workaround is to just ignore the
fake partition and continue with the autoreplace.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #13497
Closes #13632
cmd/zed/zed_disk_event.c