Project

General

Profile

Actions

Bug #7900

closed

zdb shouldn't print the path of a znode at verbosity < 5

Added by Alan Somers over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2017-02-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

zdb shouldn't print the path of a znode at verbosity < 5. There are two reasons:

1) Finding a znode's path is slower than printing any other znode information at verbosity < 5.
2) On a corrupted pool like the one mentioned below, zdb will crash when it tries to determine the znode's path. But with this patch, zdb can still extract useful information from such pools.

https://github.com/zfsonlinux/zfs/issues/5346

Actions

Also available in: Atom PDF