@Tim Gardner on 2009-04-30:
> @Derek - that patch is already in Jaunty.
>
> static void ext4_mb_add_n_trim(struct ext4_allocation_context *ac)
> ...
> list_for_each_entry_rcu(tmp_pa, &lg->lg_prealloc_list[order],
> pa_inode_list) {
> spin_lock(&tmp_pa->pa_lock);
> if (tmp_pa->pa_deleted) {
> ....
I don't think it is: currently in git://kernel.ubuntu.com/ubuntu/ubuntu-jaunty.git (or is the current Jaunty kernel tree somewhere else?), fs/ext4/mballoc.c reads
@Tim Gardner on 2009-04-30: add_n_trim( struct ext4_allocation _context *ac) each_entry_ rcu(tmp_ pa, &lg->lg_ prealloc_ list[order] , &tmp_pa- >pa_lock) ; >pa_deleted) {
> @Derek - that patch is already in Jaunty.
>
> static void ext4_mb_
> ...
> list_for_
> pa_inode_list) {
> spin_lock(
> if (tmp_pa-
> ....
I don't think it is: currently in git://kernel. ubuntu. com/ubuntu/ ubuntu- jaunty. git (or is the current Jaunty kernel tree somewhere else?), fs/ext4/mballoc.c reads
http:// kernel. ubuntu. com/git? p=ubuntu/ ubuntu- jaunty. git;a=blob; f=fs/ext4/ mballoc. c;h=add854a140a 1c3b0207daaaab0 e92d3cca5bb882; hb=HEAD# l4418
spin_ lock(&tmp_ pa->pa_ lock); >pa_deleted) {
spin_ unlock( &pa->pa_ lock);
continue;
...
if (tmp_pa-
}
...
while in mainline also the latter pa-> is tmp_pa->. Same for the linux-image- 2.6.28- 11-generic 2.6.28-11.42 tarball.
Has anyone tried to reproduce the bug with this change applied?