[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Often seeing i_blocks too large after recovery(ies)



According to Andreas Dilger:
> Are you using the EA patches?

No, I've never used those.  I do use quite a few patches from Andrea
Arcangeli and Trond Myklebrust, though.  Here's my current list:


    Andrea <URL:ftp://zeus.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/>:
	00_3.5G-address-space-2
	00_backout-gcc-3_0-patch-1
	00_binfmt-elf-checks-1
	00_blkdev-close-1
	00_blkdev-ulimit-1
	00_block-highmem-all-18b.bz2
	00_flush-inode-reschedule-2
	00_flush_icache_range-1
	00_gcc-30-volatile-xtime-1
	00_lowlatency-fixes-3
	00_lvm-1.0.1-rc4-5.bz2
	00_mmap-enomem-1
	00_module-gfp-5
	00_nanosleep-5
	00_netconsole-2.4.10-C2-2.bz2
	00_ordered-freeing-1
	00_poll-nfds-2
	00_rb-export-1
	00_rcu-poll-3
	00_rwsem-fair-24
	00_rwsem-fair-24-recursive-6
	00_silent-stack-overflow-11
	00_spinlock-cacheline-2
	00_time_vs_gettimeofday-1
	00_vm_raend-race-1
	00_vmalloc-cache-flush-1
	00_vmalloc-tlb-flush-1
	00_x86-sa_interrupt-1
	00_xtime-lock-1
	10_block-highmem-all-18b-2
	10_compiler.h-2
	10_lvm-incremental-2
	10_lvm-snapshot-check-1
	10_lvm-snapshot-hardsectsize-2
	10_no-virtual-2
	10_numa-sched-14
	10_parent-timeslice-8
	10_vm-18
	20_highmem-debug-7
	20_numa-mm-1
	20_share-timeslice-2
	50_uml-patch-2.4.15-3.bz2
	51_uml-ac-to-aa-5
	54_uml-sa_interrupt-1
	60_atomic-alloc-6
	60_atomic-lookup-5
	60_net-exports-1
	60_pagecache-atomic-3

Trond <URL:http://www.fys.uio.no/~trondmy/src/>:
	2.4.15/linux-2.4.15-NFS_ALL.dif

other:
	pats/ext3-balance-1
	pats/ext3-flush-1

I'm attaching the latter patches, which I got from this list.
-- 
Chip Salzenberg       - a.k.a. -       <chip pobox com>
       "Men of lofty genius are most active
        when they are doing the least work."
                           -- Leonardo da Vinci
Index: fs/jbd/commit.c
--- fs/jbd/commit.c.old	Thu Nov 29 15:14:30 2001
+++ fs/jbd/commit.c	Thu Nov 29 15:14:33 2001
@@ -650,5 +650,10 @@
 			__journal_insert_checkpoint(jh, commit_transaction);
 			JBUFFER_TRACE(jh, "refile for checkpoint writeback");
+			get_bh(bh);
 			__journal_refile_buffer(jh);
+			spin_unlock(&journal_datalist_lock);
+			ll_rw_block(WRITE, 1, &bh);
+			put_bh(bh);
+			spin_lock(&journal_datalist_lock);
 		} else {
 			J_ASSERT_BH(bh, !buffer_dirty(bh));
Index: fs/jbd/commit.c
--- fs/jbd/commit.c.old	Fri Nov  9 14:25:04 2001
+++ fs/jbd/commit.c	Thu Nov 29 15:14:30 2001
@@ -660,4 +660,5 @@
 		}
 		spin_unlock(&journal_datalist_lock);
+		balance_dirty();
 	}
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]