From: girish Date: Thu, 28 May 2009 07:04:44 +0000 (+0000) Subject: b=19625 X-Git-Tag: v1_8_0_123~12 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c2419a2b706605f94996aeff4cd176d99fa00445;p=fs%2Flustre-release.git b=19625 i=adilger i=johann fix journal callback patch hunk --- diff --git a/lustre/kernel_patches/patches/jbd2-jcberr-2.6-sles11.patch b/lustre/kernel_patches/patches/jbd2-jcberr-2.6-sles11.patch index 38555bb..18ba3e0 100644 --- a/lustre/kernel_patches/patches/jbd2-jcberr-2.6-sles11.patch +++ b/lustre/kernel_patches/patches/jbd2-jcberr-2.6-sles11.patch @@ -103,9 +103,9 @@ Index: linux-2.6.27.21-0.1/fs/jbd2/commit.c =================================================================== --- linux-2.6.27.21-0.1.orig/fs/jbd2/commit.c +++ linux-2.6.27.21-0.1/fs/jbd2/commit.c -@@ -928,6 +928,30 @@ restart_loop: - - /* Done with this transaction! */ +@@ -805,6 +805,30 @@ wait_for_iobuf: + transaction can be removed from any checkpoint list it was on + before. */ + /* + * Call any callbacks that had been registered for handles in this @@ -131,9 +131,9 @@ Index: linux-2.6.27.21-0.1/fs/jbd2/commit.c + } + spin_unlock(&commit_transaction->t_jcb_lock); + - jbd_debug(3, "JBD: commit phase 7\n"); + jbd_debug(3, "JBD: commit phase 6\n"); - J_ASSERT(commit_transaction->t_state == T_COMMIT); + J_ASSERT(list_empty(&commit_transaction->t_inode_list)); Index: linux-2.6.27.21-0.1/fs/jbd2/journal.c =================================================================== --- linux-2.6.27.21-0.1.orig/fs/jbd2/journal.c