HomeFreeBSD

gmirror: Write an updated syncid before queuing writes.

Description

gmirror: Write an updated syncid before queuing writes.

When a syncid bump is pending, any write to the mirror results in the
updated syncid being written to each component's metadata block. However,
the update was only being performed after the writes to the mirror
componenents were queued. Instead, synchronously update the metadata block
first.

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

Details

Provenance
markjAuthored on
Parents
rS306743: gmirror: Bump the syncid if broken disks are found during startup.
Branches
Unknown
Tags
Unknown