aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/vdev_disk.c
diff options
context:
space:
mode:
authorTony Hutter <hutter2@llnl.gov>2016-05-23 17:41:29 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2016-05-26 17:11:51 +0000
commit26ef0cc7db03be6f7a5c2d06c7ecdb2449bfa9e1 (patch)
tree859a6fe7d768402ced116fcdf5c01981cdaa73f3 /module/zfs/vdev_disk.c
parent7e945072d18541fb0c30e05b46cce14d01fea8aa (diff)
downloadsrc-26ef0cc7db03be6f7a5c2d06c7ecdb2449bfa9e1.tar.gz
src-26ef0cc7db03be6f7a5c2d06c7ecdb2449bfa9e1.zip
Diffstat (limited to 'module/zfs/vdev_disk.c')
-rw-r--r--module/zfs/vdev_disk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/zfs/vdev_disk.c b/module/zfs/vdev_disk.c
index 4e362226a880..1ef54d3899f9 100644
--- a/module/zfs/vdev_disk.c
+++ b/module/zfs/vdev_disk.c
@@ -23,7 +23,7 @@
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Rewritten for Linux by Brian Behlendorf <behlendorf1@llnl.gov>.
* LLNL-CODE-403049.
- * Copyright (c) 2012, 2014 by Delphix. All rights reserved.
+ * Copyright (c) 2012, 2015 by Delphix. All rights reserved.
*/
#include <sys/zfs_context.h>
@@ -414,7 +414,7 @@ vdev_disk_dio_put(dio_request_t *dr)
ASSERT3S(zio->io_error, >=, 0);
if (zio->io_error)
vdev_disk_error(zio);
- zio_interrupt(zio);
+ zio_delay_interrupt(zio);
}
}
@@ -726,6 +726,7 @@ vdev_disk_io_start(zio_t *zio)
return;
}
+ zio->io_target_timestamp = zio_handle_io_delay(zio);
error = __vdev_disk_physio(vd->vd_bdev, zio, zio->io_data,
zio->io_size, zio->io_offset, flags, 0);
if (error) {