diff options
author | mav <mav@FreeBSD.org> | 2016-03-21 00:13:39 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-03-21 00:13:39 +0000 |
commit | dbe6d3f59a3f5366e13fc7751ef5c3b1e4ecc95a (patch) | |
tree | 7c6ddf862956dd90c784ee801b3b2b641a011eb7 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c | |
parent | 9a698f756ea29639b283ef5bedead6089ab3fbb4 (diff) | |
download | FreeBSD-src-dbe6d3f59a3f5366e13fc7751ef5c3b1e4ecc95a.zip FreeBSD-src-dbe6d3f59a3f5366e13fc7751ef5c3b1e4ecc95a.tar.gz |
MFC r296510, r296563, r296567: MFV r296505:
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>
Author: Prakash Surya <prakash.surya@delphix.com>
illumos/illumos-gate@97e81309571898df9fdd94aab1216dfcf23e060b
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c index 9f83abb..7a07911 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c @@ -883,9 +883,6 @@ vdev_queue_io_done(zio_t *zio) vdev_queue_t *vq = &zio->io_vd->vdev_queue; zio_t *nio; - if (zio_injection_enabled) - delay(SEC_TO_TICK(zio_handle_io_delay(zio))); - mutex_enter(&vq->vq_lock); vdev_queue_pending_remove(vq, zio); |