Page MenuHomeFreeBSD

Abstract ZFS preferred device detection
ClosedPublic

Authored by eric_metricspace.net on Oct 2 2017, 11:31 AM.
Tags
None
Referenced Files
F86832830: D12564.diff
Wed, Jun 26, 6:43 AM
Unknown Object (File)
Mon, Jun 24, 5:31 PM
Unknown Object (File)
Mon, Jun 24, 3:23 PM
Unknown Object (File)
Mon, Jun 24, 2:44 PM
Unknown Object (File)
Mon, Jun 24, 3:22 AM
Unknown Object (File)
Sun, Jun 23, 10:46 PM
Unknown Object (File)
Sun, Jun 23, 10:38 PM
Unknown Object (File)
Fri, Jun 21, 11:48 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 Skipped
Unit
Tests Skipped

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.