From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Figo.zhang" Subject: Re: Disabling in-memory write cache for x86-64 in Linux II Date: Tue, 5 Nov 2013 09:40:55 +0800 Message-ID: References: <160824051.3072.1382685914055.JavaMail.mail@webmail07> <20131025214952.3eb41201@notabene.brown> <154617470.12445.1382725583671.JavaMail.mail@webmail11> <20131026074349.0adc9646@notabene.brown> <476525596.14731.1382735024280.JavaMail.mail@webmail11> <20131026091112.241da260@notabene.brown> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d98e9a21ba204ea641f13 Cc: "Artem S. Tashkinov" , david@lang.hm, lkml , Linus Torvalds , linux-fsdevel@vger.kernel.org, axboe@kernel.dk, Linux-MM To: NeilBrown Return-path: In-Reply-To: <20131026091112.241da260@notabene.brown> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org --047d7b5d98e9a21ba204ea641f13 Content-Type: text/plain; charset=ISO-8859-1 > > > > Of course, if you don't use Linux on the desktop you don't really care - > well, I do. Also > > not everyone in this world has an UPS - which means such a huge buffer > can lead to a > > serious data loss in case of a power blackout. > > I don't have a desk (just a lap), but I use Linux on all my computers and > I've never really noticed the problem. Maybe I'm just very patient, or > maybe > I don't work with large data sets and slow devices. > > However I don't think data-loss is really a related issue. Any process > that > cares about data safety *must* use fsync at appropriate places. This has > always been true. > > =>May i ask question that, some like ext4 filesystem, if some app motify the files, it create some dirty data. if some meta-data writing to the journal disk when a power backout, it will be lose some serious data and the the file will damage? --047d7b5d98e9a21ba204ea641f13 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

=
>
> Of course, if you don't use Linux on the desktop you don't rea= lly care - well, I do. Also
> not everyone in this world has an UPS - which means such a huge buffer= can lead to a
> serious data loss in case of a power blackout.

I don't have a desk (just a lap), but I use Linux on all my compu= ters and
I've never really noticed the problem. =A0Maybe I'm just very patie= nt, or maybe
I don't work with large data sets and slow devices.

However I don't think data-loss is really a related issue. =A0Any proce= ss that
cares about data safety *must* use fsync at appropriate places. =A0This has=
always been true.

=3D>May i ask question that, = some like ext4 filesystem, if some app motify the files, it create some dir= ty data. if some meta-data writing to the journal disk when a power backout= ,=A0
it will be lose some serious data and the the file will damage?
<= /div>
--047d7b5d98e9a21ba204ea641f13-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org