HomeFreeBSD

Relax error reporting in zpool import and zpool split

Description

Relax error reporting in zpool import and zpool split

For zpool import and zpool split, zpool_enable_datasets is called
to mount and share all datasets in a pool. If there is an error
while mounting or sharing any dataset in the pool, the status of
import or split is reported as failure. However, the changes do
show up in zpool list.

This commit updates the error reporting in zpool import and zpool
split path. More descriptive messages are shown to user in case
there is an error during mount or share. Errors in mount or share
do not effect the overall status of zpool import and zpool split.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #15216

Details

Provenance
Umer Saleem <usaleem@ixsystems.com>Authored on Sep 2 2023, 12:25 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 2 2023, 5:30 PM
Parents
rG79ac1b29d5b5: ZIL: Change ZIOs issue order.
Branches
Unknown
Tags
Unknown