* How to switch ext4 to ordered_data mode
@ 2008-06-14 0:39 Gary Hawco
2008-06-14 8:53 ` Aneesh Kumar K.V
0 siblings, 1 reply; 2+ messages in thread
From: Gary Hawco @ 2008-06-14 0:39 UTC (permalink / raw)
To: Theodore Ts'o, linux-ext4@vger.kernel.org
Ted,
I notice that ext4dev defaults to data=writeback mode. This is in contrast
to ext3 which uses ordered data mode. Tune2fs from git does not seem to be
able to change this using "tune2fs -o ^journal_data_writeback /dev/sdaX"
followed by "tune2fs -o journal_data_ordered /dev/sdaX.
Is this change intentional or a not yet worked out bug?
Thanks,
Gary Hawco
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to switch ext4 to ordered_data mode
2008-06-14 0:39 How to switch ext4 to ordered_data mode Gary Hawco
@ 2008-06-14 8:53 ` Aneesh Kumar K.V
0 siblings, 0 replies; 2+ messages in thread
From: Aneesh Kumar K.V @ 2008-06-14 8:53 UTC (permalink / raw)
To: Gary Hawco; +Cc: Theodore Ts'o, linux-ext4@vger.kernel.org
On Sat, Jun 14, 2008 at 12:39:35AM +0000, Gary Hawco wrote:
> Ted,
>
> I notice that ext4dev defaults to data=writeback mode. This is in contrast
> to ext3 which uses ordered data mode. Tune2fs from git does not seem to be
> able to change this using "tune2fs -o ^journal_data_writeback /dev/sdaX"
> followed by "tune2fs -o journal_data_ordered /dev/sdaX.
>
> Is this change intentional or a not yet worked out bug?
>
With delayed allocation we currently support only writeback mode. We enable
delayed allocation by default with the latest patches. The intention is
to get these new features test well enough before they can be pushed
upstream. Since we enable delalloc by default we also force writeback
mode. You should be able to disable them by -o nodelalloc,data=ordered
mount option. I have patches which support ordered mode with delalloc. Once we get
those patches in we should be able to remove forcing writeback mode with delalloc.
-aneesh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-14 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-14 0:39 How to switch ext4 to ordered_data mode Gary Hawco
2008-06-14 8:53 ` Aneesh Kumar K.V
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox