Documentation/filesystems/unionfs/usage.txt | 2 +-
fs/unionfs/commonfops.c | 20 +++++-
fs/unionfs/debug.c | 26 +++++++-
fs/unionfs/dentry.c | 4 +-
fs/unionfs/dirfops.c | 2 +
fs/unionfs/fanout.h | 2 +-
fs/unionfs/file.c | 95 ++++++++++++++++++++++++++-
fs/unionfs/mmap.c | 49 +++++++++++---
fs/unionfs/super.c | 4 +-
fs/unionfs/union.h | 8 ++
10 files changed, 193 insertions(+), 19 deletions(-)
New commits:
commit b826e830bf5317fd244c595c9c0e7f0aa464de4c
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Sun Jul 22 01:10:45 2007 -0400
Unionfs: ensure cache coherency in unionfs_fsync/fasync
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit cd99520ac2c1e3df1410d5cf3bc7cd2c5de2f9e5
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Sat Jul 21 23:47:01 2007 -0400
Unionfs: implement native unionfs_fsync/unionfs_fasync methods
Unionfs is not a block-based file system, but it has to work with both
block-based file systems and non-block-based ones (i.e., when
CONFIG_BLOCK=n). We used to define our ->fsync method to file_fsync, but
that's wrong because file_fsync partially depends on CONFIG_BLOCK=y. And we
didn't define an fasync method: now we have both. Moreover, at best,
file_fsync would have caused unionfs to sync up one lower branch---but as a
fanout file system, we need to sync up all valid lower branches.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit ce7c15dc6082d1b7f715dd6b189ad7e3e6739b89
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Sat Jul 21 20:22:38 2007 -0400
Unionfs: small documentation fix to usage.txt
Reported by Daniel Farrugia.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit bc0f45e57f8c5ea1fc02ca51bb7be5a20873650f
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Sat Jul 21 02:44:32 2007 -0400
Unionfs: mmap fixes to ->writepage/readpage/sync_page
unionfs_writepage: handle true errors differently from
AOP_WRITEPAGE_ACTIVATE conditions returned by lower file systems (such as
tmpfs).
unionfs_readpage: call flush_dcache_page as required.
unionfs_sync_page: don't call grab_cache_page to get the lower page, because
that function does too much and could lead to deadlocks. Instead, call the
lighter-weight find_lock_page.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 2fdb5d1202518dcc6c70e2eac473d958fd460617
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Sat Jul 21 02:38:14 2007 -0400
Unionfs: branch-management bugfix to unionfs_file_revalidate
If we re-opened the file on a different branch than the original one, and
only if this was due to a new branch inserted, then update the mnt counts of
the old and new branches accordingly.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 9c60c51a69c6dd141bd1e2a747e1750ab157f8b6
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Tue Jul 17 03:18:25 2007 -0400
Unionfs: cleanup: break line longer than 80 chars
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit b698575f0b665a47863f5c3dd756257e0b1dfffa
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Tue Jul 17 02:58:15 2007 -0400
Unionfs: fix minor typo in revalidate_chain comment
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit f89d5f68b78770eb6afc82e458dc783230604709
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Mon Jul 16 23:56:26 2007 -0400
Unionfs: bugfix: don't call branchget() until dentry_open succeeded
If dentry_open fails, we incorrectly have incremented our branch counts
which would prevent unionfs from being unmounted (EBUSY).
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 806315fd800aa061b2f797594cd34e232f4cfbae
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Mon Jul 16 23:54:11 2007 -0400
Unionfs: branch-management bug-fix to lower mnt counts
When we revalidate opened files, the files may point to a different set of
files on the lower branches: this could happen especially if we insert a new
leftmost branch which happens to have duplicate file names of already-open
files in lower-priority branches. In this case, update the mnt counts of
the old and new branches which hold the file accordingly. Without this fix,
the mntcnt of one branch is going to be one too high; and another will be
one too low.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 1ad2ba70a98620eb1b20e12559ee3e1d36ff1ea1
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Mon Jul 16 23:45:46 2007 -0400
Unionfs: use igrab instead of atomic_inc inode refcnt
In branch management code, use igrab() which is better than directly
incrementing the lower inode reference count.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 88c17fdb665a35d0bedeaa1ab94f7b12d1197902
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Mon Jul 16 23:42:55 2007 -0400
Unionfs: cache-coherency: update times of root inode after branch management
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 190ad0e43da60e20dff31047011fe94e920b2b5c
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Mon Jul 16 23:40:07 2007 -0400
Unionfs: debugging: don't oops if sb->s_root is NULL
If we're calling show_branch_counts very early during mount or late during
unmount, don't oops if the s_root is already NULL.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit e70a0799a04b5b2d8e56130c0e22addb7145c623
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Mon Jul 16 23:38:30 2007 -0400
Unionfs: debugging: show inode reference counts for all branches
Another useful utility function for debugging, to show the inode refcnt's
of all lower inodes.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
commit 732dc6217cc17267a94c6b8f0103ab1f6bf5885c
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Mon Jul 16 23:35:19 2007 -0400
Unionfs: fix small typo in comment
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