HomeFreeBSD

Make encrypted "zfs mount -a" failures consistent

Description

Make encrypted "zfs mount -a" failures consistent

Currently, "zfs mount -a" will print a warning and fail to mount
any encrypted datasets that do not have a key loaded. This patch
makes the behavior of this failure consistent with other failure
modes ("zfs mount -a" will silently continue, explict "zfs mount"
will print a message and return an error code.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7382

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Apr 6 2018, 8:28 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 6 2018, 8:28 PM
Parents
rG533ea0415bd7: Update mmp_delay on sync or skipped, failed write
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG1bf9a552bb52: Make encrypted "zfs mount -a" failures consistent (authored by Tom Caputi <tcaputi@datto.com>).Apr 6 2018, 8:28 PM