Files
mirror_zfs/module/zfs
Pavel Zakharov 38a19edd34 OpenZFS 9189 - Add debug to vdev_label_read_config when txg check fails
These changes were added to help debug issue #9187.

Essentially, in the original bug, vdev_validate() seems to fails in
vdev_label_read_config() and prints "failed reading config". This could
happen because either:
1. The labels are actually corrupt and zio_wait() fails for all of them
2. The labels were discarded because they didn't pass the txg check.

Beyond 9187, having debug info when case 2 happens could be useful in
other scenarios, such as zpool import.

Authored by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Prashanth Sreenivasa <pks@delphix.com>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Approved by: Matt Ahrens <mahrens@delphix.com>
Ported-by:  Brian Behlendorf <behlendorf1@llnl.gov>

OpenZFS-issue: https://illumos.org/issues/9189
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/f6af1b7
Closes #7533
2018-05-14 14:32:49 -04:00
..
2017-11-18 14:08:00 -08:00
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2015-01-16 14:41:26 -08:00
2018-05-01 11:24:20 -07:00
2018-05-01 10:33:35 -07:00
2017-08-14 10:36:48 -07:00
2017-10-11 16:54:48 -04:00
2015-01-16 14:41:26 -08:00
2016-04-21 09:49:25 -07:00
2018-03-15 10:53:58 -07:00
2017-01-03 11:31:18 -06:00
2018-02-13 14:54:54 -08:00
2018-03-15 10:53:58 -07:00
2010-08-31 13:41:58 -07:00
2017-07-13 13:54:00 -04:00
2016-11-29 14:34:33 -08:00
2018-02-08 15:28:18 -08:00
2018-04-15 10:59:13 -07:00
2010-08-31 13:41:58 -07:00
2017-03-10 09:51:33 -08:00
2018-05-07 21:11:58 -07:00
2018-02-13 14:54:54 -08:00
2018-02-13 14:54:54 -08:00
2017-01-03 11:31:18 -06:00
2018-02-13 14:54:54 -08:00
2018-02-09 10:08:05 -08:00
2018-05-02 15:01:24 -07:00
2017-11-18 14:08:00 -08:00
2018-04-15 15:12:28 -07:00