summaryrefslogtreecommitdiffstats
path: root/sys/dev/nvme/nvme_test.c
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2013-03-26 22:09:51 +0000
committerjimharris <jimharris@FreeBSD.org>2013-03-26 22:09:51 +0000
commit5242be57d3d5eddc6859707cd02c511befa48366 (patch)
tree725967903e5c9ed2b6a4a7806d1dd92c05c26182 /sys/dev/nvme/nvme_test.c
parentff567ee3e1dfdf36fd8473b02ec9e68996b6c960 (diff)
downloadFreeBSD-src-5242be57d3d5eddc6859707cd02c511befa48366.zip
FreeBSD-src-5242be57d3d5eddc6859707cd02c511befa48366.tar.gz
Replace usages of mtx_pool_find used for admin commands with a polling
mechanism. Now that all requests are timed, we are guaranteed to get a completion notification, even if it is an abort status due to a timed out admin command. This has the effect of simplifying the controller and namespace setup code, so that it reads straight through rather than broken up into a bunch of different callback functions. Sponsored by: Intel Reviewed by: carl
Diffstat (limited to 'sys/dev/nvme/nvme_test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud