]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zio: rename ZIO_TYPE_IOCTL to ZIO_TYPE_FLUSH
authorRob Norris <rob.norris@klarasystems.com>
Thu, 4 Apr 2024 11:35:00 +0000 (22:35 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 12 Apr 2024 00:17:23 +0000 (17:17 -0700)
commitd7605ae77b7ad176e8dbd5649fe4d14f5f4e8b9f
tree97187dbd9af71666f81b285e5d0028e54bac8a3f
parentb613709c46bcc0d190c0d67c739ef3f8722d76b2
zio: rename ZIO_TYPE_IOCTL to ZIO_TYPE_FLUSH

The only possible ioctl is a flush, and any other kind of meta-operation
introduced in the future is likely to have different semantics (much
like trim did). So, lets just call it what it is.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16064
13 files changed:
cmd/zinject/zinject.c
include/sys/fs/zfs.h
include/sys/zio_impl.h
man/man8/zpool-events.8
module/os/freebsd/zfs/vdev_file.c
module/os/freebsd/zfs/vdev_geom.c
module/os/linux/zfs/vdev_disk.c
module/os/linux/zfs/vdev_file.c
module/zfs/spa.c
module/zfs/vdev.c
module/zfs/vdev_draid.c
module/zfs/zio.c
module/zfs/zio_inject.c