linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* XFS journal write ordering constraints?
@ 2017-06-08 15:42 Sweet Tea Dorminy
  2017-06-09 12:38 ` Brian Foster
  2017-06-09 23:44 ` Dave Chinner
  0 siblings, 2 replies; 14+ messages in thread
From: Sweet Tea Dorminy @ 2017-06-08 15:42 UTC (permalink / raw)
  To: linux-xfs

Greetings;

When using XFS with a 1k block size atop our device, we regularly get
"log record CRC mismatch"es when mounting XFS after a crash, and we
are attempting to understand why. We are using RHEL7.3 with its kernel
3.10.0-514.10.2.el7.x86_64, xfsprogs version 4.5.0.

Tracing indicates the following situation occurs:
       Some pair of consecutive locations contains data A1 and B1, respectively.
       The XFS journal issues new writes to those locations,
containing data A2 and B2.
       The write of B' finishes, but A' is still outstanding at the
time of the crash.
       Crash occurs. The data on disk is A1 and B2, respectively.
       XFS fails to mount, complaining that the checksum mismatches.

Does XFS expect sequentially issued journal IO to be committed to disk
in the order of issuance due to the use of FUA?

Thanks!

Sweet Tea Dorminy
Permabit Technology Corporation
Cambridge, MA

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-06-16 13:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-08 15:42 XFS journal write ordering constraints? Sweet Tea Dorminy
2017-06-09 12:38 ` Brian Foster
2017-06-09 17:30   ` Brian Foster
2017-06-09 23:44 ` Dave Chinner
2017-06-10  2:06   ` Sweet Tea Dorminy
2017-06-12 14:55     ` Brian Foster
2017-06-12 16:18       ` Brian Foster
2017-06-15 22:28         ` Sweet Tea Dorminy
2017-06-16 13:42           ` Brian Foster
2017-06-12 23:50     ` Dave Chinner
2017-06-13 14:14       ` Sweet Tea Dorminy
2017-06-13 22:16         ` Dave Chinner
2017-06-14  6:46           ` Christoph Hellwig
2017-06-13 16:29       ` Brian Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).