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 77bbf5c2f8e34e791309b7e357dc906763b7dc74
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:42:07 2008 -0400
Unionfs: release 2.3.3
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 02f2cd98ed2590a1acb0acddae5d408b9810c4a7
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:15:58 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 81b3a57f4d6b7c290ad21532226c1973f229f5a8
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:15:50 2008 -0400
Unionfs: set lower file to NULL in file_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 18c7425d53ab8570bb09e8ccd1d60613e437f18f
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:15:42 2008 -0400
Unionfs: maintain one-open-file invariant for non-directories
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 549fba951e8ca3ac2db776972ea9d486b70f9f9b
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Wed Apr 23 19:15:17 2008 -0400
Unionfs: reorganize file_revalidate for un/locking callers
Also clean up deep nesting/indentation.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 36579308a84929efbbc32d0b9f6a7b164bccf092
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 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 4ea4f45c1fd2a5289c74802b3bd836b24b25d401
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 2008 -0400
Unionfs: set append offset correctly for copied-up files
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit a1bc804ad6f7564a54b7aca6b1556ee3d332024e
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 2008 -0400
Unionfs: don't dereference dentry without lower branches in d_release
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit f35814a95235ac12e300cb6d0128b95b9bd4068f
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 2008 -0400
Unionfs: stop as soon as first writeable branch is found
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 44de0bc2ad9d5524848a6077e1c0b27f7fff64ec
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 2008 -0400
Unionfs: lock inode around calls to notify_change()
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 32edd0efda353acd2f51680f213a9916b1e34acf
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 2008 -0400
Unionfs: copy lower times in fsync/fasync only when needed
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 3877db7c1aaac1b0d8f53dea97ef1dffc37e81a5
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 2008 -0400
Unionfs: minor code cleanups
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 6c348fc12faab7873c5ba33f8654b52035b8720c
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 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 2732b5b4e8e234bb1e3b0fbb00c158b0d6e6c5c7
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 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 b01e0b3c06157377523176c41ec1e57be22a7017
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 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 a464ceed25f8f44cc942252627fcd7003162db42
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Apr 15 19:45:42 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