fs/splice.c | 22 ++--
fs/unionfs/Makefile | 2 +-
fs/unionfs/commonfops.c | 248 +++++++++++++++++++-----------
fs/unionfs/copyup.c | 2 +
fs/unionfs/dentry.c | 4 +-
fs/unionfs/file.c | 214 ++++++++++++++++++++++++--
fs/unionfs/inode.c | 43 +++---
fs/unionfs/mmap.c | 386 +++++++++--------------------------------------
fs/unionfs/union.h | 6 +-
include/linux/fs.h | 5 +
10 files changed, 480 insertions(+), 452 deletions(-)
New commits:
commit d2bbe3e058d2bbaecc9d0c04ef5083db3e56e859
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:42:12 2008 -0400
Unionfs: release 2.3.3
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit faae7280408e3516495d0fa6e8dc63ca7456fdae
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:17:40 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 0a05b2351049106e2bb79f70e03cbd0476ff37cf
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:17:32 2008 -0400
Unionfs: set lower file to NULL in file_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 00141e3e3ec6ff8fcf4620cb94cb4e33d1ee9022
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:17:25 2008 -0400
Unionfs: maintain one-open-file invariant for non-directories
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 1d869fa896c1da17d8ec65751318210c59e0977a
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:17:05 2008 -0400
Unionfs: reorganize file_revalidate for un/locking callers
Also clean up deep nesting/indentation.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 534effbc6e67612d21d3992eb0629bb76feaf493
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 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 6535c6ab81b169c29f8f32f5b67a34279f2f6979
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 2008 -0400
Unionfs: set append offset correctly for copied-up files
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 0b13a42692689fbd68628b452ace6d6f065b4912
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 2008 -0400
Unionfs: don't dereference dentry without lower branches in d_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 6990e2418a18ad4b8e4c2faa12f0974370f5ae9d
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 2008 -0400
Unionfs: stop as soon as first writeable branch is found
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 8675026689a8ce287e5064f21e02f5dacbe19968
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 2008 -0400
Unionfs: lock inode around calls to notify_change()
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 918741660eac38dc613af0cf3f00a1548662441e
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 2008 -0400
Unionfs: copy lower times in fsync/fasync only when needed
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit e9cfc87337d6bea756dd08413cb9750376961bd7
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 2008 -0400
Unionfs: minor code cleanups
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 0e475afd4f2dc782a134d63c27815763083f42d7
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 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 ff82017c6e4b221bf1bf81d96f83aa2f5a7b80f9
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 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]>
commit d5bc7a9dcf2d16b5773fff136f2ca44cde8d5041
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 2008 -0400
Unionfs: implement splice_read/write methods directly
Must implement splice_read/write directly, using VFS helpers, because we can
no longer rely on generic_file_splice_read/write: they need
address_space_operations implemented, which we no longer have.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 776f11c0fe600a00e99ab156109e5c7282a17b29
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:49:51 2008 -0400
VFS: rename do_splice_to/from to vfs_splice_* and export symbols
A stackable file system which uses vm_ops->fault, and does not implement
address_space_operations, cannot use generic_file_splice_read/write, but has
to implement ->splice_read/write itself. These two helper functions are
very useful to such a module.
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