]> granicus.if.org Git - zfs/commit
OpenZFS 9192 - explicitly pass good_writes to vdev_uberblock/label_sync
authorMatthew Ahrens <mahrens@delphix.com>
Fri, 16 Dec 2016 18:31:01 +0000 (10:31 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 17 Apr 2018 17:45:47 +0000 (10:45 -0700)
commit7f96cc23acf78a325897498b91416b7831a539e3
tree4585f722704837dc6fcdf9bd6b122ebe980bd18e
parentd830d4795a210b5ba85482fe26909e64857af763
OpenZFS 9192 - explicitly pass good_writes to vdev_uberblock/label_sync

Authored by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Richard Lowe <richlowe@richlowe.net>
Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Currently vdev_label_sync and vdev_uberblock_sync take a zio_t and assume
that its io_private is a pointer to the good_writes count. They should
instead accept this argument explicitly.

OpenZFS-issue: https://www.illumos.org/issues/9192
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/3f4c0b602d
Closes #7446
module/zfs/vdev_label.c