linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* xfs log write design
@ 2018-08-30 16:27 Joshi
  2018-08-31  0:33 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Joshi @ 2018-08-30 16:27 UTC (permalink / raw)
  To: linux-xfs

This must be novice topic for the list, please excuse the ignorance.

When it comes to log write scheme in XFS, I wonder if I can draw
parallel with any journaling mode of Ext4 (ordered or writeback)?
I checked xlog_sync() code, and found that each log IO is marked with
PREFLUSH and FUA (for internal log case).
This perhaps makes it similar to "ordered" journal mode of Ext4.
But I am not sure about exact intent of choosing PREFLUSH for log
write i.e.whether it is for all previous non-log IO (meta and data) or
only for meta-IO. Nor I am sure whether xfs makes a conscious choice
to issue data writes before meta or journal I/Os.


Thanks,
-- 
Joshi

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

end of thread, other threads:[~2018-08-31  4:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-30 16:27 xfs log write design Joshi
2018-08-31  0:33 ` Dave Chinner

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).