Skip to content

Checkpoint/restart file locks

Sukadev Bhattiprolu containers linux-fsdevel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 4 repliesIn review
  2. v2 RFC3 patches 32 repliesSuperseded
  3. v1 RFC6 patches 0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5: Move file_lock macros into linux/fs.hfs/locks.c include/linux/fs.h+7 -70 replies
2/5: Define flock_set()fs/locks.c include/linux/fs.h+28 -170 replies
3/5: Define flock64_set()fs/locks.c include/linux/fs.h+26 -140 replies
4/5: Checkpoint/restore file-locksfs/checkpoint.c include/linux/checkpoint_hdr.h+320 -150 replies
5/5: Document design of C/R of file-locksDocumentation/checkpoint/file-locks+52 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchOren Laadan
SeriesA-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH 0/5][v5][cr] Checkpoint/restart file locks

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