summaryrefslogtreecommitdiff
path: root/units
diff options
authorMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-03-30 00:59:21 +0200
committerMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-04-04 15:56:47 +0200
commit8ec9087948a297c6449cd6f4ad271ebf95cfb8c7 (patch)
treee5cbfe35abb95d874ada5b04a477c101f77f537f /units
parentaf7c972ea51e8ddcfbd800b5e1d640d809c697e8 (diff)
add job that checks APSTE availabilty on NVMe drives
I decided to go with device.driver == 'nvme' and device.category == 'OTHER'" template-filter to make sure only one job is generated (per controller), and that the template will be given nvmeN name (N being 0, 1..), so the check for pm_qos file would be possible. If I'd narrow it down to category == 'DISK' then the drives would be reported, like nvme0n1, which is fine for the nvme cli tool, but it would require some obscure tweaking to get 'the parent' for the sysfs check.
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions