Merge ~kissiel/plainbox-provider-checkbox:apste-support-job into plainbox-provider-checkbox:master
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 8ec9087948a297c6449cd6f4ad271ebf95cfb8c7 |
Merged at revision: | 0b8af69d69af9885902753dcb4d11fb06c381810 |
Proposed branch: | ~kissiel/plainbox-provider-checkbox:apste-support-job |
Merge into: | plainbox-provider-checkbox:master |
Diff against target: |
27 lines (+15/-0) 1 file modified
jobs/disk.txt.in (+15/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pierre Equoy | Approve | ||
Sylvain Pineau (community) | Approve | ||
Maciej Kisielewski | Needs Resubmitting | ||
Jeff Lane | Needs Fixing | ||
Review via email: mp+321439@code.launchpad.net |
Description of the change
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.
To test it, use a machine with an NVMe drive.
It should fail on generic kernel, to make it pass you have to use this one:
http://
You linked the wrong bug :)