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

From: Gregory Giguashvili (Gregoryg@ParadigmGeo.com)
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.
Giga
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



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