fs/unionfs/Makefile | 2 +-
fs/unionfs/commonfops.c | 250 ++++++++++++++++++++-----------
fs/unionfs/copyup.c | 2 +
fs/unionfs/dentry.c | 4 +-
fs/unionfs/file.c | 152 +++++++++++++++++--
fs/unionfs/inode.c | 43 +++---
fs/unionfs/mmap.c | 381 +++++++++--------------------------------------
fs/unionfs/union.h | 6 +-
8 files changed, 403 insertions(+), 437 deletions(-)
New commits:
commit 4f19e13c4fc0d467f2f7bc0b2c52a1b8975f89fc
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:42:22 2008 -0400
Unionfs: release 2.3.3
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 7b997691ed14da6795af7fb5b529b196eccba404
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:33:26 2008 -0400
Unionfs: lock parent dentry branch config in write
Ensure that branch configuration is available to file_revalidate should a
copyup be required.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit a74bb8f61ac2a6f48e230e1b342dce3ae91de28a
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:33:25 2008 -0400
Unionfs: set lower file to NULL in file_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit a2e800acde4d5da07354ae9e29a3c3d267f8ebbe
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:33:18 2008 -0400
Unionfs: maintain one-open-file invariant for non-directories
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit bb578f88830a0110dea8d2579dbaa0309f281816
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:30:22 2008 -0400
Unionfs: reorganize file_revalidate for un/locking callers
Also clean up deep nesting/indentation.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 092304187de48bc14b7124a7591cf24208af05d4
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 20:22:15 2008 -0400
Unionfs: copyup only if file is being written to
Before, we used to copyup on an open(2) call which used flags implying
writing (O_RDWR, O_WRONLY, O_APPEND). This meant that a file being opened
for writing, then immediately closed (without actually writing to the file),
will still have been copied up. Now, we don't copyup such files in ->open,
but defer the copyup till later. [Bug #591].
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 429f37a2feb86a535e36672d84cea73b4133836d
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:54:44 2008 -0400
Unionfs: set append offset correctly for copied-up files
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 1833952f4be9239b22005193303979e4304b816b
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:54:44 2008 -0400
Unionfs: don't dereference dentry without lower branches in d_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 11ef881c52516dce4f5c9102f081cc1d315eda12
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:54:44 2008 -0400
Unionfs: stop as soon as first writeable branch is found
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit e4bdafccb3c59f0ace69820de4b958d777234ff0
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:54:44 2008 -0400
Unionfs: lock inode around calls to notify_change()
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 5f43a7565b1ff5503052810245650f0c0a840bc2
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:54:44 2008 -0400
Unionfs: copy lower times in fsync/fasync only when needed
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit f8cfcfb06afaf6789603e693b54fdc5badccc84f
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:54:44 2008 -0400
Unionfs: minor code cleanups
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit bced52e2d84fe023e235cf0abef2fe0d02d57815
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 20:21:13 2008 -0400
Unionfs: implement vm_operations->fault
As per recommendations made at LSF'08, a stackable file system which does
not change the data across layers, should try to use vm_operations instead
of address_space_operations. This means we now have to implement out own
->read and ->write methods because we cannot rely on VFS helpers which
require us to have a ->readpage method. Either way there are two caveats:
(1) It's not possible currently to set inode->i_mapping->a_ops to NULL,
because too many code paths expect i_mapping to be non-NULL.
(2) a small/dummy ->readpage is still needed because generic_file_mmap,
which we used in unionfs_mmap, still check for the existence of the
->readpage method. These code paths may have to be changed to remove the
need for readpage().
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 43c70d84f283a98c683a05d397afbea3ce9d04fa
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 20:04:08 2008 -0400
Unionfs: implement sendfile directly
Must implement sendfile, because we can no longer rely on
generic_file_sendfile: it needs the ->readpage address_space_operation
implemented, which we no longer have.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs