Reviewed by: George Wilson <>
Reviewed by: Prashanth Sreenivasa <>

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.

Upstream bug: DLPX-47360
You can view, comment on, or merge this pull request online at:

-- Commit Summary --

  * 9189 Add debug to vdev_label_read_config when txg check fails

-- File Changes --

    M usr/src/uts/common/fs/zfs/vdev.c (3)
    M usr/src/uts/common/fs/zfs/vdev_label.c (12)

-- Patch Links --

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:

Powered by Topicbox:

Reply via email to