Re: O_SYNC only on ext2?

Stephen C. Tweedie (sct@redhat.com)
Mon, 6 Dec 1999 22:39:29 +0000 (GMT)


Hi,

On Wed, 01 Dec 1999 17:24:01 +0000, Jeff Garzik
<jgarzik@mandrakesoft.com> said:

> In fcntl.h (via another MandrakeSoft hacker):
>> open/fcntl - O_SYNC is only implemented on blocks devices
>> and on files located on an ext2 file system

> Is this the case? I thought O_SYNC was independent of particular
> filesystems.

The handling of the O_SYNC flag in the file struct is in the VFS. The
honouring of that flag is up to the individual filesystems themselves.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/