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)
Wed, Apr 16, 7:46 AM
Unknown Object (File)
Sun, Apr 6, 12:42 AM
Unknown Object (File)
Mar 21 2025, 9:33 AM
Unknown Object (File)
Mar 10 2025, 8:18 PM
Unknown Object (File)
Mar 5 2025, 2:20 PM
Unknown Object (File)
Mar 5 2025, 1:11 PM
Unknown Object (File)
Mar 4 2025, 2:16 PM
Unknown Object (File)
Feb 27 2025, 6:11 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.