git: natacontrol(8): Add commands to tweak power/acoustic management features.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Mar 23 12:23:06 PDT 2013


commit 60779d5f0ef193c344ad0eb831f9c3e5b1e15b22
Author: Sascha Wildner <saw at online.de>
Date:   Sat Mar 23 20:21:29 2013 +0100

    natacontrol(8): Add commands to tweak power/acoustic management features.
    
    Sometimes disks designed to operate in low power mode by default
    constantly spin up/down during operation which leads to reduced
    performance.
    
    This commit adds the 'feature' command to natacontrol(8) which
    can be used to tweak the 'advanced power management' and 'automatic
    acoustic management' features. Their current setting could already
    be viewed before this commit using the 'natacontrol cap' command.
    
    I'd like this to be possible with camcontrol(8) too for CAM attached
    disks, but afaict these are ATA specific features so I guess we'd
    have to integrate ATA into CAM too before that is possible.
    
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2531>
    Reported-by:   Maurizio Lombardi <m.lombardi85 at gmail.com>
    Taken-from:    FreeBSD PR 81692
    Tested-by:     Maurizio Lombardi <m.lombardi85 at gmail.com>

Summary of changes:
 sbin/natacontrol/natacontrol.8 | 59 ++++++++++++++++++++++++++++++--
 sbin/natacontrol/natacontrol.c | 76 ++++++++++++++++++++++++++++++++++++++++++
 sys/sys/nata.h                 |  4 +++
 3 files changed, 137 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/60779d5f0ef193c344ad0eb831f9c3e5b1e15b22


-- 
DragonFly BSD source repository



More information about the Commits mailing list