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)
Tue, Dec 2, 12:31 PM
Unknown Object (File)
Fri, Nov 28, 2:56 PM
Unknown Object (File)
Fri, Nov 21, 2:25 AM
Unknown Object (File)
Tue, Nov 18, 12:12 PM
Unknown Object (File)
Oct 20 2025, 4:24 AM
Unknown Object (File)
Oct 15 2025, 6:57 AM
Unknown Object (File)
Oct 6 2025, 5:21 PM
Unknown Object (File)
Oct 3 2025, 2:33 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 Not Applicable
Unit
Tests Not Applicable

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.