-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved zpool status output, list all the dataset affected by errlog. #9175
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -925,5 +925,27 @@ is used to checkpoint the pool. | |
The feature will only return back to being \fBenabled\fR when the pool | ||
is rewound or the checkpoint has been discarded. | ||
|
||
|
||
.sp | ||
.ne 2 | ||
.na | ||
\fBhead_errlog\fR | ||
.ad | ||
.RS 4n | ||
.TS | ||
l l . | ||
GUID com.delphix:head_errlog | ||
READ\-ONLY COMPATIBLE no | ||
DEPENDENCIES none | ||
.TE | ||
|
||
This feature enables the upgraded version of errlog. This required on disk | ||
error format change. Now, errorlog of each head dataset is stored | ||
seprately in zap object and primarily keyed by this head Id. | ||
By this feature every dataset affected by an error block is listed under | ||
\fBzpool status\fR command. | ||
|
||
The feature can only be set at the time of pool creation. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This feature can only be enabled at pool creation time. |
||
|
||
.SH "SEE ALSO" | ||
zpool(8) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -553,6 +553,13 @@ zpool_feature_init(void) | |
"com.datto:resilver_defer", "resilver_defer", | ||
"Support for defering new resilvers when one is already running.", | ||
ZFEATURE_FLAG_READONLY_COMPAT, ZFEATURE_TYPE_BOOLEAN, NULL); | ||
|
||
{ | ||
zfeature_register(SPA_FEATURE_HEAD_ERRLOG, | ||
"com.delphix:head_errlog", "head_errlog", | ||
"Improved zpool status command output.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The feature is actually the logging of the errors to the ZAP, so maybe: |
||
ZFEATURE_FLAG_ACTIVATE_ON_ENABLE, ZFEATURE_TYPE_BOOLEAN, NULL); | ||
} | ||
} | ||
|
||
#if defined(_KERNEL) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this sounds better as:
"With this feature enabled, every dataset affected by an error block is listed in the output of
\fBzpool status\fR.