On Wed, Mar 28, 2007 at 06:55:17PM -0700, Anton B. Rang wrote:
> It's not defined by POSIX (or Solaris). You can rely on being able to
> atomically write a single disk block (512 bytes); anything larger than
> that is risky. Oh, and it has to be 512-byte aligned.
> 
> File systems with overwrite semantics (UFS, QFS, etc.) will never
> guarantee atomicity for more than a disk block, because that's the
> only guarantee from the underlying disks.

I thought UFS and others have a guarantee of atomicity for O_APPEND
writes vis-a-vis other O_APPEND writes up to some write size.  (Of
course, NFS does not have true O_APPEND support, so this wouldn't apply
to NFS.)

Nico
-- 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to