linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/17][cr][v4]: C/R file owner, locks, leases
@ 2010-08-16 19:43 Sukadev Bhattiprolu
  2010-08-16 19:43 ` [PATCH 01/17][cr][v4]: Add uid, euid params to f_modown() Sukadev Bhattiprolu
                   ` (16 more replies)
  0 siblings, 17 replies; 23+ messages in thread
From: Sukadev Bhattiprolu @ 2010-08-16 19:43 UTC (permalink / raw)
  To: Oren Laadan
  Cc: Serge Hallyn, Matt Helsley, Dan Smith, John Stultz,
	Matthew Wilcox, Jamie Lokier, Steven Whitehouse, linux-fsdevel,
	Containers

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

See Documentation/checkpoint/file-locks added by patch 17/17 for design
and file-system consistency requirements.

Changelog[v4]:

	- [Oren Laadan, Steven Whitehouse]: Document design and fs consistency
	  requirements.
	- [Oren Laadan]: For consistency with other such objects, replace
	  the "marker lock" checkpoint with a checkpoint of a count of the
	  file-locks before the first file-lock of each file.

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 (17):
  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
  Document design of C/R of file-locks and leases

 Documentation/checkpoint/file-locks |  126 ++++++++++
 drivers/char/tty_io.c               |    3 +-
 drivers/net/tun.c                   |    3 +-
 fs/checkpoint.c                     |  468 ++++++++++++++++++++++++++++++++---
 fs/fcntl.c                          |   19 +-
 fs/locks.c                          |  207 ++++++++++++----
 fs/notify/dnotify/dnotify.c         |    3 +-
 include/linux/checkpoint_hdr.h      |   25 ++
 include/linux/checkpoint_types.h    |    1 +
 include/linux/fs.h                  |   17 ++-
 kernel/checkpoint/sys.c             |    1 +
 11 files changed, 779 insertions(+), 94 deletions(-)
 create mode 100644 Documentation/checkpoint/file-locks

NOTE: Most of the "added lines" in fs/locks.c are comments about C/R :-)

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2010-09-17  0:08 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-16 19:43 [PATCH 00/17][cr][v4]: C/R file owner, locks, leases Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 01/17][cr][v4]: Add uid, euid params to f_modown() Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 02/17][cr][v4]: Add uid, euid params to __f_setown() Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 03/17][cr][v4]: Checkpoint file-owner information Sukadev Bhattiprolu
     [not found]   ` <1281987801-1293-4-git-send-email-sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2010-09-16 23:34     ` Oren Laadan
2010-08-16 19:43 ` [PATCH 04/17][cr][v4]: Restore file_owner info Sukadev Bhattiprolu
2010-09-16 23:45   ` Oren Laadan
2010-08-16 19:43 ` [PATCH 05/17][cr][v4]: Move file_lock macros into linux/fs.h Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 06/17][cr][v4]: Checkpoint file-locks Sukadev Bhattiprolu
2010-09-17  0:03   ` Oren Laadan
2010-08-16 19:43 ` [PATCH 07/17][cr][v4]: Define flock_set() Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 08/17][cr][v4]: Define flock64_set() Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 09/17][cr][v4]: Restore file-locks Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 10/17][cr][v4]: Initialize ->fl_break_time to 0 Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 11/17][cr][v4]: Add ->fl_type_prev field Sukadev Bhattiprolu
2010-09-17  0:06   ` Oren Laadan
2010-08-16 19:43 ` [PATCH 12/17][cr][v4]: Add ->fl_break_notified field Sukadev Bhattiprolu
2010-09-17  0:07   ` Oren Laadan
2010-08-16 19:43 ` [PATCH 13/17][cr][v4]: Add jiffies_begin field to ckpt_ctx Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 14/17][cr][v4]: Checkpoint file-leases Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 15/17][cr][v4]: Define do_setlease() Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 16/17][cr][v4]: Restore file-leases Sukadev Bhattiprolu
2010-08-16 19:43 ` [PATCH 17/17][cr][v4]: Document design of C/R of file-locks and leases Sukadev Bhattiprolu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).