regarding journaling mode

rakesh patel patelrakeshcomp at gmail.com
Mon Jul 6 21:51:16 CDT 2015


How metadata is committed only after data? Is there any other file system feature? Because write back mode does not preserve it?

Rakesh

-----Original Message-----
From: "Dave Chinner" <david at fromorbit.com>
Sent: ‎07-‎07-‎2015 05:59
To: "Rakesh Patel" <patelrakeshcomp at gmail.com>
Cc: "xfs at oss.sgi.com" <xfs at oss.sgi.com>
Subject: Re: regarding journaling mode

On Mon, Jul 06, 2015 at 11:38:32AM +0530, Rakesh Patel wrote:
> Hi,
> 
> I come to know XFS is using writeback journaling mode.

Can you explain how you came to that conclusion?

> As per the
> journaling guide, writeback is unsafe which does not preserve data and
> metadata write synchronization.

What journalling guide would that be? Please quote your sources when
asking questions.

> I really want to know reason behind to choose writeback mode for journaling
> in XFS.

Metadata updates after data IO completion are used instead of
ordering data writeback operations through the journal.

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20150707/50a983ac/attachment.html>


More information about the xfs mailing list