Page MenuHomeFreeBSD

rman: Add rman_get/set_type
ClosedPublic

Authored by jhb on Feb 27 2024, 7:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 31, 8:42 PM
Unknown Object (File)
Fri, Oct 31, 8:42 PM
Unknown Object (File)
Fri, Oct 31, 8:42 PM
Unknown Object (File)
Fri, Oct 31, 4:12 PM
Unknown Object (File)
Oct 9 2025, 1:57 PM
Unknown Object (File)
Oct 8 2025, 2:08 AM
Unknown Object (File)
Oct 7 2025, 12:53 AM
Unknown Object (File)
Oct 1 2025, 3:51 AM
Subscribers

Details

Summary

This permits associating a resource type (e.g. SYS_RES_MEMORY) with a
struct resource.

I considered adding a new field to struct rman to store the type and
only providing rman_get_type as an accessor. However, changing
'struct rman' is an ABI breakage. I might revisit this in main, but
the current approach is MFC'able.

Diff Detail

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