[Lustre-discuss] Lustre file access / locking

Daniel Kobras kobras at linux.de
Thu Jul 1 06:19:21 PDT 2010


Hi!

On Thu, Jul 01, 2010 at 12:35:32PM +0200, Arne Wiebalck wrote:
> I got some basic questions concerning how file access in Lustre
> works: from what I understand, Lustre clients lock file
> ranges with the server before executing I/O operations. What
> does a client get on its next I/O call in case the server needs
> to revoke the lock (the server can do that, right?): does
> the client try to re-acquire the lock, block and then time
> out (in case the server does not grant the lock again to that
> client)?

The locks protect the client-side caches, not the actual I/O. If a lock is
dequeued, the client has to resynchronize (affected parts of) its cache with
the server.

Regards,

Daniel.




More information about the lustre-discuss mailing list