-
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
Assorted cleanup for ZED, but mostly just the thousand-fold speed improvement #11834
Closed
nabijaczleweli
wants to merge
10
commits into
openzfs:master
from
nabijaczleweli:about-average-gamer-skill-above-average-gamer-commentary
Closed
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
45b629d
zed: print combined system/user time after ZEDLET death
nabijaczleweli da60ced
zed: implement close_from() in terms of /proc/self/fd, if available
nabijaczleweli 5fcb36a
zed: purge all mentions of a configuration file
nabijaczleweli 3f01898
zed.8: don't pretend an unprivileged user could change the script owner
nabijaczleweli ae4a69a
zed: bump zfs_zevent_len_max if we miss any events
nabijaczleweli a8c8e95
zed: remove unused zed_file_read_n()
nabijaczleweli eb276c4
zed: merge all _NOT_IMPLEMENTED_ events
nabijaczleweli 947e638
zed: replace zed_file_write_n() with write(2), purge it
nabijaczleweli 8a0f7dc
zed.8: the Diagnosis Engine is implemented
nabijaczleweli 62d353c
zed: only go up to current limit in close_from() fallback
nabijaczleweli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is functionality we'd always intended to add and thus has stubbed out. Though clearly we haven't gotten to it. In particular, in
zfs_diagnosis.c
there are two functionsfmd_prop_get_int32
andfmd_prop_get_int64
which return hard coded values we thought could be set in the config file. That said, at this point since we're only talking about a couple of value it might make more sense to add a few command line options to override the defaults. So I'm OK with shedding this long dormant and partial config file support.