[RFC] [patch 0/3] i_version update for ext4

2007-01-23 Thread Cordenner jean noel
Hello, I've updated what was previously the change attribute patch for ext4 initially posted by Alexandre Ratchov. The previous patch was introducing a change_attribute field, now it uses the i_version field of the inode. The i_version field is a counter that is set on every inode creation a

[RFC] [patch 1/3] i_version update for ext4: VFS layer

2007-01-23 Thread Cordenner jean noel
This part of the patch concerns the update of the i_version in the VFS layer. Signed-off-by: Jean Noel Cordenner <[EMAIL PROTECTED]> Index: linux-2.6.20-rc5/fs/attr.c === --- linux-2.6.20-rc5.orig/fs/attr.c 2006-11-29 22:57:37.

[RFC] [patch 2/3] i_version update for ext4: ext4 specific code

2007-01-23 Thread Cordenner jean noel
This part of the patch contains the definition of the on-disk i_version field and its update Signed-off-by: Jean Noel Cordenner <[EMAIL PROTECTED]> Index: linux-2.6.20-rc5/fs/ext4/ialloc.c === --- linux-2.6.20-rc5.orig/fs/ext4/iall

[RFC] [patch 3/3] i_version update for ext4: user interface

2007-01-23 Thread Cordenner jean noel
This patch adds a ``st_i_version'' field in the stat structure, and modifies the stat(2) syscall accordingly. Currently the change is only visible on i386 and x86_64 archs. Signed-off-by: Jean Noel Cordenner <[EMAIL PROTECTED]> Index: linux-2.6.20-rc5/fs/stat.c ===

Re: [RFC] [patch 0/3] i_version update for ext4

2007-01-23 Thread Andreas Dilger
On Jan 23, 2007 18:23 +0100, Cordenner jean noel wrote: > I've updated what was previously the change attribute patch for ext4 > initially posted by Alexandre Ratchov. The previous patch was > introducing a change_attribute field, now it uses the i_version field of > the inode. > > The i_versi

Re: [RFC] [patch 2/3] i_version update for ext4: ext4 specific code

2007-01-23 Thread Andreas Dilger
On Jan 23, 2007 18:24 +0100, Cordenner jean noel wrote: > @@ -336,7 +336,7 @@ > #define i_size_highi_dir_acl > > #if defined(__KERNEL__) || defined(__linux__) > -#define i_reserved1osd1.linux1.l_i_reserved1 > +#define ext4_i_version osd1.linux1.l_i_version This naming is inconsistent

Re: [RFC] [patch 3/3] i_version update for ext4: user interface

2007-01-23 Thread Andreas Dilger
On Jan 23, 2007 18:24 +0100, Cordenner jean noel wrote: > This patch adds a ``st_i_version'' field in the stat > structure, and modifies the stat(2) syscall accordingly. Currently the > change is only visible on i386 and x86_64 archs. What is the need for exporting i_version to userspace? Cheer

[PATCH] [RESEND] return ENOENT from ext3_link when racing with unlink

2007-01-23 Thread Eric Sandeen
(resend now that LCA is done) An update from the earlier thread, [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race I think this is better than the original idea of trying to handle the race; I've seen that the orphan inode list can get corrupted, but there may well be ot

+ fix-umask-when-noacl-kernel-meets-extn-tuned-for-acls.patch added to -mm tree

2007-01-23 Thread akpm
The patch titled fix umask when noACL kernel meets extN tuned for ACLs has been added to the -mm tree. Its filename is fix-umask-when-noacl-kernel-meets-extn-tuned-for-acls.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~ak

+ return-enoent-from-ext3_link-when-racing-with-unlink.patch added to -mm tree

2007-01-23 Thread akpm
The patch titled return ENOENT from ext3_link when racing with unlink has been added to the -mm tree. Its filename is return-enoent-from-ext3_link-when-racing-with-unlink.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm

+ return-enoent-from-ext3_link-when-racing-with-unlink-fix.patch added to -mm tree

2007-01-23 Thread akpm
The patch titled return-enoent-from-ext3_link-when-racing-with-unlink-fix has been added to the -mm tree. Its filename is return-enoent-from-ext3_link-when-racing-with-unlink-fix.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.