git: kernel/nata: Return more data for natacontrol(8).

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Dec 31 13:52:42 PST 2017


commit 9243051b18a506f2237f125978aa0a5f3a4ba60e
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Nov 24 17:17:16 2017 +0200

    kernel/nata: Return more data for natacontrol(8).
    
     * include info about backing subdisks
     * use last 16 bytes of serial number in meta (as MatrixRAID does)
     * add optional automatc spindown/spinup support (dmesg noisy)
     * various cleanups
     * natacontrol(8) additions + cleanup
    
    Taken-from: FreeBSD

Summary of changes:
 sbin/natacontrol/Makefile      |   1 -
 sbin/natacontrol/natacontrol.8 |  14 +-
 sbin/natacontrol/natacontrol.c | 311 ++++++++++++++++++++++-------------------
 sys/dev/disk/nata/ata-all.c    |   8 +-
 sys/dev/disk/nata/ata-all.h    |   4 +
 sys/dev/disk/nata/ata-disk.c   |  58 +++++++-
 sys/dev/disk/nata/ata-disk.h   |   9 +-
 sys/dev/disk/nata/ata-queue.c  |   9 +-
 sys/dev/disk/nata/ata-raid.c   |  89 +++++++-----
 sys/dev/disk/nata/ata-raid.h   |  11 +-
 sys/sys/nata.h                 |  21 ++-
 11 files changed, 335 insertions(+), 200 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9243051b18a506f2237f125978aa0a5f3a4ba60e


-- 
DragonFly BSD source repository


More information about the Commits mailing list