diff options
author | 2009-10-14 01:33:22 +0000 | |
---|---|---|
committer | 2009-10-14 01:33:22 +0000 | |
commit | 7593397169aaaee49a6a1db069945a8139430cc0 (patch) | |
tree | df881a7f939539aab8578ddc490453145b56babb /usr.bin/tmux/cmd.c | |
parent | Start doing the neccessary operations in the detach function in the right order. (diff) | |
download | wireguard-openbsd-7593397169aaaee49a6a1db069945a8139430cc0.tar.xz wireguard-openbsd-7593397169aaaee49a6a1db069945a8139430cc0.zip |
rework how devids are handled in the midlayer and mpath.
previously a devid was a structure containing its type, length, and
a pointer to the actual devid value. this has been changed so a
devid is a header followed immediately by the memory making up the
id value. this allows the header and its value to be allocated
together.
devids are now reference counted, so multiple things (eg, the mpath
node handlers and the various scsi_link structures) can share the
same allocation safely. this also frees devids when scsi_links go
away, which was previously not done.
if mpath is enabled, then print the devids out as part of the devices
attach line.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
0 files changed, 0 insertions, 0 deletions