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

Tomohiro Kusumi kusumi.tomohiro at gmail.com
Tue Apr 10 08:22:20 PDT 2018


2018-04-10 22:13 GMT+09:00 Sascha Wildner <swildner at crater.dragonflybsd.org>:
>
> 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.

This change is now in fio upstream.
https://github.com/axboe/fio/commit/4fe721ac83e84df7c6be07394d1963fd1ec5d9a6

>
> 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