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

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


commit 69e16cfc145d9cf414c211ac3dc5170720c08639
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/69e16cfc145d9cf414c211ac3dc5170720c08639


-- 
DragonFly BSD source repository



More information about the Commits mailing list