Page MenuHomeFreeBSD

rman: Add rman_get/set_type
ClosedPublic

Authored by jhb on Feb 27 2024, 7:46 PM.
Tags
None
Referenced Files
F102749332: D44122.diff
Sat, Nov 16, 4:29 PM
Unknown Object (File)
Sat, Oct 19, 4:51 PM
Unknown Object (File)
Sat, Oct 19, 4:51 PM
Unknown Object (File)
Sat, Oct 19, 4:41 PM
Unknown Object (File)
Sat, Oct 19, 4:27 PM
Unknown Object (File)
Oct 16 2024, 8:42 PM
Unknown Object (File)
Sep 12 2024, 2:16 AM
Unknown Object (File)
Sep 4 2024, 5:37 PM
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 Not Applicable
Unit
Tests Not Applicable