From: Oren Laadan Subject: [Patch 0/2] Checkpoint and restart of file locks Date: Mon, 10 Jan 2011 20:37:03 -0500 Message-ID: <1294709825-23357-1-git-send-email-orenl@cs.columbia.edu> References: <1288333001-28838-1-git-send-email-sukadev@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1288333001-28838-1-git-send-email-sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Cc: Sukadev Bhattiprolu List-Id: containers.vger.kernel.org The following two patches add c/r support for POSIX file locks. They are based on the series posted by Suka some time ago: https://lists.linux-foundation.org/pipermail/containers/2010-October/025855.html Suka: When I read your post I thought that boht posix and flock were supported, but looking at the code I saw only posix. Am I missing anything ? Also, I'm not sure that all the input is well sanitized during restart - for example, the possible values for the lock flags. Any thoughts ? Lastly, do you have test cases to run against this patch and test it ? Thanks, Oren.