LWN.net Logo

: C/R file owner, locks, leases

From:  Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
To:  Oren Laadan <orenl@cs.columbia.edu>
Subject:  [PATCH 00/16][cr][v3]: C/R file owner, locks, leases
Date:  Tue, 3 Aug 2010 16:11:21 -0700
Message-ID:  <1280877097-12377-1-git-send-email-sukadev@linux.vnet.ibm.com>
Cc:  Serge Hallyn <serge@hallyn.com>, Matt Helsley <matthltc@us.ibm.com>, Dan Smith <danms@us.ibm.com>, John Stultz <johnstul@us.ibm.com>, Matthew Wilcox <matthew@wil.cx>, Jamie Lokier <jamie@shareable.org>, <linux-fsdevel@vger.kernel.org>, Containers <containers@lists.linux-foundation.org>
Archive-link:  Article, Thread

Checkpoint/restart file owner, file-locks and file-lease information.

Changelog[v3]:
	- Broke-up C/R of file-leases patches into smaller patches and included
	  them in this set.
	- Addressed comments from Jamie Lokier, Oren Laadan with help from
	  John Stultz on the computation of time offsets.


Sukadev Bhattiprolu (16):
  Add uid, euid params to f_modown()
  Add uid, euid params to __f_setown()
  Checkpoint file-owner information
  Restore file_owner info
  Move file_lock macros into linux/fs.h
  Checkpoint file-locks
  Define flock_set()
  Define flock64_set()
  Restore file-locks
  Initialize ->fl_break_time to 0
  Add ->fl_type_prev field.
  Add ->fl_break_notified field.
  Add jiffies_begin field to ckpt_ctx
  Checkpoint file-leases
  Define do_setlease()
  Restore file-leases

 drivers/char/tty_io.c            |    3 +-
 drivers/net/tun.c                |    3 +-
 fs/checkpoint.c                  |  410 +++++++++++++++++++++++++++++++++++---
 fs/fcntl.c                       |   19 +-
 fs/locks.c                       |  207 +++++++++++++++-----
 fs/notify/dnotify/dnotify.c      |    3 +-
 include/linux/checkpoint_hdr.h   |   26 +++
 include/linux/checkpoint_types.h |    1 +
 include/linux/fs.h               |   17 ++-
 kernel/checkpoint/sys.c          |    1 +
 10 files changed, 596 insertions(+), 94 deletions(-)

Note: Most of the "added lines" in fs/locks.c are comments about C/R :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds