HomeFreeBSD

vdev_mirror: load balancing fixes

Description

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

Details

Provenance
Gvozden Neskovic <neskovic@gmail.com>Authored on Aug 4 2017, 9:29 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 21 2017, 5:05 PM
Parents
rG133a5c6598dd: zimport.sh: Allow custom pool create options
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd6c6590c5dd7: vdev_mirror: load balancing fixes (authored by Gvozden Neskovic <neskovic@gmail.com>).Aug 21 2017, 5:05 PM