]> git.proxmox.com Git - mirror_zfs.git/commit
OpenZFS 6531 - Provide mechanism to artificially limit disk performance
authorTony Hutter <hutter2@llnl.gov>
Mon, 23 May 2016 17:41:29 +0000 (10:41 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 May 2016 17:11:51 +0000 (10:11 -0700)
commit26ef0cc7db03be6f7a5c2d06c7ecdb2449bfa9e1
tree859a6fe7d768402ced116fcdf5c01981cdaa73f3
parent7e945072d18541fb0c30e05b46cce14d01fea8aa
OpenZFS 6531 - Provide mechanism to artificially limit disk performance

Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Ported by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
OpenZFS-issue: https://www.illumos.org/issues/6531
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/97e8130

Porting notes:
- Added new IO delay tracepoints, and moved common ZIO tracepoint macros
  to a new trace_common.h file.
- Used zio_delay_taskq() in place of OpenZFS's timeout_generic() function.
- Updated zinject man page
- Updated zpool_scrub test files
18 files changed:
cmd/zinject/zinject.c
include/sys/Makefile.am
include/sys/trace_arc.h
include/sys/trace_common.h [new file with mode: 0644]
include/sys/trace_zio.h [new file with mode: 0644]
include/sys/zfs_ioctl.h
include/sys/zio.h
man/man8/zinject.8
module/zfs/trace.c
module/zfs/vdev_disk.c
module/zfs/vdev_file.c
module/zfs/vdev_queue.c
module/zfs/zio.c
module/zfs/zio_inject.c
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/setup.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_002_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_003_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_004_pos.ksh