]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move nvmecontrol to using linker sets for commands
authorimp <imp@FreeBSD.org>
Sun, 2 Dec 2018 23:10:55 +0000 (23:10 +0000)
committerimp <imp@FreeBSD.org>
Sun, 2 Dec 2018 23:10:55 +0000 (23:10 +0000)
commit86a581c3cea8d34ecb1a5d1d1e6d4438fc607853
tree6b8e07e4be99156ce702c4508618a240ad7bb32b
parent6fb7a3e7ca72be69aa8e80eff2f383b1c124db81
Move nvmecontrol to using linker sets for commands

More commands will be added to nvmecontrol. Also, there will be a few
more vendor commands (some of which may need to remain private to
companies writing them). The first step on that journey is to move to
using linker sets to dispatch commands. The next step will be using
dlopen to bring in the .so's that have the command that might need
to remain private for seamless integration.

Similar changes to this will be needed for vendor specific log pages.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D18403
12 files changed:
sbin/nvmecontrol/devlist.c
sbin/nvmecontrol/firmware.c
sbin/nvmecontrol/format.c
sbin/nvmecontrol/identify.c
sbin/nvmecontrol/logpage.c
sbin/nvmecontrol/ns.c
sbin/nvmecontrol/nvmecontrol.c
sbin/nvmecontrol/nvmecontrol.h
sbin/nvmecontrol/perftest.c
sbin/nvmecontrol/power.c
sbin/nvmecontrol/reset.c
sbin/nvmecontrol/wdc.c