HomeFreeBSD

Remove zfs_sync() panicking kernel check

Description

Remove zfs_sync() panicking kernel check

This check provides no real additional protection and unnecessarily
introduces a dependency on the "oops_in_progress" kernel symbol.
Remove the check, it there are special circumstances on other
platforms which make this a requirement it can be reintroduced
for all relevant call paths in a more portable comprehensive manor.

Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8297

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jan 18 2019, 7:11 PM
GitHub <noreply@github.com>Committed on Jan 18 2019, 7:11 PM
Parents
rGb194fab0fb6c: Factor metaslab_load_wait() in metaslab_load()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGad6350713552: Remove zfs_sync() panicking kernel check (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jan 18 2019, 7:11 PM