HomeFreeBSD

Fix ZIL records ordering when ZVOL opened both with and without FSYNC.

Description

Fix ZIL records ordering when ZVOL opened both with and without FSYNC.

Before this an earlier writes to a ZVOL opened without FSYNC could get to
ZIL after later writes to the same ZVOL opened with FSYNC. Fix this by
replicating functionality of ZPL (zv_sync_cnt equivalent to z_sync_cnt),
marking all log records sync if anybody opened the ZVOL with FSYNC.

MFC after: 2 weeks

Details

Provenance
mavAuthored on
Parents
rS308172: libm: add braces around initialization of subobjects
Branches
Unknown
Tags
Unknown