On Mon, 2005-02-07 at 20:04 +0100, Andi Kleen wrote:
> Rick Spillane <necro351@xxxxxxxxx> writes:
>
> > Does XFS entirely follow the ACID requirements: Atomic, Consistancy,
> > Isolated, and Durability?
>
> For user data (read/write) etc. no. It follows POSIX semantics for that,
> which are much weaker. You can implemented full ACID on top of
> it though using fsync/fdatasync/O_SYNC.
that is, if your OS does actually flush data to disk with an fsync.
POSIX explicitly allows fsync to be null.
check your OS docs or look for the POSIX_SYNCHRONISED_IO #define.
Linux does sync on fsync(), MacOS X does not (for internal drives at
least).
--
Stewart Smith (stewart@xxxxxxxxxxxxxxxx)
http://www.flamingspork.com/
signature.asc
Description: This is a digitally signed message part
|