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
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.
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
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
===
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
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
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
(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
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
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
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.
11 matches
Mail list logo