Author: mav Date: Wed Mar 28 22:08:57 2018 New Revision: 331704 URL: https://svnweb.freebsd.org/changeset/base/331704
Log: 9191 dump vdev tree to zfs_dbgmsg when spa load fails due to missing log devices illumos/illumos-gate@ccef24b493bcbd146fcd6d8946666cae081470b6 Reviewed by: George Wilson <george.wil...@delphix.com> Reviewed by: Prakash Surya <prakash.su...@delphix.com> Reviewed by: Matt Ahrens <m...@delphix.com> Approved by: Robert Mustacchi <r...@joyent.com> Author: Pavel Zakharov <pavel.zakha...@delphix.com> Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/spa.c Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/spa.c ============================================================================== --- vendor-sys/illumos/dist/uts/common/fs/zfs/spa.c Wed Mar 28 22:07:31 2018 (r331703) +++ vendor-sys/illumos/dist/uts/common/fs/zfs/spa.c Wed Mar 28 22:08:57 2018 (r331704) @@ -1814,6 +1814,7 @@ spa_check_for_missing_logs(spa_t *spa) if (idx > 0) { spa_load_failed(spa, "some log devices are missing"); + vdev_dbgmsg_print_tree(rvd, 2); return (SET_ERROR(ENXIO)); } } else { @@ -1825,6 +1826,7 @@ spa_check_for_missing_logs(spa_t *spa) spa_set_log_state(spa, SPA_LOG_CLEAR); spa_load_note(spa, "some log devices are " "missing, ZIL is dropped."); + vdev_dbgmsg_print_tree(rvd, 2); break; } } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"