Skip to content

idle detection self-tests #134

@axet

Description

@axet

Hello!

hd-idle detection based on sector counts from /proc/diskstats and turn off the device (suspend) when here is activity. But that is not only hard drive activity going on. Hard disks can perform self tests in background without any /proc/diskstats changes.

If hd-idle ignores these activities it will be result in aborted internal tests like that:

# 2  Extended offline    Aborted by host               90%      6168         -

Since those background self-tests are executed by the user, user expect it will be finished and not aborted by some system services. It would be nice in additional to /proc/diskstas hd-idle also checks if here is any self-test going on on a drive and do not suspend it until test is completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions