HomeFreeBSD

zfs: cancel TRIM or initialize on FAULTED non-writeable vdevs

Description

zfs: cancel TRIM or initialize on FAULTED non-writeable vdevs

From the openzfs commit message:

When a device which is actively trimming or initializing becomes
FAULTED, and therefore no longer writable, cancel the active
TRIM or initialization.  When the device is merely taken offline
with `zpool offline` then stop the operation but do not cancel it.
When the device is brought back online the operation will be
resumed if possible.

Obtained from: openzfs/zfs@bedbc13daa6dfe9e0221bfadb8d8db2378deaacc
MFS after: 3 days

(direct commit)

Details

Provenance
mmAuthored on Mar 3 2021, 1:38 AM
Parents
rG19049a2b2bd7: zfs: fix assert in FreeBSD-specific dmu_read_pages
Branches
Unknown
Tags
Unknown