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 9df51e67206fa006aa3bf5586d5638faa8da2eca
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:42:02 2008 -0400
Unionfs: release 2.3.3
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit cedcb8d2da743cb0dd5f49f85f3f37b8b47efdb2
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:15:45 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 4ec4a37201774cae3d7f943a7bc776964cbeb3c8
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:15:37 2008 -0400
Unionfs: set lower file to NULL in file_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit ce48a86b0e3844af35fd6136d29f90a44c392d5a
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:15:24 2008 -0400
Unionfs: maintain one-open-file invariant for non-directories
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 72feeac7dba8ea99b37e98a1c12842360ebf9466
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:14:58 2008 -0400
Unionfs: reorganize file_revalidate for un/locking callers
Also clean up deep nesting/indentation.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit e6a3fc9e10333dc52dfcd7386d436ecf925f6617
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 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 10778b6f44a6955634433dd82a703d88a6bc7a4f
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 2008 -0400
Unionfs: set append offset correctly for copied-up files
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit fb85ef2309b4639da011f066211da95236d5162c
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 2008 -0400
Unionfs: don't dereference dentry without lower branches in d_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 8da816c902bfcd8cbc696b906d443d197327a604
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 2008 -0400
Unionfs: stop as soon as first writeable branch is found
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 86543498df560e8d679be1cd6fc13a2613cde685
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 2008 -0400
Unionfs: lock inode around calls to notify_change()
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 20e4f3873f28727427f33b9e15848dd3ab69bcaa
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 2008 -0400
Unionfs: copy lower times in fsync/fasync only when needed
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit ffb31961e9c4ac28bdae9a8416654be6539cede0
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 2008 -0400
Unionfs: minor code cleanups
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit c345b6294777409ade2390f441757ed70eef545b
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:18 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 c690364d2be569dc86ba84a4997995357ac47709
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 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 6a55f35768492386332a2355ba8a84599b568176
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:08:44 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 e39d2aae4ace768320d64a8ecb6f706458f3bb72
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:35:30 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