lkml.org 
[lkml]   [2010]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/6] overlay filesystem prototype
Updated patches follow.

Changes since the last version:

- rename "hybrid union filesystem" to "overlay filesystem" or overlayfs

- added documentation written by Neil

- correct st_dev for directories (reported by Neil)

- use getattr() to get attributes from the underlying filesystems,
this means that now an overlay filesystem itself can be the lower,
read-only layer of another overlay

- listxattr filters out private extended attributes

- get write ref on the upper layer on mount unless the overlay
itself is mounted read-only

- raise capabilities for copy up, dealing with whiteouts and opaque
directories. Now the overlay works for non-root users as well

- "rm -rf" didn't work correctly in all cases if the directory was
copied up between opendir and the first readdir, this is now fixed
(and the directory operations consolidated)

- simplified copy up, this broke optimization for truncate and
open(O_TRUNC) (now file is copied up to be immediately truncated,
will fix)

- st_nlink for merged directories set to 1, this is an "illegal"
value that normal filesystems never have but some use it to
indicate that the number of subdirectories is unknown. Utilities
(find, ...) seem to tolerate this well.

- misc fixes I forgot about

Git tree is here:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs

Thanks,
Miklos


\
 
 \ /
  Last update: 2010-09-03 15:45    [W:0.065 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site