[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080614085338.GC11866@skywalker>
Date: Sat, 14 Jun 2008 14:23:38 +0530
From: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>
To: Gary Hawco <ghawco@....net>
Cc: "Theodore Ts'o" <tytso@....edu>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: Re: How to switch ext4 to ordered_data mode
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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists