summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/unlocked-io.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-11-12 23:58:07 +0000
committermav <mav@FreeBSD.org>2016-11-12 23:58:07 +0000
commit5e20e71666b91f6a7ebc59077e4315736bfb1a28 (patch)
tree0a782ec3bdea3521923c04be31918a513228b72b /contrib/diff/lib/unlocked-io.h
parentdd9903d50b424e07ad2f044b60101cb465d9baa1 (diff)
downloadFreeBSD-src-5e20e71666b91f6a7ebc59077e4315736bfb1a28.zip
FreeBSD-src-5e20e71666b91f6a7ebc59077e4315736bfb1a28.tar.gz
MFC r308173:
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.
Diffstat (limited to 'contrib/diff/lib/unlocked-io.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud