]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/vdev_queue.c
vdev_mirror: load balancing fixes
authorGvozden Neskovic <neskovic@gmail.com>
Fri, 4 Aug 2017 09:29:56 +0000 (11:29 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 21 Aug 2017 17:05:16 +0000 (10:05 -0700)
commitd6c6590c5dd727832a58e77f7830049631b0c266
tree8c93caff9a7b52c60764fc355f2931b1265e4697
parent133a5c6598ddc858f5b7ecedaf1364fcfe2e477f
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 <behlendorf1@llnl.gov>
Signed-off-by: Gvozden Neskovic <neskovic@gmail.com>
Closes #6461
include/sys/vdev.h
include/sys/vdev_impl.h
module/zfs/vdev_mirror.c
module/zfs/vdev_queue.c