Whamcloud - gitweb
b=22514 kernel update for rhel5.5 & oel5.5.
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-inode-version-rhel5.patch
index 206e159..42b5ce7 100644 (file)
@@ -37,10 +37,10 @@ Index: linux-2.6.18-128.1.6/fs/ext4/inode.c
                raw_inode->i_extra_isize = cpu_to_le16(ei->i_extra_isize);
        }
  
-Index: linux-2.6.18-128.1.6/fs/ext4/ext4_i.h
+Index: linux-2.6.18-128.1.6/fs/ext4/ext4.h
 ===================================================================
---- linux-2.6.18-128.1.6.orig/fs/ext4/ext4_i.h
-+++ linux-2.6.18-128.1.6/fs/ext4/ext4_i.h
+--- linux-2.6.18-128.1.6.orig/fs/ext4/ext4.h
++++ linux-2.6.18-128.1.6/fs/ext4/ext4.h
 @@ -21,6 +21,8 @@
  #include <linux/seqlock.h>
  #include <linux/mutex.h>
@@ -51,22 +51,22 @@ Index: linux-2.6.18-128.1.6/fs/ext4/ext4_i.h
  typedef int ext4_grpblk_t;
  
 @@ -164,6 +166,8 @@ struct ext4_inode_info {
-       spinlock_t i_prealloc_lock;
-       void *i_filterdata;
+       struct list_head i_aio_dio_complete_list;
+       /* current io_end structure for async DIO write*/
+       ext4_io_end_t *cur_aio_dio;
 +
 +      __u64 i_fs_version;
  };
  
- #endif        /* _EXT4_I */
+ /*
 Index: linux-2.6.18-128.1.6/fs/ext4/ialloc.c
 ===================================================================
 --- linux-2.6.18-128.1.6.orig/fs/ext4/ialloc.c
 +++ linux-2.6.18-128.1.6/fs/ext4/ialloc.c
 @@ -878,6 +878,7 @@ got:
-       ei->i_dtime = 0;
        ei->i_block_alloc_info = NULL;
        ei->i_block_group = group;
+       ei->i_last_alloc_group = ~0;
 +      ei->i_fs_version = 0;
  
        ext4_set_inode_flags(inode);