linux-fsdevel mailing list

FromSubjectsort iconDate
Steve Dickson
[PATCH] NFS: Stop sillyname renames and unmounts from racing
The following patch stops NFS sillyname renames and umounts from racing. I have a test script does the following: 1) start nfs server 2) mount loopback 3) open file in background 4) remove file 5) stop nfs server 6) kill -9 process which has file open 7) restart nfs server 8) umount looback mount. After umount I got the "VFS: Busy inodes after unmount" message because the processing of the rename has not finished. Below is a patch that the ...
Nov 3, 4:09 am 2007
Erez Zadok
[PATCH 1/8] Unionfs: delete whiteouts in sticky directories
This is needed to maintain Unix semantics. Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> --- fs/unionfs/inode.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 6ca52f4..f4facf4 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -90,6 +90,23 @@ static int unionfs_create(struct inode *parent, struct dentry *dentry, err = vfs_unlink(lower_dir_dentry->d_inode, wh_dentry); ...
Nov 2, 6:22 pm 2007
Erez Zadok
[PATCH 5/8] Unionfs: avoid a deadlock during branch-mana ...
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> Acked-by: Herton Ronaldo Krzesinski <herton@mandriva.com> --- fs/unionfs/union.h | 39 +++++++++++++++++++++++++++++++++------ 1 files changed, 33 insertions(+), 6 deletions(-) diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h index 6333488..0476f97 100644 --- a/fs/unionfs/union.h +++ b/fs/unionfs/union.h @@ -142,11 +142,18 @@ struct unionfs_sb_info { * This rwsem is used to make sure that a branch management * operation... * ...
Nov 2, 6:22 pm 2007
Erez Zadok
[PATCH 8/8] Unionfs/VFS: no need to export 2 symbols in ...
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> --- security/security.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/security/security.c b/security/security.c index 95a6733..0e1f1f1 100644 --- a/security/security.c +++ b/security/security.c @@ -409,7 +409,6 @@ int security_inode_permission(struct inode *inode, int mask, struct nameidata *n return 0; return security_ops->inode_permission(inode, mask, nd); } -EXPORT_SYMBOL(security_inode_permission); int ...
Nov 2, 6:22 pm 2007
Erez Zadok
[PATCH 2/8] Unionfs: cleanup permission checking code
Use vfs helpers and avoid redundant checks performed by the VFS already. Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> --- fs/unionfs/commonfops.c | 4 --- fs/unionfs/inode.c | 70 +++++++++-------------------------------------- 2 files changed, 13 insertions(+), 61 deletions(-) diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c index 7654bcb..50e5775 100644 --- a/fs/unionfs/commonfops.c +++ b/fs/unionfs/commonfops.c @@ -669,10 +669,6 @@ static long do_ioctl(struct ...
Nov 2, 6:22 pm 2007
Erez Zadok
[GIT PULL -mm] 0/8 Unionfs updates/cleanups/fixes
The following is a series of patches related to Unionfs. The main change here is that we dropped ->sync_page and rewritten ->writepage. These patches were tested (where appropriate) on Linus's 2.6.24 latest code (as of v2.6.24-rc1-521-g54866f0), as well as the backports to 2.6.{23,22,21,20,19,18,9} on ext2/3/4, xfs, reiserfs, nfs2/3/4, jffs2, ramfs, tmpfs, cramfs, and squashfs (where available). See http://unionfs.filesystems.org/ to download backported unionfs code. Please pull from the ...
Nov 2, 6:22 pm 2007
Erez Zadok
[PATCH 7/8] Unionfs: don't printk an error if it's due t ...
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> --- fs/unionfs/inode.c | 9 +++++---- fs/unionfs/rename.c | 2 +- fs/unionfs/subr.c | 8 ++++++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 169365c..bcefe45 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -465,10 +465,11 @@ static int unionfs_symlink(struct inode *dir, struct dentry *dentry, if (!lower_dentry || IS_ERR(lower_dentry)) { if ...
Nov 2, 6:22 pm 2007
Erez Zadok
[PATCH 4/8] Unionfs: mmap updates
Rewrite unionfs_writepage to minimize dependence on AOP_WRITEPAGE_ACTIVEATE, handle memory pressure better, and update documentation. Remove unionfs_sync_page because it's not needed. CC: Hugh Dickins <hugh@veritas.com> CC: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> --- fs/unionfs/mmap.c | 156 ++++++++++++++++++++-------------------------------- 1 files changed, 60 insertions(+), 96 deletions(-) diff --git a/fs/unionfs/mmap.c ...
Nov 2, 6:22 pm 2007
Erez Zadok
[PATCH 6/8] Unionfs: don't bother validating inode if it ...
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> --- fs/unionfs/debug.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/debug.c b/fs/unionfs/debug.c index 894bf7c..0066ccd 100644 --- a/fs/unionfs/debug.c +++ b/fs/unionfs/debug.c @@ -49,6 +49,9 @@ void __unionfs_check_inode(const struct inode *inode, sb = inode->i_sb; istart = ibstart(inode); iend = ibend(inode); + /* don't check inode if no lower branches */ + if (istart < 0 && iend < ...
Nov 2, 6:22 pm 2007
Erez Zadok
[PATCH 3/8] Unionfs: update usage.txt documentation
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu> --- Documentation/filesystems/unionfs/usage.txt | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/Documentation/filesystems/unionfs/usage.txt b/Documentation/filesystems/unionfs/usage.txt index d8c15de..a6b1aca 100644 --- a/Documentation/filesystems/unionfs/usage.txt +++ b/Documentation/filesystems/unionfs/usage.txt @@ -74,6 +74,23 @@ to read-write, and change /bar from read-write to read-only: # mount ...
Nov 2, 6:22 pm 2007
Greg KH
Re: [PATCH] 9p: basic sysfs support
Ah, ok. I don't know your projected time frame for this patch series, but if it's for 2.6.25, you might want to look at the set of patches I just sent to lkml to help make files like this easier to create thanks to the great work from Kay Sievers. thanks, greg k-h -
Nov 2, 5:18 pm 2007
Christoph Lameter
Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers
SLUB gathers statistics and summaries and displays them on read. -
Nov 3, 11:22 am 2007
Greg KH
Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers
Traditionally sysfs has not been used for "configuration" stuff like this, as that is what configfs is for. Also, a sysfs file that causes an action to happen just by reading the file is not a safe thing to have. Lots of scripts have been known to just walk the whole sysfs tree and open and read everything they can for no real good reason. So you should seriously reconsider this kind of What's wrong with the __ATTR macro? Using a "raw" struct attribute {sigh} Yes, the kernel ...
Nov 2, 8:48 pm 2007
Peter Zijlstra
Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers
Christoph, doesn't SLUB do exactly that? -
Nov 3, 3:33 am 2007
Jeremy Allison
Large SMBwriteX testing.
Hi Steve, I've finished adding the ability for smbd to support up to 16MB writeX calls in the latest git 3.2 tree. To enable, set the parameter : min receivefile size = XXX where XXX is the smallest writeX you want to handle with recvfile. The linux kernel doesn't yet support zerocopy from network to file (ie. splice only works one way currently) so it's emulated in userspace (with a 128k staging buffer) for now. Also it must be an unsigned connection (for obvious reasons). Once ...
Nov 2, 5:43 pm 2007
previous daytodaynext day
November 2, 2007November 3, 2007November 4, 2007