Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2019 18:10:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 236504] [gmirror][UFS2] "Superblock check-hash failed" messages seen
Message-ID:  <bug-236504-3630-0OGV5kfwct@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236504-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236504-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236504

--- Comment #13 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236504-3630-0OGV5kfwct>