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 03ef64e8e2c68ae3ed5f5ba73e6fabaf06b5f45f
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:42:17 2008 -0400
Unionfs: release 2.3.3
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit ad65b993164c54ebd1ace9d29e495b93984e7867
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:18:50 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 6efdd05843ad3c3b2b094158abcfe5cf70d8f4eb
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:18:45 2008 -0400
Unionfs: set lower file to NULL in file_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit e909d52a317843af3adf35847e03802c932fc628
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:18:41 2008 -0400
Unionfs: maintain one-open-file invariant for non-directories
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 077fa034ed49930ac8fbeb9cd26c9638671cda8f
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:18:33 2008 -0400
Unionfs: reorganize file_revalidate for un/locking callers
Also clean up deep nesting/indentation.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 00a10118b25b43ec30ec767aba1c7d6f1b9f0342
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 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 fd82d6eda7101e4f84cd9ef91733c8105bcea4e7
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 2008 -0400
Unionfs: set append offset correctly for copied-up files
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit f6a031c0aed2dc4ce6c025891cc6025b821858c2
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 2008 -0400
Unionfs: don't dereference dentry without lower branches in d_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit c27d1374d804ef597cd986cc0a4cb308523d2033
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 2008 -0400
Unionfs: stop as soon as first writeable branch is found
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit abf3f7cb97cb23a9db35968f8a1b906b6a1f58f9
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 2008 -0400
Unionfs: lock inode around calls to notify_change()
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit a97ca00ee4a2318c36efa003d346a50a424bbf17
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 2008 -0400
Unionfs: copy lower times in fsync/fasync only when needed
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit f1ba358bb90c41b2c54b65ecb30f177b1694bf51
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 2008 -0400
Unionfs: minor code cleanups
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 7a44576290a1cd25e2175962bfcf0606129d0979
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 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 7034dda16266b8ebd14e871fecf069baa409440b
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 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 f95505b1954b77f9631b9b26f8f4f73d4d6010bc
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 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 cb484763185cd091a34f11d465e55874c2e7c293
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:52:03 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