[Bug 236504] [gmirror][UFS2] "Superblock check-hash failed" messages seen

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 6 18:10:54 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236504

--- Comment #13 from commit-hook at freebsd.org ---
A commit references this bug:

Author: mckusick
Date: Tue Aug  6 18:10:34 UTC 2019
New revision: 350651
URL: https://svnweb.freebsd.org/changeset/base/350651

Log:
  A race condition existed between the time a UFS/FFS superblock check
  hash was computed and the time that the superblock was copied to a
  buffer to be written to disk. The result was a failed superblock
  check hash the next time that the superblock was read.

  The fix is to compute the check hash after the superblock has been
  copied to a buffer to be written.

  PR:           236504
  Reported by:  Peter Holm
  Tested by:    Peter Holm
  Sponsored by: Netflix

Changes:
  head/sys/ufs/ffs/ffs_vfsops.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list