summaryrefslogtreecommitdiff
path: root/tools/time
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2014-06-23 14:25:35 -0600
committerJens Axboe <axboe@fb.com>2014-11-04 13:17:07 -0700
commitbadc34d4154de81b965629a5c3110e058eb8ca2b (patch)
tree60c23d2aaf46491087d8c005938f6d5e9655417a /tools/time
parent01079522f94b3a1c87cfa375be3917d2da6e6363 (diff)
downloadlwn-badc34d4154de81b965629a5c3110e058eb8ca2b.tar.gz
lwn-badc34d4154de81b965629a5c3110e058eb8ca2b.zip
NVMe: Handling devices incapable of I/O
This is a minor refactor for handling devices that are incapable of IO. The driver previously used special error codes to know that IO queues are unavailable, but we have an online queue count now. This also fixes an issue where the driver successfully sets the queue count, but either is unable to allocate an IO queue or the device can't create one for some reason. If the driver can successfully enable the device and get responses to admin commands, the driver will bring up a character device for managment but not create block devices. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/time')
0 files changed, 0 insertions, 0 deletions