Page MenuHomeFreeBSD

ctld: Support anonymous LUN entries in UCL
ClosedPublic

Authored by jhb on Feb 11 2025, 1:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 20, 4:24 AM
Unknown Object (File)
Wed, Oct 15, 6:57 AM
Unknown Object (File)
Mon, Oct 6, 5:21 PM
Unknown Object (File)
Fri, Oct 3, 2:33 AM
Unknown Object (File)
Tue, Sep 23, 5:12 AM
Unknown Object (File)
Sep 6 2025, 7:15 PM
Unknown Object (File)
Sep 6 2025, 6:49 PM
Unknown Object (File)
Sep 6 2025, 5:55 AM
Subscribers

Details

Summary

If a target LUN entry doesn't have a name property, assume it is an
anonymous LUN and parse other properties from the entry to define the
LUN.

This removes the odd support for target LUNs only named by an integer.
My guess is this was meant to implement support for anonymous LUNs
based on how the syntax for this works in the non-UCL case, but the
prior implementation was useless (it just created unconfigured LUNs).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62571
Build 59455: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Feb 11 2025, 1:20 AM

Rebase after removing globals from parse.y

Fix a few nits missed in last rebase

This revision was not accepted when it landed; it landed in state Needs Review.Feb 26 2025, 3:16 PM
This revision was automatically updated to reflect the committed changes.