-
Notifications
You must be signed in to change notification settings - Fork 62
[sled-diagnostics] log collection should happen on u.2s #8438
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
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 |
|---|---|---|
|
|
@@ -209,15 +209,6 @@ impl AllDisks { | |
| .collect() | ||
| } | ||
|
|
||
| /// Return the directories that can be used for temporary sled-diagnostics | ||
| /// file storage. | ||
| pub fn all_sled_diagnostics_directories(&self) -> Vec<Utf8PathBuf> { | ||
|
Contributor
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 reminds me we should really prune a whole bunch of stuff from this crate now that the config reconciler has landed... A lot of it is only used in a couple tests (and I should update those tests to use the config reconciler instead!) No objection to pruning this method though. |
||
| // These directories are currently used for tempfile storage when | ||
| // zipping up zone logs before shuffling them off to a nexus collecting | ||
| // a support bundle. | ||
| self.all_m2_mountpoints(M2_DEBUG_DATASET).into_iter().collect() | ||
| } | ||
|
|
||
| /// Returns an iterator over all managed disks. | ||
| pub fn iter_managed(&self) -> impl Iterator<Item = (&DiskIdentity, &Disk)> { | ||
| self.inner.values.iter().filter_map(|(identity, disk)| match disk { | ||
|
|
||
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.
Style nit I don't feel strongly about - I'd maybe move this chunk of code to a separate method?
dataset_for_temporary_storage()or somethingThere 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.
Sorry I had saw the approval on mobile when I stepped away from the laptop and marked it for auto merge, I didn't catch this nit in time so here's the follow up: #8454