Andriy Gapon
2014-02-13 15:42:16 UTC
I wonder if -A flags for zdb make any difference in illumos.
As far as I can see, in kernel assfail() checks aask and aok.
On the other hand, libc's assfail() / __assfail() always ends up in Abort().
It does not look like libzpool has any override for ASSERT/VERIFY.
So, it does not appear that setting aok in userland has any effect.
Maybe I am missing something?
OTOH, setting zfs_recover does have an effect in the places where
zfs_panic_recover() is explicitly used.
As far as I can see, in kernel assfail() checks aask and aok.
On the other hand, libc's assfail() / __assfail() always ends up in Abort().
It does not look like libzpool has any override for ASSERT/VERIFY.
So, it does not appear that setting aok in userland has any effect.
Maybe I am missing something?
OTOH, setting zfs_recover does have an effect in the places where
zfs_panic_recover() is explicitly used.
--
Andriy Gapon
Andriy Gapon