summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2014-06-24 00:25:35 +0400
committerJens Axboe <axboe@fb.com>2014-11-04 23:17:07 +0300
commitbadc34d4154de81b965629a5c3110e058eb8ca2b (patch)
tree60c23d2aaf46491087d8c005938f6d5e9655417a /tools/perf/scripts/python/net_dropmonitor.py
parent01079522f94b3a1c87cfa375be3917d2da6e6363 (diff)
downloadlinux-badc34d4154de81b965629a5c3110e058eb8ca2b.tar.xz
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/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions