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 de0d48a987dfc3f5fcce40fa308435c5ca605789
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 f8d8cb13b7b2ca0aa633f520e72e406d8d8ba7d6
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 6e81ff7c555402dd884ee4284ae1796e16ca0876
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 cbbc3fa6ba265258240212e490a8ffe9d4cf963f
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 8655f4cbd694d0bc181871d5418e6b5086a5183d
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 74caa67deb932709f1a6553f1a53a0d9926cce2b
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 853219580e702af7680e344892148ba96d7c4235
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 8803232e73339a125932b26d930f56f13c5a39e1
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 edd1c73dab46bd152075f9e3d3b9dfd5797d672e
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 3de927b8d798f67a540f206ffb9e883f2d86541b
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 4273627d08fcd705ad9c468802754b79d471165e
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 e5e5d6f8a2bc2c0c901e080dc6e37f7e0a8dae74
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 4d2dfbd57ef21eb5c879ef2213dbcde80bdecc7a
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 9179abb6c8281647ec02333021e4e49db1392c5f
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