* Re: regarding journaling mode
@ 2015-07-09 4:48 Rakesh Patel
2015-07-09 8:46 ` Jan Kara
2015-07-09 13:32 ` Emmanuel Florac
0 siblings, 2 replies; 8+ messages in thread
From: Rakesh Patel @ 2015-07-09 4:48 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 226 bytes --]
https://www.kernel.org/doc/Documentation/filesystems/ext4.txt
data=writeback Data ordering is not preserved, data may be written
into the main file system after its metadata has been
committed to the journal.
Rakesh
[-- Attachment #1.2: Type: text/html, Size: 368 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: regarding journaling mode
2015-07-09 4:48 regarding journaling mode Rakesh Patel
@ 2015-07-09 8:46 ` Jan Kara
2015-07-09 11:47 ` Rakesh Patel
2015-07-09 13:32 ` Emmanuel Florac
1 sibling, 1 reply; 8+ messages in thread
From: Jan Kara @ 2015-07-09 8:46 UTC (permalink / raw)
To: Rakesh Patel; +Cc: xfs
On Thu 09-07-15 10:18:55, Rakesh Patel wrote:
> https://www.kernel.org/doc/Documentation/filesystems/ext4.txt
>
> data=writeback Data ordering is not preserved, data may be written
> into the main file system after its metadata has been
> committed to the journal.
But this is about ext4, not xfs. XFS works differently and provides
necessary data safety guarantees.
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: regarding journaling mode
2015-07-09 8:46 ` Jan Kara
@ 2015-07-09 11:47 ` Rakesh Patel
0 siblings, 0 replies; 8+ messages in thread
From: Rakesh Patel @ 2015-07-09 11:47 UTC (permalink / raw)
To: Jan Kara; +Cc: xfs
[-- Attachment #1.1: Type: text/plain, Size: 670 bytes --]
Ok. Thanks for your information.
On Thu, Jul 9, 2015 at 2:16 PM, Jan Kara <jack@suse.cz> wrote:
> On Thu 09-07-15 10:18:55, Rakesh Patel wrote:
> > https://www.kernel.org/doc/Documentation/filesystems/ext4.txt
> >
> > data=writeback Data ordering is not preserved, data may
> be written
> > into the main file system after its metadata has
> been
> > committed to the journal.
>
> But this is about ext4, not xfs. XFS works differently and provides
> necessary data safety guarantees.
>
> Honza
> --
> Jan Kara <jack@suse.cz>
> SUSE Labs, CR
>
[-- Attachment #1.2: Type: text/html, Size: 1335 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: regarding journaling mode
2015-07-09 4:48 regarding journaling mode Rakesh Patel
2015-07-09 8:46 ` Jan Kara
@ 2015-07-09 13:32 ` Emmanuel Florac
1 sibling, 0 replies; 8+ messages in thread
From: Emmanuel Florac @ 2015-07-09 13:32 UTC (permalink / raw)
To: Rakesh Patel; +Cc: xfs
Le Thu, 9 Jul 2015 10:18:55 +0530
Rakesh Patel <patelrakeshcomp@gmail.com> écrivait:
> https://www.kernel.org/doc/Documentation/filesystems/ext4.txt
>
> data=writeback Data ordering is not preserved, data
> may be written into the main file system after its metadata has been
> committed to the journal.
First, this is ext4, not xfs. However XFS behaves the same way, that
is, it may update metadata BEFORE the data has been committed to disk.
This has been the standard behaviour of all filesystems since linux
2.6.30 I guess.
If you're interested in the details, search for O_PONIES on the web...
--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
* regarding journaling mode
@ 2015-07-06 6:08 Rakesh Patel
2015-07-07 0:24 ` Dave Chinner
0 siblings, 1 reply; 8+ messages in thread
From: Rakesh Patel @ 2015-07-06 6:08 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 286 bytes --]
Hi,
I come to know XFS is using writeback journaling mode. As per the
journaling guide, writeback is unsafe which does not preserve data and
metadata write synchronization.
I really want to know reason behind to choose writeback mode for journaling
in XFS.
Thanks.
Regards,
Rakesh
[-- Attachment #1.2: Type: text/html, Size: 399 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: regarding journaling mode
2015-07-06 6:08 Rakesh Patel
@ 2015-07-07 0:24 ` Dave Chinner
2015-07-07 2:51 ` rakesh patel
2015-07-09 2:43 ` rakesh patel
0 siblings, 2 replies; 8+ messages in thread
From: Dave Chinner @ 2015-07-07 0:24 UTC (permalink / raw)
To: Rakesh Patel; +Cc: xfs
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@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: regarding journaling mode
2015-07-07 0:24 ` Dave Chinner
@ 2015-07-07 2:51 ` rakesh patel
2015-07-09 2:43 ` rakesh patel
1 sibling, 0 replies; 8+ messages in thread
From: rakesh patel @ 2015-07-07 2:51 UTC (permalink / raw)
To: Dave Chinner; +Cc: xfs
[-- Attachment #1.1: Type: text/plain, Size: 1052 bytes --]
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@fromorbit.com>
Sent: 07-07-2015 05:59
To: "Rakesh Patel" <patelrakeshcomp@gmail.com>
Cc: "xfs@oss.sgi.com" <xfs@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@fromorbit.com
[-- Attachment #1.2: Type: text/html, Size: 2179 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: regarding journaling mode
2015-07-07 0:24 ` Dave Chinner
2015-07-07 2:51 ` rakesh patel
@ 2015-07-09 2:43 ` rakesh patel
1 sibling, 0 replies; 8+ messages in thread
From: rakesh patel @ 2015-07-09 2:43 UTC (permalink / raw)
To: Dave Chinner; +Cc: xfs-owner, xfs
[-- Attachment #1.1: Type: text/plain, Size: 1048 bytes --]
How Metadata updates after data IO completion done? Write back mode does not support synchronization?
Is there any other feature ??
-----Original Message-----
From: "Dave Chinner" <david@fromorbit.com>
Sent: 07-07-2015 05:59
To: "Rakesh Patel" <patelrakeshcomp@gmail.com>
Cc: "xfs@oss.sgi.com" <xfs@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@fromorbit.com
[-- Attachment #1.2: Type: text/html, Size: 2175 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-07-09 13:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 4:48 regarding journaling mode Rakesh Patel
2015-07-09 8:46 ` Jan Kara
2015-07-09 11:47 ` Rakesh Patel
2015-07-09 13:32 ` Emmanuel Florac
-- strict thread matches above, loose matches on Subject: below --
2015-07-06 6:08 Rakesh Patel
2015-07-07 0:24 ` Dave Chinner
2015-07-07 2:51 ` rakesh patel
2015-07-09 2:43 ` rakesh patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox