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 fe4919b426883c881ebd7e0b052b5d3b2509ce44
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 8496482c3747a196f8c93a09c27f7a0fa5b395e3
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 1d957cd11ad98d9279a04e017d6b2737b27b534d
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 162e2e0d65db68ef90661efe0bfb733d95bf3cec
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 6facc5a31c967a90c2385cde30de1b9834db007c
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 37226dd87690f5a0661c7041703df755119b7249
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 c17b8e115a3caa50f87ef7dd3ab9a952861429d1
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 99fd72c4f800602e78d9c20cc8d488caf0040b98
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 ad771104676bc40af034f25bd65834c987395594
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 340dec8367e3f38e184df0b450ff0631ef018da9
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 d659c8807622ba953a751b2bd4b42d04e69de1fc
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 4b5115df8412ef7fd98879b33e1b10db6e35a2b2
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 4baeb34bdad83607b03e930b2704935d7f114d9a
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 9977150c604fa2e31e54498d0e16f93345b2b143
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