[Midnightbsd-cvs] [MidnightBSD/src] ae8197: MFZoL: Fix resilver writes in vdev_indirect_io_start

Lucas Holt noreply at github.com
Sun Nov 15 02:06:38 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: ae8197c23b6e631ef6ff3166da2abd7ce3b9797c
      https://github.com/MidnightBSD/src/commit/ae8197c23b6e631ef6ff3166da2abd7ce3b9797c
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c

  Log Message:
  -----------
  MFZoL: Fix resilver writes in vdev_indirect_io_start

This patch addresses an issue found in ztest where resilver
write zios that were passed to an indirect vdev would end up
being handled as though they were resilver read zios. This
caused issues where the zio->io_abd would be both read to
and written from at the same time, causing asserts to fail.




More information about the Midnightbsd-cvs mailing list