Page MenuHomeFreeBSD

Abstract ZFS preferred device detection
ClosedPublic

Authored by eric_metricspace.net on Oct 2 2017, 11:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 14 2024, 3:38 PM
Unknown Object (File)
Dec 23 2023, 12:16 AM
Unknown Object (File)
Dec 12 2023, 8:07 PM
Unknown Object (File)
Nov 30 2023, 2:06 AM
Unknown Object (File)
Nov 29 2023, 9:11 PM
Unknown Object (File)
Nov 29 2023, 1:58 AM
Unknown Object (File)
Nov 29 2023, 12:19 AM
Unknown Object (File)
Nov 29 2023, 12:04 AM
Subscribers
None

Details

Summary

This is a part of https://reviews.freebsd.org/D10447, and a precursor to that patch.

This abstracts the way that preferred ZFS devices are detected, paving the way for the boot1 refactor.

Test Plan

As of creation, this needs to be tested. The original change did introduce an error, so it needs to be tested with ZFS to ensure that separating it from D10447 didn't introduce new ones.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was automatically updated to reflect the committed changes.

These looked good. I've committed it. efi_devpath_is_prefix is a bit of a duplication, but a useful one. It's also not yet used, but I assume further patches will use it.