RE: O_SYNC option doesn't work (2.4.18-3)

From: Gregory Giguashvili (
Date: Wed Aug 07 2002 - 14:30:04 EST

>Only file level locking is permitted. You can only open the
>file IF you get
>the lock. And be sure to close the file before releasing the
>lock. Make sure
>that all accesses to the file use the SAME lock technique.
You need a file descriptor to lock the file, don't you? That's assuming that
you intend to use lockd locking.

>We just don't mix multiple client access to the same file, unless everybody

>is only reading that file.
When the writer closes the file, how do you make the readers see the latest
changes (assuming that you always open/close files per transaction type).

Thanks a lot.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:36 EST