Messages in this thread | | | From | Gregory Giguashvili <> | Subject | RE: O_SYNC option doesn't work (2.4.18-3) | Date | Wed, 7 Aug 2002 21:30:04 +0200 |
| |
>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/
| |