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 39f929b63e05ca48703f68868b6ff194a94eea8d
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 ff4b49ddffcdd856fbc1d7e6c86e90ff6cbdc6a0
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Sat Jul 21 23:56:16 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]>
Conflicts:
fs/unionfs/file.c
commit ddc89167c048b641f4be04295d88ddc582311599
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 36bdc6e5b8f009564f75329150355a4fcf7d300c
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 5dfc32917c66f0744bb26497b52d8a73f4c7540a
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 c8f1ea3e68402c5b287447b4ca296801da0a0a4c
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 4caa5fd400004c02cc140dc7868a8bf196ec323b
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 f6a09e7923c95ff6d5fd8f1205e11eab77241f97
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 5b4cad31ae3ec4e374e91aa4740b448561df87dc
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 3e3be01ac77c7e359b7d6880083dcb7df2254b1e
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 b63c698400a28e2a8ec03027b9fcec120fa2aa6e
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 f5b24bcd78fa1bece6fba9e66d5e76060c74b7ef
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 efd125364380dc723f5576ba3c9e9d052e922ae0
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 b66a95e0cd4c6399274a61d32d3b387dfcca57b0
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