git: Move the IOCTLTRIM ioctl to a better header and rename it to DAIOCTRIM.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Apr 10 06:13:13 PDT 2018


commit 32506cfa691f80faa47486d6f94a98ae12387eeb
Author: Sascha Wildner <saw at online.de>
Date:   Tue Apr 10 15:11:49 2018 +0200

    Move the IOCTLTRIM ioctl to a better header and rename it to DAIOCTRIM.
    
    <sys/ioctl_compat.h> really is only for old tty related stuff.
    
    Also bump __DragonFly_version, because there is one port which uses
    IOCTLTRIM currently, i.e. benchmarks/fio. We'll send a patch upstream
    that switches it to DAIOCTRIM, and once the updated version has hit
    the /usr/dports tree, I will remove IOCTLTRIM from base.

Summary of changes:
 sbin/fdisk/fdisk.c                                  |  5 +++--
 sbin/newfs/mkfs.c                                   |  5 +++--
 sbin/newfs_hammer/newfs_hammer.c                    |  5 +++--
 sbin/swapon/swapon.c                                |  5 +++--
 sys/bus/cam/scsi/scsi_da.c                          |  2 ++
 include/bitstring.h => sys/bus/cam/scsi/scsi_daio.h | 12 +++++++-----
 sys/sys/param.h                                     |  3 ++-
 7 files changed, 23 insertions(+), 14 deletions(-)
 copy include/bitstring.h => sys/bus/cam/scsi/scsi_daio.h (86%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32506cfa691f80faa47486d6f94a98ae12387eeb


-- 
DragonFly BSD source repository


More information about the Commits mailing list