Hi Songtao--
On Sat, 2004-07-17 at 04:40, 林 松涛 wrote:>
> Lustre don''t define the file operation "lock
"(ll_file_lock).
> So Lustre can''t do atomicitical operation now?
The current code does not support POSIX flock mandatory locking, no.
All read() and write() operations are protected by Lustre''s internal
locking, so they are atomic.
> In the lustre llite/file.c, the ll_file_lock is implemented ,but it is
> not linked to
> the file operation struct?
>
> Is there any bugs ?
This is true. This feature has been implemented, but we do not yet have
good tests, so there is a strong possibility that there are bugs. We
will enable this feature when better tests are available.
Thanks--
-Phil