From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sukadev Bhattiprolu Subject: [PATCH 0/5][v5][cr] Checkpoint/restart file locks Date: Thu, 28 Oct 2010 23:16:36 -0700 Message-ID: <1288333001-28838-1-git-send-email-sukadev@linux.vnet.ibm.com> Cc: Serge Hallyn , Matt Helsley , Dan Smith , Matthew Wilcox , Jamie Lokier , Steven Whitehouse , , Containers To: Oren Laadan Return-path: Received: from e7.ny.us.ibm.com ([32.97.182.137]:39267 "EHLO e7.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752888Ab0J2GJK (ORCPT ); Fri, 29 Oct 2010 02:09:10 -0400 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e7.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o9T5qoow008065 for ; Fri, 29 Oct 2010 01:52:51 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9T690f62388008 for ; Fri, 29 Oct 2010 02:09:00 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o9T68wV6020330 for ; Fri, 29 Oct 2010 02:08:58 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Checkpoint/restart file locks. Changelog[v5]: - This patchset only checkpoints/restores file locks. C/R of file-owner and file-leases will be addressed in follown patches. C/R of file-owner information must deal with nested-containers and, will need a way to C/R struct pids. C/R of file-leases depends on C/R of file-owner information. Sukadev Bhattiprolu (5): Move file_lock macros into linux/fs.h Define flock_set() Define flock64_set() Checkpoint/restore file-locks Document design of C/R of file-locks and leases Documentation/checkpoint/file-locks | 52 ++++++ fs/checkpoint.c | 318 +++++++++++++++++++++++++++++++++-- fs/locks.c | 89 ++++++---- include/linux/checkpoint_hdr.h | 17 ++ include/linux/fs.h | 10 + 5 files changed, 433 insertions(+), 53 deletions(-) create mode 100644 Documentation/checkpoint/file-locks