lkml.org 
[lkml]   [2002]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: O_SYNC option doesn't work (2.4.18-3)
Date
>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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.068 / U:1.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site