You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running zloop, sometimes zdb fails due to detecting leaked objects:
MOS object 733 (persistent error log) leaked
MOS object 734 (persistent error log) leaked
It's possible that this is a bug in zdb: it might need to be taught about the new DMU_OT_ERROR_LOG objects that were introduced by #12812 (cc @gamanakis). e.g. in dump_mos_leaks(), we simply call mos_obj_refd(spa->spa_errlog_last), but now the spa_errlog_last contains a mapping from objset id to another DMU_OT_ERROR_LOG object, which also needs to be marked as in-use.
Describe how to reproduce the problem
zloop.sh
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered:
With the persistent error log feature we need to account for
spa_errlog_{scrub, last} containing mappings to other error log objects,
which need to be marked as in-use as well.
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes#14442Closes#14434
lundman
pushed a commit
to openzfsonwindows/openzfs
that referenced
this issue
Mar 3, 2023
With the persistent error log feature we need to account for
spa_errlog_{scrub, last} containing mappings to other error log objects,
which need to be marked as in-use as well.
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closesopenzfs#14442Closesopenzfs#14434
System information
Describe the problem you're observing
When running zloop, sometimes zdb fails due to detecting leaked objects:
It's possible that this is a bug in zdb: it might need to be taught about the new DMU_OT_ERROR_LOG objects that were introduced by #12812 (cc @gamanakis). e.g. in dump_mos_leaks(), we simply call
mos_obj_refd(spa->spa_errlog_last)
, but now the spa_errlog_last contains a mapping from objset id to another DMU_OT_ERROR_LOG object, which also needs to be marked as in-use.Describe how to reproduce the problem
zloop.sh
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: