diff options
author | Gvozden Neskovic <[email protected]> | 2017-08-04 11:29:56 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-08-21 10:05:16 -0700 |
commit | d6c6590c5dd727832a58e77f7830049631b0c266 (patch) | |
tree | 8c93caff9a7b52c60764fc355f2931b1265e4697 /include/sys/vdev_impl.h | |
parent | 133a5c6598ddc858f5b7ecedaf1364fcfe2e477f (diff) |
vdev_mirror: load balancing fixes
vdev_queue:
- Track the last position of each vdev, including the io size,
in order to detect linear access of the following zio.
- Remove duplicate `vq_lastoffset`
vdev_mirror:
- Correctly calculate the zio offset (signedness issue)
- Deprecate `vdev_queue_register_lastoffset()`
- Add `VDEV_LABEL_START_SIZE` to zio offset of leaf vdevs
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Gvozden Neskovic <[email protected]>
Closes #6461
Diffstat (limited to 'include/sys/vdev_impl.h')
-rw-r--r-- | include/sys/vdev_impl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sys/vdev_impl.h b/include/sys/vdev_impl.h index 7c5e54b08..4c2e3cd2e 100644 --- a/include/sys/vdev_impl.h +++ b/include/sys/vdev_impl.h @@ -127,7 +127,6 @@ struct vdev_queue { hrtime_t vq_io_delta_ts; zio_t vq_io_search; /* used as local for stack reduction */ kmutex_t vq_lock; - uint64_t vq_lastoffset; }; /* |