]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r336952: 9192 explicitly pass good_writes to vdev_uberblock/label_sync
authorAlexander Motin <mav@FreeBSD.org>
Tue, 31 Jul 2018 00:37:45 +0000 (00:37 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Tue, 31 Jul 2018 00:37:45 +0000 (00:37 +0000)
commit656d46109dc6a901c082f34150920a8916e059b0
treec9986795f79d0966881ec7097ddf31e538f5fb76
parent194000fa21629c21dd70af47b5800735d8f1f3ee
parent3741bf4deff5c58663b2089cc38011b553f4caeb
MFV r336952: 9192 explicitly pass good_writes to vdev_uberblock/label_sync

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.

illumos/illumos-gate@a3b5583021b7b45676bf1f0cc68adf7a97900b56

Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Matthew Ahrens <mahrens@delphix.com>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c