[Devel] Re: [RFC][cr][PATCH 4/6] Restore file-locks
Matt Helsley
matthltc at us.ibm.com
Tue May 4 19:49:22 PDT 2010
On Tue, May 04, 2010 at 06:44:41PM -0700, sukadev at linux.vnet.ibm.com wrote:
> From: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
>
> Restore POSIX file-locks of an application from its checkpoint image.
>
> Read the saved file-locks from the checkpoint image and for each POSIX
> lock, call flock_set() to set the lock on the file.
>
> As pointed out by Matt Helsley, no special handling is necessary for a
> process P2 in the checkpointed container that is blocked on a lock, L1
Which was inspired by Dave Hansen's explanation of c/r of futex locking :).
Cheers,
-Matt
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list