]> granicus.if.org Git - zfs/commit
vdev_mirror: load balancing fixes
authorGvozden Neskovic <neskovic@gmail.com>
Fri, 4 Aug 2017 09:29:56 +0000 (11:29 +0200)
committerTony Hutter <hutter2@llnl.gov>
Tue, 30 Jan 2018 16:27:30 +0000 (10:27 -0600)
commit06acbbc429bfe7197e5fc3a49acfeef5c37b64c8
tree5ec229be0b90cf9351d2f37cad78aa3a7de825b9
parent6116bbd7446f06d913415bdecb208a78b31db0af
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