HomeFreeBSD

zfsd: Check for error from zpool_vdev_online

Description

zfsd: Check for error from zpool_vdev_online

Onlining a vdev can fail. Log the error if it does.

Reviewed by: mav, asomers
MFC after: 1 week
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D30882

(cherry picked from commit 53b438b2425c374f6147ac80b3330a9ec08432bb)

Details

Provenance
freqlabsAuthored on Jul 6 2021, 4:00 PM
Reviewer
mav
Differential Revision
D30882: zfsd: Check for error from zpool_vdev_online
Parents
rGc38e334b175c: nvme(4): Report NPWA before NPWG as stripesize.
Branches
Unknown
Tags
Unknown