[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sqlite-users
Subject:    Re: [sqlite] Database corruption on Linux ext3
From:       Chris Wedgwood <cw () f00f ! org>
Date:       2010-07-16 15:12:50
Message-ID: 20100716151250.GA4745 () puku ! stupidest ! org
[Download RAW message or body]

On Thu, Jul 15, 2010 at 10:20:22PM +0200, Florian Weimer wrote:

> It's a generic Linux problem, not an ext3-specific issue.  Until
> recently, the Linux block layer had no concept of a sync operation.
> Linux basically assumed that all writes were synchronous and ordered,
> which they are not if your hardware has (non-transparent) write
> caches.  It did not disable write caching by default, either.

For quite some time, ext3 in mainline and most distro's defaulted to
nobarrier (barrier=0) --- the only exception to this I'm aware of was
SLES.

Mainline switched to having barriers on by default, I assume the
distro's have or will follow.

Some other filesystems (XFS for example) have had barriers enabled by
default.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic